openmeld 0.3.210 → 0.3.211
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-BgDujS4W.js → add-me-membership-CNgO595N.js} +2 -2
- package/dist/{add-me-membership-BgDujS4W.js.map → add-me-membership-CNgO595N.js.map} +1 -1
- package/dist/{agents-DdYL--Rj.js → agents-CGBELT4J.js} +10 -10
- package/dist/{agents-DdYL--Rj.js.map → agents-CGBELT4J.js.map} +1 -1
- package/dist/{api-client-foundation--H_ib5Vh.js → api-client-foundation-CtQTtA4m.js} +1 -1
- package/dist/{api-client-foundation-CQsXMqnr.js → api-client-foundation-MJK8vWfn.js} +3 -3
- package/dist/{api-client-foundation-CQsXMqnr.js.map → api-client-foundation-MJK8vWfn.js.map} +1 -1
- package/dist/{auth-session-CVxflepT.js → auth-session-CB7m-csh.js} +2 -2
- package/dist/{auth-session-CVxflepT.js.map → auth-session-CB7m-csh.js.map} +1 -1
- package/dist/auth-session-DXJq5arz.js +4 -0
- package/dist/{command-DNIZzJuu.js → command-oQK6PG6b.js} +8 -8
- package/dist/{command-DNIZzJuu.js.map → command-oQK6PG6b.js.map} +1 -1
- package/dist/{computer-connection-TgsnU0K9.js → computer-connection-51dg6Tq0.js} +2 -2
- package/dist/{computer-connection-TgsnU0K9.js.map → computer-connection-51dg6Tq0.js.map} +1 -1
- package/dist/{computer-connection-review-DqJTijzX.js → computer-connection-review-CiIyTeDw.js} +6 -6
- package/dist/{computer-connection-review-DqJTijzX.js.map → computer-connection-review-CiIyTeDw.js.map} +1 -1
- package/dist/{computer-setup-continuation-DFUxl9kf.js → computer-setup-continuation-CeFPluYv.js} +4 -4
- package/dist/{computer-setup-continuation-DFUxl9kf.js.map → computer-setup-continuation-CeFPluYv.js.map} +1 -1
- package/dist/{daemon-service-runtime-D7cb3-Ov.js → daemon-service-runtime-D8KrOfSV.js} +2 -2
- package/dist/{daemon-service-runtime-D7cb3-Ov.js.map → daemon-service-runtime-D8KrOfSV.js.map} +1 -1
- package/dist/dist-DajKOXDk.js +4 -0
- package/dist/{dist-Ccbpt6rT.js → dist-DtykdMlN.js} +238 -12
- package/dist/dist-DtykdMlN.js.map +1 -0
- package/dist/{elapsed-time-B2UGqUlR.js → elapsed-time-BE9NPM-x.js} +4 -4
- package/dist/{elapsed-time-B2UGqUlR.js.map → elapsed-time-BE9NPM-x.js.map} +1 -1
- package/dist/{installation-inventory-DJiJh9nP.js → installation-inventory-CLBwkIf6.js} +3 -3
- package/dist/{installation-inventory-DJiJh9nP.js.map → installation-inventory-CLBwkIf6.js.map} +1 -1
- package/dist/{openmeld-BqTI30JS.js → openmeld-LADiOJ3_.js} +219 -19
- package/dist/openmeld-LADiOJ3_.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DeOu5U2Q.js → openmeld-maintenance-worker-B-u1CItK.js} +5 -5
- package/dist/{openmeld-maintenance-worker-DeOu5U2Q.js.map → openmeld-maintenance-worker-B-u1CItK.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-i1zATb9g.js → openmeld-tools-update-coordinator-qrZLtDMv.js} +15 -9
- package/dist/openmeld-tools-update-coordinator-qrZLtDMv.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{prepare-session-executor-BSTToACx.js → prepare-session-executor-B5aD6Fx_.js} +9 -9
- package/dist/{prepare-session-executor-BSTToACx.js.map → prepare-session-executor-B5aD6Fx_.js.map} +1 -1
- package/dist/{runtime-transport-BrzIQru0.js → runtime-transport-VcPSvVY1.js} +2 -1
- package/dist/runtime-transport-VcPSvVY1.js.map +1 -0
- package/dist/{service-account-authorization-BM7a5V4I.js → service-account-authorization-D1Wp-91j.js} +3 -3
- package/dist/{service-account-authorization-BM7a5V4I.js.map → service-account-authorization-D1Wp-91j.js.map} +1 -1
- package/dist/{service-control-capabilities-BL8hTCE6.js → service-control-capabilities-COkZ1Ceh.js} +2 -2
- package/dist/{service-control-capabilities-BL8hTCE6.js.map → service-control-capabilities-COkZ1Ceh.js.map} +1 -1
- package/dist/{service-control-capabilities--ktpSDhp.js → service-control-capabilities-CP1XCSVm.js} +1 -1
- package/dist/upgrade-BMh_CLJL.js +4 -0
- package/dist/{upgrade-JMsVlRjL.js → upgrade-DJLqTfBA.js} +4 -4
- package/dist/{upgrade-JMsVlRjL.js.map → upgrade-DJLqTfBA.js.map} +1 -1
- package/package.json +1 -1
- package/dist/auth-session-LTSqq_Tb.js +0 -4
- package/dist/dist-Ccbpt6rT.js.map +0 -1
- package/dist/dist-Cs3dH2Of.js +0 -4
- package/dist/openmeld-BqTI30JS.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-i1zATb9g.js.map +0 -1
- package/dist/runtime-transport-BrzIQru0.js.map +0 -1
- package/dist/upgrade-C5r5IT_8.js +0 -4
|
@@ -2,28 +2,28 @@
|
|
|
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 { A as isLocalMachineFailureError, D as createActiveSetupConcurrencyIssue, F as accountProfileSpaceCacheDir, I as accountProfileViewPath, M as formatLocalMachineIssueMessage, O as createOrphanedSetupConcurrencyIssue, Q as openMeldBackupsDir, R as accountsDir, T as LocalMachineFailureError, X as normalizeAccountKey, _ as resolveCliContext, _t as skillsDir, a as isOpenMeldOrphanedLockError, at as organizationSkillReleaseDir, b as formatLaneScopeSentence, c as releaseLockSync, d as runWithHeldLock, dt as resolveOpenMeldEnvPreset, et as openMeldManagedBinaryPath, ft as resolveOpenMeldRootDir, i as isOpenMeldLockError, j as toRecognizedLocalMachineFailureError, l as repairOrphanedLegacyLocks, m as OPENMELD_CLI_CONTEXT_ENV_KEY, ot as profileDir, p as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, r as buildOpenMeldOrphanedLockAction, rt as openMeldRootDir, st as profileViewPath, t as acquireLock, tt as openMeldManagedVersionBinaryPath, u as resolveOpenMeldOrphanedLockIssue, ut as resolveOpenMeldCliEntryNameFromArgv, vt as spacesDir, w as readProcessStartIdentity, x as resolveOpenMeldLaneDescriptor, yt as systemDir } from "./lock-Dxp6o_t_.js";
|
|
5
|
-
import { $n as
|
|
5
|
+
import { $n as listSpaceTasksResponseSchema, $t as createPrepareReadinessApi, Br as stringifyOrganizationSkillBundleCanonicalJson, Dr as agentProfileCreationConfigurationSchema, Ei as signalTextEnvelopeSchema, Er as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Ft as createCenterAgentApi, Gn as OPENMELD_HEADER_PROFILE_ID, Jn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Jt as createOrganizationApi, Lr as organizationSkillBundleSchema, Lt as createComputerFileAccessApi, Mt as createAgentProfileBindingApi, Nt as createAgentProfileExecutionModeApi, Or as createAgentProfileCreationRequestBodySchema, Qn as createSpaceTaskBodySchema, Qt as createPluginsApi, Ur as submitFeedbackIssueRequestSchema, Vt as createFeedbackApi, Xt as createOrganizationSkillsApi, _r as projectOwnerComputerLocalRuntimes, ci as resolvedSpaceMemberProfileSchema, cr as resolveRuntimeCoordinatorHeadStatusRootCause, dr as spaceDispatchTraceDispatchStatusSchema, er as mutateSpaceTaskBodySchema, fr as spaceDispatchTraceResponseSchema, gi as agentActivitySessionInventoryQuerySchema, gr as ownerComputerDiagnosticsSchema, hi as agentActivityInventorySessionStatusSchema, in as createRoutinesApi, ir as pluginActionRequestSchema, jn as toStructuredApiClientFailure, jt as createAgentActivityApi, lr as resolveSpaceDispatchTraceRootCause, mi as agentActivityInventorySessionOriginSchema, mr as projectObservabilityWakeCorrelation, ni as agentActivitySessionStatusSchema, nn as createProjectsApi, nr as spaceTaskMutationReceiptSchema, or as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, pr as observabilityWakeTraceSelectorSchema, ri as agentActivitySnapshotQuerySchema, rr as spaceEntryTargetSchema, sr as projectSpaceDispatchTraceFinalVisibleOutcome, ti as agentActivityProviderSchema, tr as spaceTaskIdSchema, ur as spaceDispatchTraceAttemptStatusSchema, vi as localAgentSessionProviderSchema, vr as summarizeComputerFileAccessPolicy, zt as createCurrentDeviceApi } from "./dist-DtykdMlN.js";
|
|
6
6
|
import { c as agentControllerConversationRefSchema } from "./controller-contract-pe3_Re-c.js";
|
|
7
|
-
import { $ as formatDeviceReplyReadinessLabel, $a as deleteOpenMeldProfile, $i as buildDaemonSystemServiceCommandSpec, At as createModelCatalogReadSession, Bt as setOpenMeldManagedProfileWorkspace, Ci as resolveDispatchSpaceActionMcpServer, Fn as notifyDaemonRouteCatalogChanged, Ft as readProfileWorkspaceConfig, Ga as resolveOpenMeldProfileOrNull, Gi as getSetupFlowCopy, Gr as getAgentControllerPermissionModeDisplayMetadata, Gt as bindProject, H as resolveDaemonServiceFreshnessWarning, Ht as describeProfileWorkspacePathValidationFailure, Ja as clearSelectedOpenMeldProfileId, Ji as resolveViewProfileKey, Jr as listAgentControllerPermissionModeOptions, Jt as listProjectConnectionsWithStatus, Ka as alignSelectedOpenMeldProfileStorage, Ki as parseCliViewMode, Kr as getAgentControllerPermissionModeFieldLabel, Lt as resolveConfiguredProfileWorkspacePath, Mt as resolveProfileWorkspaceRuntime, Nt as ensureOpenMeldManagedProfileWorkspace, Oi as inspectDaemonServiceInventory, P as resolveServiceReadinessFromServiceStatus, Pt as normalizeCustomProfileWorkspacePath, Q as formatAgentReplyReadinessLabel, Qa as createOpenMeldHumanProfile, Qt as removeProjectConnection, Ua as isSelectedOpenMeldProfileRequiredError, Ui as buildDaemonRouteObservationPresentation$1, Ur as createAgentExecutionStatusDisplayRows, Vi as resolveCurrentDaemonExpectedVersion, Vt as validateCustomProfileWorkspacePath, Wa as requireOpenMeldProfile, Wi as buildOnboardingPlan, Xa as setSelectedOpenMeldProfileId, Xi as setProfileDefaultView, Xr as peopleComputerContainsDevice, Ya as getSelectedOpenMeldProfileId, Yi as getProfileDefaultView, Yr as parseAgentControllerRef, Yt as migrateProjectBindingStore, Z as resolveCurrentReplyReadinessSnapshot, Za as createOpenMeldAgentProfile, Zr as projectPeopleComputersToLegacyLocalRuntimes, _o as compareAgentControllerRefsForDisplay, cn as syncDeviceRuntimeStateProjection, d as isCliUpdateCheckApplicable, do as createAuthenticationError, ei as resolveAgentControllerPermissionModeForController, en as runIfAgentActivityBindingGenerationIsCurrent, et as formatHumanReplyReadinessReason$1, fn as createPrimaryBindingReadSession, ft as resolveOpenClawLocalDiagnosticsValue, h as runPendingDaemonServiceUpdate, ho as resolveAuthenticationGuidanceFromMessage, ii as resolveNativeAgentControllerPermissionModeForController, io as updateOpenMeldProfile, jn as listBuiltinAgentsRegistryEntries, kt as syncProfileWorkspaceState, l as readCurrentLocalDeviceId, la as classifyDaemonServiceRunStartability, lt as resolveGatewayChainReadiness, mo as resolveAuthenticationGuidanceFromError, ni as resolveAgentProfileEditCapabilities, nn as unbindProject, no as primeOpenMeldProfilesSessionCache, nt as mapAgentReplyReadinessToLegacyAutoReply, o as assessServerRequiredVersion, pn as resolveAgentProfilePrimaryAgentControllerReport, po as resolveAuthenticationGuidance, qi as resolveRuntimeContext, qn as resolveLocalRegistryAgentIdFromAgentControllerRef, qt as listProjectBindings, ri as resolveEvidenceSyncHealth, rn as canonicalizeLocalProjectPath, ro as resolveOpenMeldProfile, so as buildAgentAuthenticationGuide, ti as resolveAgentExecutionStatus, tn as setDefaultProjectConnection, to as listOpenMeldProfiles, u as assessCliUpdate, ua as classifyDaemonServiceWakeability, uo as buildHumanAuthenticationCard, vn as listAgentTargetStates, zt as setCustomProfileWorkspace } from "./openmeld-tools-update-coordinator-
|
|
8
|
-
import { Ft as spaceStatusSchema, It as centerAgentInteractionSourceSchema, Jt as resolveSpaceFileMimeType, Pr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Qn as clientMessageIdSchema, Ut as isSpaceFileTextEditable, Xr as openMeldRequestContextSchema, Yr as openMeldProfileIdSchema, an as spaceFileRevisionNumberSchema, dn as spaceThreadContextSchema, gn as spaceContractSchema, hn as spaceContractFieldsSchema, jr as START_BOUNDED_ID_SCHEMA, kn as messageEnvelopeSchema, nn as spaceFileEntryIdSchema, qt as readSpaceFileTextResponseSchema } from "./runtime-transport-
|
|
7
|
+
import { $ as formatDeviceReplyReadinessLabel, $a as deleteOpenMeldProfile, $i as buildDaemonSystemServiceCommandSpec, At as createModelCatalogReadSession, Bt as setOpenMeldManagedProfileWorkspace, Ci as resolveDispatchSpaceActionMcpServer, Fn as notifyDaemonRouteCatalogChanged, Ft as readProfileWorkspaceConfig, Ga as resolveOpenMeldProfileOrNull, Gi as getSetupFlowCopy, Gr as getAgentControllerPermissionModeDisplayMetadata, Gt as bindProject, H as resolveDaemonServiceFreshnessWarning, Ht as describeProfileWorkspacePathValidationFailure, Ja as clearSelectedOpenMeldProfileId, Ji as resolveViewProfileKey, Jr as listAgentControllerPermissionModeOptions, Jt as listProjectConnectionsWithStatus, Ka as alignSelectedOpenMeldProfileStorage, Ki as parseCliViewMode, Kr as getAgentControllerPermissionModeFieldLabel, Lt as resolveConfiguredProfileWorkspacePath, Mt as resolveProfileWorkspaceRuntime, Nt as ensureOpenMeldManagedProfileWorkspace, Oi as inspectDaemonServiceInventory, P as resolveServiceReadinessFromServiceStatus, Pt as normalizeCustomProfileWorkspacePath, Q as formatAgentReplyReadinessLabel, Qa as createOpenMeldHumanProfile, Qt as removeProjectConnection, Ua as isSelectedOpenMeldProfileRequiredError, Ui as buildDaemonRouteObservationPresentation$1, Ur as createAgentExecutionStatusDisplayRows, Vi as resolveCurrentDaemonExpectedVersion, Vt as validateCustomProfileWorkspacePath, Wa as requireOpenMeldProfile, Wi as buildOnboardingPlan, Xa as setSelectedOpenMeldProfileId, Xi as setProfileDefaultView, Xr as peopleComputerContainsDevice, Ya as getSelectedOpenMeldProfileId, Yi as getProfileDefaultView, Yr as parseAgentControllerRef, Yt as migrateProjectBindingStore, Z as resolveCurrentReplyReadinessSnapshot, Za as createOpenMeldAgentProfile, Zr as projectPeopleComputersToLegacyLocalRuntimes, _o as compareAgentControllerRefsForDisplay, cn as syncDeviceRuntimeStateProjection, d as isCliUpdateCheckApplicable, do as createAuthenticationError, ei as resolveAgentControllerPermissionModeForController, en as runIfAgentActivityBindingGenerationIsCurrent, et as formatHumanReplyReadinessReason$1, fn as createPrimaryBindingReadSession, ft as resolveOpenClawLocalDiagnosticsValue, h as runPendingDaemonServiceUpdate, ho as resolveAuthenticationGuidanceFromMessage, ii as resolveNativeAgentControllerPermissionModeForController, io as updateOpenMeldProfile, jn as listBuiltinAgentsRegistryEntries, kt as syncProfileWorkspaceState, l as readCurrentLocalDeviceId, la as classifyDaemonServiceRunStartability, lt as resolveGatewayChainReadiness, mo as resolveAuthenticationGuidanceFromError, ni as resolveAgentProfileEditCapabilities, nn as unbindProject, no as primeOpenMeldProfilesSessionCache, nt as mapAgentReplyReadinessToLegacyAutoReply, o as assessServerRequiredVersion, pn as resolveAgentProfilePrimaryAgentControllerReport, po as resolveAuthenticationGuidance, qi as resolveRuntimeContext, qn as resolveLocalRegistryAgentIdFromAgentControllerRef, qt as listProjectBindings, ri as resolveEvidenceSyncHealth, rn as canonicalizeLocalProjectPath, ro as resolveOpenMeldProfile, so as buildAgentAuthenticationGuide, ti as resolveAgentExecutionStatus, tn as setDefaultProjectConnection, to as listOpenMeldProfiles, u as assessCliUpdate, ua as classifyDaemonServiceWakeability, uo as buildHumanAuthenticationCard, vn as listAgentTargetStates, zt as setCustomProfileWorkspace } from "./openmeld-tools-update-coordinator-qrZLtDMv.js";
|
|
8
|
+
import { Ft as spaceStatusSchema, It as centerAgentInteractionSourceSchema, Jt as resolveSpaceFileMimeType, Pr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Qn as clientMessageIdSchema, Ut as isSpaceFileTextEditable, Xr as openMeldRequestContextSchema, Yr as openMeldProfileIdSchema, an as spaceFileRevisionNumberSchema, dn as spaceThreadContextSchema, gn as spaceContractSchema, hn as spaceContractFieldsSchema, jr as START_BOUNDED_ID_SCHEMA, kn as messageEnvelopeSchema, nn as spaceFileEntryIdSchema, qt as readSpaceFileTextResponseSchema } from "./runtime-transport-VcPSvVY1.js";
|
|
9
9
|
import { Dt as trimmedStringFromUnknown, Tt as nonEmptyTrimmedStringFromUnknown, b as dispatchExecutionSchema, gt as openMeldRuntimeProfileIdSchema } from "./control-plane-D9jDcbMZ.js";
|
|
10
|
-
import { A as withAuthSessionTransitionMutationLock, C as withAdmittedServiceSession, D as cancelServiceAccountAdmission, O as readServiceAccountAdmission, S as updateAuthSessionActiveOrganization, T as ServiceAccountAdmissionError, a as beginAuthSessionTransition, d as getCurrentAuthOwnerUserId, h as normalizeStoredActiveOrganization, k as reserveServiceAccountAdmission, l as getAuthSessionMetadata, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionState, v as readServiceAdmissionSessionWithOwnership, w as runMacOsNativeKeychainHelperIfRequested } from "./auth-session-
|
|
11
|
-
import { t as computerConnectionIntentSchema } from "./computer-connection-
|
|
12
|
-
import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
13
|
-
import { $ as buildHumanErrorCopy, $n as readAgentActivityIntegrationStatus, $t as buildDispatchResultMessageReadProjection, A as runDaemonBackgroundStartForDecision, Ar as cliJsonErrorEnvelopeSchema, At as submitRuntimeAgentControllerReport, B as runDaemonTeardownStrict, Bn as enqueueAgentActivityHookEvent, C as resolveGatewayWebOrigin, Cr as isReturnKeypress, Ct as readDispatchSpaceActionContextForReceiptFromEnv, D as isManagedSystemServiceBootstrapRun, Dr as isCurrentCommandCheckScopeActive, Dt as validateLocalProjectConnectionPath, E as bestEffortStopCurrentLaneDaemonService, Er as getCurrentCommandCheckState, Et as LocalProjectConnectionError, F as runDaemonRunAfterEntryChecks, Fn as resolveObservedAgentActivityBinding, Fr as acceptOrganizationJoinLinkBodySchema, G as buildProfileWorkspacePresentation, Gn as readControllerTaskLifecycleOutboxHealth, H as formatServiceParticipationReadinessLabel, Hn as readAgentActivityOutboxHealth, I as runDaemonServiceDetached, In as normalizeSharedSessionTitle, Ir as getOrganizationJoinLinkResponseSchema, J as createQuietPresenter, Jn as resolveAgentActivityRouteForPath, K as buildProfileWorkspaceRows, Kn as isAgentActivityRouteRegistered, L as runDaemonSnapshot, Ln as readCodexSessionTitles, Lr as organizationJoinLinkErrorResponseSchema, M as runDaemonInstall, Mr as cliJsonSkillsListEnvelopeSchema, N as runDaemonInterrupt, Nn as syncLocalAgentActivity, Nr as cliJsonSkillsLoadEnvelopeSchema, O as runDaemon, Or as resetCurrentCommandCheckState, Ot as readRuntimeReportingHealthState, P as runDaemonReinstall, Pn as buildAgentActivityEvent, Pr as cliJsonSkillsShowEnvelopeSchema, Q as runDaemonStartDecisionPrompt, Qn as installAgentActivityIntegrations, R as runDaemonStatusFlow, Rn as readAgentActivityContextForPath, Rr as organizationJoinLinkManagementQuerySchema, Rt as inspectSpaceCacheFile, Sr as promptTextEntry, T as runDaemonServiceParticipationGate, Tr as finishCurrentCommandCheckScope, Tt as writeDispatchSpaceActionRecord, Un as removeProjectOutbox, V as runDaemonUninstall, Vn as removeProjectInbox, W as resolveServiceParticipationReadiness, Wn as enqueueControllerTaskLifecycleEventWhileLocked, Y as emitDaemonAgentOverview, Yn as unregisterAgentActivityRoute, Yt as upsertSpaceConfig, Z as shouldEmitAgentOverview, Zn as defaultManagedIntegrationPaths, _ as promptSearchSelect, _n as formatRemovedCcRelationMessage, _r as fetchAuthUserSnapshot, _t as toStructuredGatewayFailure, a as runAgentsCustomRemove, ar as runAuthLogin, at as resolveLocalComponentsStatus, bt as readDispatchOwnedRuntimeGuard, c as runAgentsDisable, cr as runAuthStatus, ct as fetchSpaceUpdates, d as runAgentsManage, dr as buildAuthStatusSnapshot, dt as updateSpaceMeta, en as buildDispatchResultReplyWorkflowProjection, er as resolveAgentActivityDispatcherCommand, et as renderHumanErrorCard, f as runAgentsRepair, fr as formatActiveOrganizationLabel, gt as readGatewayTextResponse, h as promptSearchMultiselect, ht as readGatewayJsonResponse, i as runAgentsCustomList, ir as evaluateCommandAuthentication, j as runDaemonCancel, jn as readRecentDaemonDispatchJournalEvents, jr as cliJsonOutputEnvelopeSchema, k as runDaemonAutostart, kr as startCurrentCommandCheckScope, kt as submitProfileRuntimeAgentControllerReport, l as runAgentsEnable, ln as buildSpaceRoundReadProjection, lr as exchangeOneTimeTokenAuthSession, lt as createCliSpaceApi, m as formatTransportModeDisplay, mr as renderTextInfoCard, n as runAgentsConfig, nn as buildSignalIndex, nr as buildCommandAuthenticationPromptMessage, nt as emitCliJsonEnvelope, o as runAgentsCustomUpdate, or as runAuthLogout, ot as writeInstalledLocalComponentsSnapshot, p as runAgentsShow, pn as createSpaceMemberIdentityIndex, pr as renderInfoCard, q as reconcileCliVersionView, qn as registerAgentActivityRoute, r as runAgentsCustomAdd, rn as buildSignalMessageReadProjection, rr as ensureCommandAuthenticationOrCancel, rt as runDaemonStartupPreflight, s as runAgentsDetect, sr as runAuthMenu, st as resolveDaemonServiceParticipationStatus, t as runAgents, tn as buildPublicSpaceEntryUrl, tr as uninstallAgentActivityIntegrations, tt as renderHumanTextErrorCard, u as runAgentsList, un as buildUpdatesReplyWorkflowProjection, ur as buildAuthStatusRows, ut as fetchSpaceMeta, vt as parseJsonResponse, w as resolveSpaceWebGatewayOrigin, wr as runInteractivePrompt, wt as readDispatchSpaceActionContextFromEnv, xt as DispatchSpaceActionClosedError, yt as assertDispatchOwnedRuntimePublicWriteAllowed, z as runDaemonStop, zn as removeAgentActivityContextCache, zr as revokeOrganizationJoinLinkResponseSchema } from "./agents-
|
|
10
|
+
import { A as withAuthSessionTransitionMutationLock, C as withAdmittedServiceSession, D as cancelServiceAccountAdmission, O as readServiceAccountAdmission, S as updateAuthSessionActiveOrganization, T as ServiceAccountAdmissionError, a as beginAuthSessionTransition, d as getCurrentAuthOwnerUserId, h as normalizeStoredActiveOrganization, k as reserveServiceAccountAdmission, l as getAuthSessionMetadata, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionState, v as readServiceAdmissionSessionWithOwnership, w as runMacOsNativeKeychainHelperIfRequested } from "./auth-session-CB7m-csh.js";
|
|
11
|
+
import { t as computerConnectionIntentSchema } from "./computer-connection-51dg6Tq0.js";
|
|
12
|
+
import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-CLBwkIf6.js";
|
|
13
|
+
import { $ as buildHumanErrorCopy, $n as readAgentActivityIntegrationStatus, $t as buildDispatchResultMessageReadProjection, A as runDaemonBackgroundStartForDecision, Ar as cliJsonErrorEnvelopeSchema, At as submitRuntimeAgentControllerReport, B as runDaemonTeardownStrict, Bn as enqueueAgentActivityHookEvent, C as resolveGatewayWebOrigin, Cr as isReturnKeypress, Ct as readDispatchSpaceActionContextForReceiptFromEnv, D as isManagedSystemServiceBootstrapRun, Dr as isCurrentCommandCheckScopeActive, Dt as validateLocalProjectConnectionPath, E as bestEffortStopCurrentLaneDaemonService, Er as getCurrentCommandCheckState, Et as LocalProjectConnectionError, F as runDaemonRunAfterEntryChecks, Fn as resolveObservedAgentActivityBinding, Fr as acceptOrganizationJoinLinkBodySchema, G as buildProfileWorkspacePresentation, Gn as readControllerTaskLifecycleOutboxHealth, H as formatServiceParticipationReadinessLabel, Hn as readAgentActivityOutboxHealth, I as runDaemonServiceDetached, In as normalizeSharedSessionTitle, Ir as getOrganizationJoinLinkResponseSchema, J as createQuietPresenter, Jn as resolveAgentActivityRouteForPath, K as buildProfileWorkspaceRows, Kn as isAgentActivityRouteRegistered, L as runDaemonSnapshot, Ln as readCodexSessionTitles, Lr as organizationJoinLinkErrorResponseSchema, M as runDaemonInstall, Mr as cliJsonSkillsListEnvelopeSchema, N as runDaemonInterrupt, Nn as syncLocalAgentActivity, Nr as cliJsonSkillsLoadEnvelopeSchema, O as runDaemon, Or as resetCurrentCommandCheckState, Ot as readRuntimeReportingHealthState, P as runDaemonReinstall, Pn as buildAgentActivityEvent, Pr as cliJsonSkillsShowEnvelopeSchema, Q as runDaemonStartDecisionPrompt, Qn as installAgentActivityIntegrations, R as runDaemonStatusFlow, Rn as readAgentActivityContextForPath, Rr as organizationJoinLinkManagementQuerySchema, Rt as inspectSpaceCacheFile, Sr as promptTextEntry, T as runDaemonServiceParticipationGate, Tr as finishCurrentCommandCheckScope, Tt as writeDispatchSpaceActionRecord, Un as removeProjectOutbox, V as runDaemonUninstall, Vn as removeProjectInbox, W as resolveServiceParticipationReadiness, Wn as enqueueControllerTaskLifecycleEventWhileLocked, Y as emitDaemonAgentOverview, Yn as unregisterAgentActivityRoute, Yt as upsertSpaceConfig, Z as shouldEmitAgentOverview, Zn as defaultManagedIntegrationPaths, _ as promptSearchSelect, _n as formatRemovedCcRelationMessage, _r as fetchAuthUserSnapshot, _t as toStructuredGatewayFailure, a as runAgentsCustomRemove, ar as runAuthLogin, at as resolveLocalComponentsStatus, bt as readDispatchOwnedRuntimeGuard, c as runAgentsDisable, cr as runAuthStatus, ct as fetchSpaceUpdates, d as runAgentsManage, dr as buildAuthStatusSnapshot, dt as updateSpaceMeta, en as buildDispatchResultReplyWorkflowProjection, er as resolveAgentActivityDispatcherCommand, et as renderHumanErrorCard, f as runAgentsRepair, fr as formatActiveOrganizationLabel, gt as readGatewayTextResponse, h as promptSearchMultiselect, ht as readGatewayJsonResponse, i as runAgentsCustomList, ir as evaluateCommandAuthentication, j as runDaemonCancel, jn as readRecentDaemonDispatchJournalEvents, jr as cliJsonOutputEnvelopeSchema, k as runDaemonAutostart, kr as startCurrentCommandCheckScope, kt as submitProfileRuntimeAgentControllerReport, l as runAgentsEnable, ln as buildSpaceRoundReadProjection, lr as exchangeOneTimeTokenAuthSession, lt as createCliSpaceApi, m as formatTransportModeDisplay, mr as renderTextInfoCard, n as runAgentsConfig, nn as buildSignalIndex, nr as buildCommandAuthenticationPromptMessage, nt as emitCliJsonEnvelope, o as runAgentsCustomUpdate, or as runAuthLogout, ot as writeInstalledLocalComponentsSnapshot, p as runAgentsShow, pn as createSpaceMemberIdentityIndex, pr as renderInfoCard, q as reconcileCliVersionView, qn as registerAgentActivityRoute, r as runAgentsCustomAdd, rn as buildSignalMessageReadProjection, rr as ensureCommandAuthenticationOrCancel, rt as runDaemonStartupPreflight, s as runAgentsDetect, sr as runAuthMenu, st as resolveDaemonServiceParticipationStatus, t as runAgents, tn as buildPublicSpaceEntryUrl, tr as uninstallAgentActivityIntegrations, tt as renderHumanTextErrorCard, u as runAgentsList, un as buildUpdatesReplyWorkflowProjection, ur as buildAuthStatusRows, ut as fetchSpaceMeta, vt as parseJsonResponse, w as resolveSpaceWebGatewayOrigin, wr as runInteractivePrompt, wt as readDispatchSpaceActionContextFromEnv, xt as DispatchSpaceActionClosedError, yt as assertDispatchOwnedRuntimePublicWriteAllowed, z as runDaemonStop, zn as removeAgentActivityContextCache, zr as revokeOrganizationJoinLinkResponseSchema } from "./agents-CGBELT4J.js";
|
|
14
14
|
import { a as serviceAccountControlRequestSchema, n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-DY2fBeSW.js";
|
|
15
15
|
import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-Dd4hdHNo.js";
|
|
16
|
-
import { Bt as readDaemonServiceContract, Mt as requestLocalAgentActivitySync, Pt as requestLocalDaemonShutdown, Vt as upsertDaemonServiceContract, X as buildInstallSelfJsonPayload, Z as performManagedInstall, jt as LocalDaemonControlPlaneClientError, lt as compareSemver, nt as OPENMELD_VERSION, r as readCurrentDaemonRuntimeContext, ut as ensureVersionStateReady } from "./daemon-service-runtime-
|
|
17
|
-
import { $ as resolveCreateProfileKind, A as parseEnvelope, B as resolveHumanControllerDisplayName, C as toSpaceMetaUpsertInput, D as formatHumanReadTargetList, E as buildHumanReplyContextSummary, F as resolveOpenMeldProfileForSpaceCommand, G as printOpenMeldBanner, H as resolveAgentProfileSetup, I as emitSpaceAgentOverview, J as renderOpenMeldLogo, K as renderOpenMeldBrandBlockLines, L as emitSpaceCliAgentOverview, M as assertFullSignalIdArgument, N as assertValidSpaceIdTarget, O as resolveLinkAccessLabel, P as prepareAuthenticatedSpaceCommandContext, Q as createProfileByKind, R as prepareLocalAgentReadiness, S as loadSpaceSignalIndexOrNull, T as buildFormalSignalReadPayload, U as colorizeAgentLabel, V as persistAgentTransportSelection, W as colorizeDisplayProfileLabel, X as resolveSpaceSendText, Y as renderOpenMeldTagline, Z as resolveSpaceTaskSelection, _ as runSpaceWriteWithPasswordRetry, a as runSpaceDelete, b as buildIdentityOnlyMembersSnapshotForReadProjection, c as runSpaceLeave, d as runSpaceRemoveMembers, et as resolveCreateProfileName, f as runSpaceSend, g as runSpaceReadWithPasswordRetry, h as uploadPreparedSpaceFiles, i as runSpaceCreate, j as isSpaceCommandOutputHandledError, k as resolveOrganizationVisibilityLabel, l as runSpaceList, m as prepareRequestedSpaceSendFiles, n as promptAndConfirmSpacePassword, nt as assessActionParticipationCandidate, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldHeader, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, tt as ensureAgentProfileRuntimeBinding, u as runSpacePassword, v as buildHumanReadSignalsTranscriptItems, w as buildFormalDispatchResultReadPayload, x as loadSpaceIdentityDirectoryOrNull, y as emitHumanReadSignalsTextProjection, z as buildReplyReadinessGuidance } from "./command-
|
|
18
|
-
import { A as createSpaceMenuGuideError, Bt as formatDualViewGuideForDisplay, C as createSpaceAddMembersGuideError, F as createSpaceRemoveMembersGuideError, G as createStartAgentIdentityGuideError, H as createSpaceTargetGuideError, Ht as formatAgentOverviewPayload, I as createSpaceResultGuideError, It as registerBuiltinAgentSelectionOptions, J as OPENMELD_AGENT_MENTAL_MODEL_LINES, Jt as sanitizeTerminalDisplayText, K as createStartAuthenticationGuideError, M as createSpacePublicationSetGuideError, Ot as getCliVersionInfo, Q as areAllowedActionsEquivalent, Qt as outLine, T as createSpaceContractSetGuideError, Tt as registerSkillsTargetSelectionOptions, V as createSpaceSubcommandTargetGuideError, Vt as buildDualViewGuideMessage, W as createSpaceUpdatesGuideError, X as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Xt as errLine, Yt as formatMessage, Zt as outJsonLine, _ as createProfileActionGuideError, _t as registerSpaceMemberSelectionOptions, b as createResetConfirmationGuideError, bt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, et as buildAgentFacingPublicationModeGuideLines, g as createDoctorFailedGuideError, jt as registerAuthLoginRequestOptions, k as createSpaceLeaveGuideError, kt as registerDaemonControlTargetOptions, m as canUseInteractivePrompts, mt as getCommandHintsFromContract, ot as canonicalizeAllowedActions, qt as createPresenter, v as createProfileCreateGuideError, w as createSpaceAliasTargetGuideError, y as createProfileMenuGuideError, zt as DualViewGuideError } from "./elapsed-time-
|
|
16
|
+
import { Bt as readDaemonServiceContract, Mt as requestLocalAgentActivitySync, Pt as requestLocalDaemonShutdown, Vt as upsertDaemonServiceContract, X as buildInstallSelfJsonPayload, Z as performManagedInstall, jt as LocalDaemonControlPlaneClientError, lt as compareSemver, nt as OPENMELD_VERSION, r as readCurrentDaemonRuntimeContext, ut as ensureVersionStateReady } from "./daemon-service-runtime-D8KrOfSV.js";
|
|
17
|
+
import { $ as resolveCreateProfileKind, A as parseEnvelope, B as resolveHumanControllerDisplayName, C as toSpaceMetaUpsertInput, D as formatHumanReadTargetList, E as buildHumanReplyContextSummary, F as resolveOpenMeldProfileForSpaceCommand, G as printOpenMeldBanner, H as resolveAgentProfileSetup, I as emitSpaceAgentOverview, J as renderOpenMeldLogo, K as renderOpenMeldBrandBlockLines, L as emitSpaceCliAgentOverview, M as assertFullSignalIdArgument, N as assertValidSpaceIdTarget, O as resolveLinkAccessLabel, P as prepareAuthenticatedSpaceCommandContext, Q as createProfileByKind, R as prepareLocalAgentReadiness, S as loadSpaceSignalIndexOrNull, T as buildFormalSignalReadPayload, U as colorizeAgentLabel, V as persistAgentTransportSelection, W as colorizeDisplayProfileLabel, X as resolveSpaceSendText, Y as renderOpenMeldTagline, Z as resolveSpaceTaskSelection, _ as runSpaceWriteWithPasswordRetry, a as runSpaceDelete, b as buildIdentityOnlyMembersSnapshotForReadProjection, c as runSpaceLeave, d as runSpaceRemoveMembers, et as resolveCreateProfileName, f as runSpaceSend, g as runSpaceReadWithPasswordRetry, h as uploadPreparedSpaceFiles, i as runSpaceCreate, j as isSpaceCommandOutputHandledError, k as resolveOrganizationVisibilityLabel, l as runSpaceList, m as prepareRequestedSpaceSendFiles, n as promptAndConfirmSpacePassword, nt as assessActionParticipationCandidate, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldHeader, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, tt as ensureAgentProfileRuntimeBinding, u as runSpacePassword, v as buildHumanReadSignalsTranscriptItems, w as buildFormalDispatchResultReadPayload, x as loadSpaceIdentityDirectoryOrNull, y as emitHumanReadSignalsTextProjection, z as buildReplyReadinessGuidance } from "./command-oQK6PG6b.js";
|
|
18
|
+
import { A as createSpaceMenuGuideError, Bt as formatDualViewGuideForDisplay, C as createSpaceAddMembersGuideError, F as createSpaceRemoveMembersGuideError, G as createStartAgentIdentityGuideError, H as createSpaceTargetGuideError, Ht as formatAgentOverviewPayload, I as createSpaceResultGuideError, It as registerBuiltinAgentSelectionOptions, J as OPENMELD_AGENT_MENTAL_MODEL_LINES, Jt as sanitizeTerminalDisplayText, K as createStartAuthenticationGuideError, M as createSpacePublicationSetGuideError, Ot as getCliVersionInfo, Q as areAllowedActionsEquivalent, Qt as outLine, T as createSpaceContractSetGuideError, Tt as registerSkillsTargetSelectionOptions, V as createSpaceSubcommandTargetGuideError, Vt as buildDualViewGuideMessage, W as createSpaceUpdatesGuideError, X as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Xt as errLine, Yt as formatMessage, Zt as outJsonLine, _ as createProfileActionGuideError, _t as registerSpaceMemberSelectionOptions, b as createResetConfirmationGuideError, bt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, et as buildAgentFacingPublicationModeGuideLines, g as createDoctorFailedGuideError, jt as registerAuthLoginRequestOptions, k as createSpaceLeaveGuideError, kt as registerDaemonControlTargetOptions, m as canUseInteractivePrompts, mt as getCommandHintsFromContract, ot as canonicalizeAllowedActions, qt as createPresenter, v as createProfileCreateGuideError, w as createSpaceAliasTargetGuideError, y as createProfileMenuGuideError, zt as DualViewGuideError } from "./elapsed-time-BE9NPM-x.js";
|
|
19
19
|
import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-C6sHRNGu.js";
|
|
20
20
|
import { A as getDaemonStatus, K as withDaemonServiceRunLock } from "./daemon-state-C37ZtIZK.js";
|
|
21
21
|
import { S as resolveDaemonServiceManager } from "./daemon-service-manager-GiMCiTmu.js";
|
|
22
22
|
import { a as formatOpenMeldCliCommand, c as formatOpenMeldCliTextBlock, d as resolveSetupFollowUpCliEntryCommand, f as resolveUserFacingCliEntryCommand, i as formatInlineOpenMeldCliCommands, o as formatOpenMeldCliCommands, r as resolveAuthBaseUrl, s as formatOpenMeldCliLine, t as resolveOpenMeldEnvironmentTarget, u as formatProfileAwareOpenMeldCliCommands } from "./openmeld-environment-target-NtJYJe1D.js";
|
|
23
|
-
import { n as resolveServiceAccountIdentity, r as runServiceAccountCarrier } from "./service-account-authorization-
|
|
24
|
-
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
25
|
-
import { C as buildNoLocalAgentsNoticeLines, D as recoverInterruptedComputerAuthHandoff, E as formatComputerAuthCleanupFailureSuffix, O as exchangeComputerAuthorizationGrant, S as buildLocalAgentsGuideUrl, T as emitUnusedSetupSessionCleanupWarning, _ as runStartLocalAgentsEnable, a as assertSetupServiceUpdateComplete, b as submitSelectedAgentControllerReports, c as collectObservedDeviceMetadata, d as collectStartLocalReadiness, f as runSkillsCheck$1, g as runSkillsUpdate, h as runSkillsUninstall, i as runPrepareSessionExecutor, j as writePrepareSessionSetupBootstrapResult, k as revokePreparedAuthSession, l as createSetupProgressReporter, m as runSkillsInstall, n as reportPrepareHandoffStopped, o as shouldForceSetupServiceRefresh, p as runSkillsEnsure, r as resolvePrepareSessionForHandoff, s as syncLocalSetupCurrentDeviceTargetFromServiceContract, t as connectPrepareSessionStream, u as resolveControllingTerminalSession, v as isCliOutputHandledError, w as confirmContinueWithoutLocalAgents, x as appendLocalAgentsGuideUrl, y as assertSelectedAgentControllerReportSubmissionsAccepted } from "./prepare-session-executor-
|
|
26
|
-
import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1 } from "./upgrade-
|
|
23
|
+
import { n as resolveServiceAccountIdentity, r as runServiceAccountCarrier } from "./service-account-authorization-D1Wp-91j.js";
|
|
24
|
+
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-MJK8vWfn.js";
|
|
25
|
+
import { C as buildNoLocalAgentsNoticeLines, D as recoverInterruptedComputerAuthHandoff, E as formatComputerAuthCleanupFailureSuffix, O as exchangeComputerAuthorizationGrant, S as buildLocalAgentsGuideUrl, T as emitUnusedSetupSessionCleanupWarning, _ as runStartLocalAgentsEnable, a as assertSetupServiceUpdateComplete, b as submitSelectedAgentControllerReports, c as collectObservedDeviceMetadata, d as collectStartLocalReadiness, f as runSkillsCheck$1, g as runSkillsUpdate, h as runSkillsUninstall, i as runPrepareSessionExecutor, j as writePrepareSessionSetupBootstrapResult, k as revokePreparedAuthSession, l as createSetupProgressReporter, m as runSkillsInstall, n as reportPrepareHandoffStopped, o as shouldForceSetupServiceRefresh, p as runSkillsEnsure, r as resolvePrepareSessionForHandoff, s as syncLocalSetupCurrentDeviceTargetFromServiceContract, t as connectPrepareSessionStream, u as resolveControllingTerminalSession, v as isCliOutputHandledError, w as confirmContinueWithoutLocalAgents, x as appendLocalAgentsGuideUrl, y as assertSelectedAgentControllerReportSubmissionsAccepted } from "./prepare-session-executor-B5aD6Fx_.js";
|
|
26
|
+
import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1 } from "./upgrade-DJLqTfBA.js";
|
|
27
27
|
import { createHash, randomUUID } from "node:crypto";
|
|
28
28
|
import { homedir, tmpdir } from "node:os";
|
|
29
29
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -23748,6 +23748,58 @@ async function readDispatchSpaceHistory() {
|
|
|
23748
23748
|
};
|
|
23749
23749
|
}
|
|
23750
23750
|
//#endregion
|
|
23751
|
+
//#region src/space/dispatch-task.ts
|
|
23752
|
+
async function listDispatchSpaceTasks(phase) {
|
|
23753
|
+
return await withDispatchTaskContext(async ({ actionContext, api, requestContext }) => await api.listTasks({
|
|
23754
|
+
spaceId: actionContext.spaceId,
|
|
23755
|
+
requestContext,
|
|
23756
|
+
...phase ? { phase } : {}
|
|
23757
|
+
}));
|
|
23758
|
+
}
|
|
23759
|
+
async function createDispatchSpaceTask(body) {
|
|
23760
|
+
return await withDispatchTaskContext(async ({ actionContext, api, requestContext }) => await api.createTask({
|
|
23761
|
+
spaceId: actionContext.spaceId,
|
|
23762
|
+
requestContext,
|
|
23763
|
+
body: createSpaceTaskBodySchema.parse({
|
|
23764
|
+
...body,
|
|
23765
|
+
operationId: crypto.randomUUID(),
|
|
23766
|
+
sourceSignalId: actionContext.sourceEventId,
|
|
23767
|
+
assigneeProfileId: body.assigneeProfileId === void 0 ? actionContext.targetProfileId : body.assigneeProfileId
|
|
23768
|
+
})
|
|
23769
|
+
}));
|
|
23770
|
+
}
|
|
23771
|
+
async function mutateDispatchSpaceTask(input) {
|
|
23772
|
+
const taskId = spaceTaskIdSchema.parse(input.taskId);
|
|
23773
|
+
const body = mutateSpaceTaskBodySchema.parse({
|
|
23774
|
+
...input.body,
|
|
23775
|
+
operationId: crypto.randomUUID()
|
|
23776
|
+
});
|
|
23777
|
+
return await withDispatchTaskContext(async ({ actionContext, api, requestContext }) => await api.mutateTask({
|
|
23778
|
+
spaceId: actionContext.spaceId,
|
|
23779
|
+
requestContext,
|
|
23780
|
+
taskId,
|
|
23781
|
+
body
|
|
23782
|
+
}));
|
|
23783
|
+
}
|
|
23784
|
+
async function withDispatchTaskContext(operation) {
|
|
23785
|
+
if (process.env["OPENMELD_DISPATCH_RUNTIME_MODE"] !== "dispatch-owned-runtime") throw new Error("Space Task tools require an active OpenMeld dispatch runtime.");
|
|
23786
|
+
const actionContext = readDispatchSpaceActionContextFromEnv();
|
|
23787
|
+
const profile = await requireOpenMeldProfile({
|
|
23788
|
+
openMeldProfileId: actionContext.targetProfileId,
|
|
23789
|
+
persistSelection: false,
|
|
23790
|
+
authAction: "working with Tasks in the current OpenMeld Space"
|
|
23791
|
+
});
|
|
23792
|
+
if (profile.openMeldProfileId !== actionContext.targetProfileId || profile.profileKind !== "agent") throw new Error("The Space Task actor does not match the current Agent.");
|
|
23793
|
+
const result = await operation({
|
|
23794
|
+
actionContext,
|
|
23795
|
+
api: createCliSpaceApi(await resolveBaseUrl()),
|
|
23796
|
+
requestContext: buildOpenMeldRequestContextFromProfile({ openMeldProfile: profile })
|
|
23797
|
+
});
|
|
23798
|
+
const current = readDispatchSpaceActionContextFromEnv();
|
|
23799
|
+
if (current.contextId !== actionContext.contextId || current.nonce !== actionContext.nonce || current.spaceId !== actionContext.spaceId || current.sourceEventId !== actionContext.sourceEventId || current.targetProfileId !== actionContext.targetProfileId) throw new Error("The dispatch context changed during the Space Task action.");
|
|
23800
|
+
return result;
|
|
23801
|
+
}
|
|
23802
|
+
//#endregion
|
|
23751
23803
|
//#region src/space/action-mcp-server.ts
|
|
23752
23804
|
const FINAL_STATUS_SCHEMA = z.enum([
|
|
23753
23805
|
"done",
|
|
@@ -23759,7 +23811,7 @@ function createSpaceActionMcpServer() {
|
|
|
23759
23811
|
const server = new McpServer({
|
|
23760
23812
|
name: "openmeld-dispatch-space-action",
|
|
23761
23813
|
version: "1.0.0"
|
|
23762
|
-
}, { instructions: "Use read_history for the bounded text history around the current Wake, and read_file for shared text files in the current Space. Then choose exactly one final OpenMeld Space Action: reply for the exact public message, status for a final visible status, or stay_silent when no public message is needed. Private assistant output is not posted to the Space." });
|
|
23814
|
+
}, { instructions: "Use read_history for the bounded text history around the current Wake, and read_file for shared text files in the current Space. Use Space Task tools only when a clear deliverable needs durable ownership, progress, review, or later closure; questions and tiny same-turn actions stay in Messages. Task operations are non-final. Then choose exactly one final OpenMeld Space Action: reply for the exact public message, status for a final visible status, or stay_silent when no public message is needed. Private assistant output is not posted to the Space." });
|
|
23763
23815
|
server.registerTool("read_history", {
|
|
23764
23816
|
title: "Read the current Wake's Space history",
|
|
23765
23817
|
description: "Read up to 20 text messages before the current Wake, plus its source message. Space, Agent identity and source are fixed by the active dispatch. Use this instead of terminal CLI history. This read does not submit a reply or close the Wake.",
|
|
@@ -23821,6 +23873,134 @@ function createSpaceActionMcpServer() {
|
|
|
23821
23873
|
};
|
|
23822
23874
|
}
|
|
23823
23875
|
});
|
|
23876
|
+
server.registerTool("list_tasks", {
|
|
23877
|
+
title: "List Tasks in the current OpenMeld Space",
|
|
23878
|
+
description: "Read durable collaboration Tasks for this Space. Use the returned revision before changing a Task. Task phase is collaboration state, not Agent execution truth.",
|
|
23879
|
+
inputSchema: { phase: z.enum([
|
|
23880
|
+
"to_do",
|
|
23881
|
+
"in_progress",
|
|
23882
|
+
"in_review",
|
|
23883
|
+
"done",
|
|
23884
|
+
"canceled"
|
|
23885
|
+
]).optional() },
|
|
23886
|
+
outputSchema: listSpaceTasksResponseSchema,
|
|
23887
|
+
annotations: {
|
|
23888
|
+
readOnlyHint: true,
|
|
23889
|
+
destructiveHint: false,
|
|
23890
|
+
idempotentHint: true,
|
|
23891
|
+
openWorldHint: false
|
|
23892
|
+
}
|
|
23893
|
+
}, async ({ phase }) => executeTaskAction(() => listDispatchSpaceTasks(phase)));
|
|
23894
|
+
server.registerTool("create_task", {
|
|
23895
|
+
title: "Create a Task from the current Space message",
|
|
23896
|
+
description: "Create a durable Task only for a clear deliverable that needs ownership, progress, review, or later closure. The source message and Space are fixed by this Wake. The Task is assigned to the current Agent by default and remains To do until start_task is called.",
|
|
23897
|
+
inputSchema: {
|
|
23898
|
+
title: z.string().trim().min(1).max(200),
|
|
23899
|
+
description: z.string().trim().min(1).max(8e3).nullable().optional(),
|
|
23900
|
+
completionConditions: z.array(z.string().trim().min(1).max(500)).max(12).optional(),
|
|
23901
|
+
assigneeProfileId: openMeldRuntimeProfileIdSchema.nullable().optional(),
|
|
23902
|
+
reviewerProfileId: openMeldRuntimeProfileIdSchema.nullable().optional()
|
|
23903
|
+
},
|
|
23904
|
+
outputSchema: spaceTaskMutationReceiptSchema,
|
|
23905
|
+
annotations: {
|
|
23906
|
+
readOnlyHint: false,
|
|
23907
|
+
destructiveHint: false,
|
|
23908
|
+
idempotentHint: false,
|
|
23909
|
+
openWorldHint: false
|
|
23910
|
+
}
|
|
23911
|
+
}, async (body) => executeTaskAction(() => createDispatchSpaceTask(body)));
|
|
23912
|
+
server.registerTool("start_task", {
|
|
23913
|
+
title: "Mark a Space Task in progress",
|
|
23914
|
+
description: "Record that the current assigned Agent has begun advancing this Task. This changes collaboration state and does not start a separate Agent execution.",
|
|
23915
|
+
inputSchema: {
|
|
23916
|
+
taskId: spaceTaskIdSchema,
|
|
23917
|
+
expectedRevision: z.number().int().min(1)
|
|
23918
|
+
},
|
|
23919
|
+
outputSchema: spaceTaskMutationReceiptSchema,
|
|
23920
|
+
annotations: {
|
|
23921
|
+
readOnlyHint: false,
|
|
23922
|
+
destructiveHint: false,
|
|
23923
|
+
idempotentHint: false,
|
|
23924
|
+
openWorldHint: false
|
|
23925
|
+
}
|
|
23926
|
+
}, async ({ expectedRevision, taskId }) => executeTaskAction(() => mutateDispatchSpaceTask({
|
|
23927
|
+
taskId,
|
|
23928
|
+
body: {
|
|
23929
|
+
action: "mark_in_progress",
|
|
23930
|
+
expectedRevision
|
|
23931
|
+
}
|
|
23932
|
+
})));
|
|
23933
|
+
server.registerTool("submit_task_result", {
|
|
23934
|
+
title: "Submit a result for a Space Task",
|
|
23935
|
+
description: "Submit the concrete result and verification for an in-progress Task. A Task with a reviewer moves to In review; otherwise the stated completion boundary moves it to Done. If the reviewer is an Agent, use your one final reply to wake that reviewer.",
|
|
23936
|
+
inputSchema: {
|
|
23937
|
+
taskId: spaceTaskIdSchema,
|
|
23938
|
+
expectedRevision: z.number().int().min(1),
|
|
23939
|
+
summary: z.string().trim().min(1).max(8e3)
|
|
23940
|
+
},
|
|
23941
|
+
outputSchema: spaceTaskMutationReceiptSchema,
|
|
23942
|
+
annotations: {
|
|
23943
|
+
readOnlyHint: false,
|
|
23944
|
+
destructiveHint: false,
|
|
23945
|
+
idempotentHint: false,
|
|
23946
|
+
openWorldHint: false
|
|
23947
|
+
}
|
|
23948
|
+
}, async ({ expectedRevision, summary, taskId }) => executeTaskAction(() => mutateDispatchSpaceTask({
|
|
23949
|
+
taskId,
|
|
23950
|
+
body: {
|
|
23951
|
+
action: "submit_result",
|
|
23952
|
+
expectedRevision,
|
|
23953
|
+
summary
|
|
23954
|
+
}
|
|
23955
|
+
})));
|
|
23956
|
+
server.registerTool("review_task", {
|
|
23957
|
+
title: "Review a Space Task result",
|
|
23958
|
+
description: "Accept the current result or request specific changes as this Task's reviewer. Change requests require feedback. If the assignee is an Agent and the Task returns to In progress, use your one final reply to wake that assignee with the feedback. Do not wake more work when needsHumanDecision is true. Agent-to-Agent rework stops for a human decision after two automatic rounds.",
|
|
23959
|
+
inputSchema: {
|
|
23960
|
+
taskId: spaceTaskIdSchema,
|
|
23961
|
+
expectedRevision: z.number().int().min(1),
|
|
23962
|
+
decision: z.enum(["accepted", "changes_requested"]),
|
|
23963
|
+
feedback: z.string().trim().min(1).max(8e3).nullable().optional()
|
|
23964
|
+
},
|
|
23965
|
+
outputSchema: spaceTaskMutationReceiptSchema,
|
|
23966
|
+
annotations: {
|
|
23967
|
+
readOnlyHint: false,
|
|
23968
|
+
destructiveHint: false,
|
|
23969
|
+
idempotentHint: false,
|
|
23970
|
+
openWorldHint: false
|
|
23971
|
+
}
|
|
23972
|
+
}, async ({ decision, expectedRevision, feedback, taskId }) => executeTaskAction(() => mutateDispatchSpaceTask({
|
|
23973
|
+
taskId,
|
|
23974
|
+
body: {
|
|
23975
|
+
action: "review",
|
|
23976
|
+
expectedRevision,
|
|
23977
|
+
decision,
|
|
23978
|
+
...feedback === void 0 ? {} : { feedback }
|
|
23979
|
+
}
|
|
23980
|
+
})));
|
|
23981
|
+
server.registerTool("cancel_task", {
|
|
23982
|
+
title: "Cancel a Space Task",
|
|
23983
|
+
description: "Cancel a Task when its accepted commitment should no longer be done. Cancellation fences later Task progress; it does not by itself prove that an Agent execution stopped.",
|
|
23984
|
+
inputSchema: {
|
|
23985
|
+
taskId: spaceTaskIdSchema,
|
|
23986
|
+
expectedRevision: z.number().int().min(1),
|
|
23987
|
+
reason: z.string().trim().min(1).max(1e3)
|
|
23988
|
+
},
|
|
23989
|
+
outputSchema: spaceTaskMutationReceiptSchema,
|
|
23990
|
+
annotations: {
|
|
23991
|
+
readOnlyHint: false,
|
|
23992
|
+
destructiveHint: false,
|
|
23993
|
+
idempotentHint: false,
|
|
23994
|
+
openWorldHint: false
|
|
23995
|
+
}
|
|
23996
|
+
}, async ({ expectedRevision, reason, taskId }) => executeTaskAction(() => mutateDispatchSpaceTask({
|
|
23997
|
+
taskId,
|
|
23998
|
+
body: {
|
|
23999
|
+
action: "cancel",
|
|
24000
|
+
expectedRevision,
|
|
24001
|
+
reason
|
|
24002
|
+
}
|
|
24003
|
+
})));
|
|
23824
24004
|
server.registerTool("reply", {
|
|
23825
24005
|
title: "Reply in the current OpenMeld Space",
|
|
23826
24006
|
description: "Record the exact final public reply for the active OpenMeld Wake. Use real newline characters for paragraph breaks. Optionally wake or reference an Agent, or mention a person, by mention label or profile ID.",
|
|
@@ -23931,6 +24111,26 @@ async function executeSpaceAction(action) {
|
|
|
23931
24111
|
};
|
|
23932
24112
|
}
|
|
23933
24113
|
}
|
|
24114
|
+
async function executeTaskAction(action) {
|
|
24115
|
+
try {
|
|
24116
|
+
const result = await action();
|
|
24117
|
+
return {
|
|
24118
|
+
structuredContent: result,
|
|
24119
|
+
content: [{
|
|
24120
|
+
type: "text",
|
|
24121
|
+
text: JSON.stringify(result)
|
|
24122
|
+
}]
|
|
24123
|
+
};
|
|
24124
|
+
} catch (error) {
|
|
24125
|
+
return {
|
|
24126
|
+
isError: true,
|
|
24127
|
+
content: [{
|
|
24128
|
+
type: "text",
|
|
24129
|
+
text: error instanceof Error ? error.message : String(error)
|
|
24130
|
+
}]
|
|
24131
|
+
};
|
|
24132
|
+
}
|
|
24133
|
+
}
|
|
23934
24134
|
//#endregion
|
|
23935
24135
|
//#region src/space/space-target.ts
|
|
23936
24136
|
const SPACE_ID_HEX_REGEX = /^[0-9a-f]{64}$/i;
|
|
@@ -24553,7 +24753,7 @@ function normalizeOptionalString(value) {
|
|
|
24553
24753
|
return normalized.length > 0 ? normalized : null;
|
|
24554
24754
|
}
|
|
24555
24755
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
24556
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
24756
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-CNgO595N.js");
|
|
24557
24757
|
return await runSpaceAddMeMembership(input);
|
|
24558
24758
|
}
|
|
24559
24759
|
//#endregion
|
|
@@ -31444,7 +31644,7 @@ async function main() {
|
|
|
31444
31644
|
if (await runMacOsNativeKeychainHelperIfRequested()) return;
|
|
31445
31645
|
const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
|
|
31446
31646
|
if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
|
|
31447
|
-
const { readComputerConnectionReview } = await import("./computer-connection-review-
|
|
31647
|
+
const { readComputerConnectionReview } = await import("./computer-connection-review-CiIyTeDw.js");
|
|
31448
31648
|
outLine(JSON.stringify(await readComputerConnectionReview()));
|
|
31449
31649
|
return;
|
|
31450
31650
|
}
|
|
@@ -31457,7 +31657,7 @@ async function main() {
|
|
|
31457
31657
|
return;
|
|
31458
31658
|
}
|
|
31459
31659
|
if (argv[3] === "control-capabilities") {
|
|
31460
|
-
const { readServiceControlCapabilities } = await import("./service-control-capabilities
|
|
31660
|
+
const { readServiceControlCapabilities } = await import("./service-control-capabilities-CP1XCSVm.js");
|
|
31461
31661
|
emitCliJsonEnvelope({
|
|
31462
31662
|
schemaVersion: 1,
|
|
31463
31663
|
type: "service.control_capabilities",
|
|
@@ -31640,4 +31840,4 @@ main().catch((error) => {
|
|
|
31640
31840
|
//#endregion
|
|
31641
31841
|
export {};
|
|
31642
31842
|
|
|
31643
|
-
//# sourceMappingURL=openmeld-
|
|
31843
|
+
//# sourceMappingURL=openmeld-LADiOJ3_.js.map
|