openmeld 0.3.109 → 0.3.111
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-DJPXJ1t0.js → add-me-membership-Dehc-K3k.js} +2 -2
- package/dist/{add-me-membership-DJPXJ1t0.js.map → add-me-membership-Dehc-K3k.js.map} +1 -1
- package/dist/{api-client-foundation-BQgqRvE9.js → api-client-foundation-CrStZBGY.js} +3 -3
- package/dist/{api-client-foundation-BQgqRvE9.js.map → api-client-foundation-CrStZBGY.js.map} +1 -1
- package/dist/{auth-session-D4Jml91O.js → auth-session-6twfCXM2.js} +2 -2
- package/dist/{auth-session-D4Jml91O.js.map → auth-session-6twfCXM2.js.map} +1 -1
- package/dist/{command-BZRJ4QV_.js → command-rJL_c028.js} +132 -114
- package/dist/{command-BZRJ4QV_.js.map → command-rJL_c028.js.map} +1 -1
- package/dist/{dist-C_v_J7PS.js → dist-C9hbphYg.js} +2 -2
- package/dist/{dist-C_v_J7PS.js.map → dist-C9hbphYg.js.map} +1 -1
- package/dist/openmeld.js +24 -6
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-C3tPSwZv.js → runtime-transport-BVqEGkly.js} +18 -2
- package/dist/{runtime-transport-C3tPSwZv.js.map → runtime-transport-BVqEGkly.js.map} +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { $ as runWithHeldLock, $t as runtimeAgentControllerConversationIdMappingSpecSchema, At as openMeldBackupsDir, B as toSpaceRemoveMembersUrl, Bt as resolveDefaultOpenMeldHomeDirname, C as updateConfiguredDeviceRuntimeState, Ct as deviceOpenClawProfileBootstrapPath, D as normalizeBaseUrl, Dt as legacyAccountProfileSpacesDir, Et as isPublishedOpenMeldHome, Ft as openMeldRootDir, Gt as resolveOpenMeldRootDir, H as toSpaceUpdatesUrl, I as toSpaceLeaveUrl, It as openMeldVersionsDir, Jt as skillsDir, K as isOpenMeldLockError, Kt as runtimeDir, L as toSpaceMembersUrl, M as toSpaceCursorUrl, Mt as openMeldManagedBinaryPath, N as toSpaceDeleteUrl, Nt as openMeldManagedVersionBinaryPath, O as toDaemonRouteObservationUrl, Ot as normalizeAccountKey, Pt as openMeldManagedVersionDir, Q as resolveOpenMeldOrphanedLockIssue, R as toSpaceMetaUrl, S as setConfiguredSkillsConfig, St as accountsDir, T as updateConfiguredSkillsConfig, Tt as deviceOpenClawProfileWorkspaceDir, U as toSpaceWsUrl, Ut as resolveOpenMeldEnvPreset, Vt as resolveExplicitOpenMeldEnvPreset, W as acquireLock, Wt as resolveOpenMeldPresetOwnedPathInput, Xt as systemDir, Zt as formatLocalMachineIssueMessage, _ as getConfiguredViewCustomization, _t as OPENMELD_HOME_ENV_KEY, a as resolveBaseUrl, an as buildAgentControllerConversationRef, at as resolveCliContext, bt as accountProfileViewPath, c as resolveExplicitGatewayUrlOrThrow, cn as HOSTED_CENTER_AGENT_CONTROLLER_REF, d as createDefaultRuntimeAgentControllerSettings, dn as buildAgentControllerRoutingKey, dt as assessLocalMachineFailure, en as runtimeAgentControllerLaunchContractSchema, f as getConfiguredDaemonDispatchLimits, fn as canonicalizeAgentControllerRef, g as getConfiguredSkillsConfig, gn as parseAgentControllerRef$1, h as getConfiguredOpenMeldToolsMaintenance, hn as normalizeKnownBuiltinAgentControllerId, i as normalizeGatewayBaseUrlOrNull, it as readCliContextState, j as toSpaceCreateUrl, jt as openMeldBinDir, kt as normalizeOpenMeldProfileId, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, ln as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, lt as resolveOpenMeldLaneDescriptor, mn as normalizeBuiltinAgentControllerId, nn as runtimeStreamingModeSchema, o as resolveBaseUrlOrNull, on as conversationPolicySchema, ot as resolveCliContextId, p as getConfiguredDeviceRuntimeState, pn as canonicalizeBuiltinAgentControllerRef, pt as createBackgroundExecutionBlockedIssue, q as isOpenMeldOrphanedLockError, qt as runtimeLogsDir, r as normalizeGatewayBaseUrl, rn as runtimeTransportModeSchema, rt as listCliContextStates, s as resolveDefaultGatewayBaseUrl, sn as resolveBuiltinAgentControllerConversationKind, st as writeCliContextState, v as getRuntimeConfigReadHealth, vt as accountProfileLocalMetaPath, wt as deviceOpenClawProfileDir, x as setConfiguredOpenMeldToolsMaintenance, xt as accountProfileWorkspacePath, y as resolveRuntimeSkillsCustomTargetId, yt as accountProfileSpaceCacheDir, z as toSpacePasswordUrl } from "./base-url-PkgATS5u.js";
|
|
4
|
-
import { A as MAX_TEXT_LENGTH, At as createCenterAgentRoutineResponseSchema, B as sleep, C as createSpaceApi, D as toStructuredApiClientFailure, Dt as organizationComputersResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as profileErrorResponseSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as resumeCenterAgentRoutineResponseSchema, Gt as localProjectControlDaemonFrameSchema, H as getSpaceUpdatesResponseSchema, It as updateCenterAgentRoutineResponseSchema, Jt as postSpaceMembersResponseSchema, Kt as localProjectControlDiscoverProjectsResponseSchema, L as OPENMELD_HEADER_REQUEST_ID, M as parseIncoming$1, Mt as listCenterAgentRoutineRunsResponseSchema, N as parseServerErrorFrame$1, Nt as listCenterAgentRoutinesResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as submitFeedbackIssueRequestSchema, P as resolveCustomMentionAliasOverride, Pt as pauseCenterAgentRoutineResponseSchema, Q as submitAgentControllerTaskLifecycleEventItemSchema, Rt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, S as createRuntimeReportingApi, St as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, T as resolveAccountSpaceIndexGatewayHost, Tt as profileCapabilitiesResponseSchema, U as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Ut as agentActivitySnapshotResponseSchema, V as toErrorMessage$42, Wt as localProjectControlConnectionSchema, Xt as spaceMemberDirectoryEntrySchema, Yt as removeSpaceMembersResponseSchema, Zt as spaceMemberDirectorySchema, _n as agentControllerPermissionModeSchema, _t as organizationSkillReleaseSummarySchema, a as buildSpaceAttachmentDownloadPath, an as createProjectResponseSchema, at as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, bt as organizationDirectoryResponseSchema, c as createAgentProfileBindingApi, cn as updateProjectResponseSchema, ct as computerFileAccessPolicyInputSchema, d as createCurrentDeviceApi, dt as organizationSpaceDirectoryWithMemberCountsResponseSchema, ft as spaceCreatorSchema, g as createOrganizationApi, h as createOpenMeldApiClient, ht as listOrganizationSkillsResponseSchema, i as buildProfileSpaceHistoryUpsertPath, in as archiveProjectResponseSchema, it as gatewayErrorEnvelopeSchema, j as parseEnvelope$1, jt as deleteCenterAgentRoutineResponseSchema, kt as submitFeedbackIssueResponseSchema, ln as centerAgentToolSpeakerSchema, lt as computerFileAccessPolicySchema, m as createLocalRuntimeExpectedRoutesApi, mt as getOrganizationSkillResponseSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as listProjectsResponseSchema, ot as OPENMELD_RUNTIME_CAPABILITIES_HEADER, p as createFetchTransport, pt as spaceMetaSchema, qt as leaveSpaceResponseSchema, r as buildProfileSpaceHistoryStatusPath, rn as observedLocalAgentSessionSchema, s as createAgentActivityApi, sn as projectSchema, st as computerFileAccessDaemonFrameSchema, t as OpenMeldApiClientHttpError, tn as agentActivitySessionInventoryResponseSchema, un as openCodePermissionConfigSchema, ut as modelCatalogSchema, vn as agentControllerCollaborationModeSchema, vt as organizationSkillSummarySchema, wt as authProfileManagedRoleSchema, xt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, y as createProfileSpaceHistoryApi, yn as toLegacySpaceAddressingWireValue, z as toErrorMessage$43, zt as agentActivityEventSchema } from "./dist-
|
|
5
|
-
import { $t as skippedDaemonProfileSchema, A as runtimeTransportRegisterSessionResponseSchema, An as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Ar as profileWorkspaceModeSchema, B as openMeldDaemonTaskResultPayloadSchema, Bn as localCliComponentUpdateProjectionSchema, Br as resolvePublicAgentFailureRecovery, Bt as resolveSpaceFileMimeType, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Cr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, D as runtimeTransportOpenMeldToolsControlFramePayloadSchema, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as openMeldRuntimeProfileIdSchema, Fn as formatLocalComponentsSummaryDescription, Fr as trimmedStringFromUnknown, G as localFolderPickerDaemonFrameSchema, H as openMeldSpaceEgressActionSchema, Hr as shouldPreferMappedPublicAgentFailureReason, I as runtimeTransportSubmitTaskResultRequestSchema, In as formatLocalComponentsSummaryLabel, Ir as MAX_TEXT_LENGTH$1, Jn as openMeldToolsUpdateOperationPhaseSchema, K as localFolderPickerHelperProtocolResultSchema, Kr as resolveCommandAgentWorkActivity, Ln as formatLocalSetupActionDescription, Lr as resolveDetailedPublicAgentFailureReason$1, M as runtimeTransportResumeControllerConversationFramePayloadSchema, Mn as agentInteractionRequestSchema, N as runtimeTransportResumeControllerConversationResultFramePayloadSchema, Nn as agentInteractionResolutionSchema, O as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, P as runtimeTransportRouteCatalogChangedFramePayloadSchema, Pt as SPACE_FILE_MAX_SIZE_BYTES, R as openMeldDaemonTaskResultEnvelopeWriteSchema, Rn as formatLocalSetupActionLabel, Rr as resolveMappedPublicAgentFailureReason, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, Sn as resolveMessageEnvelopeTargetField, Sr as openMeldRequestContextSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Tr as normalizeOptionalWorkingDirectory, U as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, Vr as sanitizeDispatchErrorSummary, W as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Wn as localServiceComponentUpdateProjectionSchema, Wt as spaceFileNameSchema, Xt as openMeldDaemonControlPlaneRequestSchema, Zn as openMeldToolsUpdateRequestSourceSchema, Zt as openMeldDaemonControlPlaneResponseSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as collectCanonicalMentionTextFragments, a as runtimeTransportCapabilitiesSchema, ar as runtimeCoordinatorExecutionTokenEnvelopeSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, c as runtimeTransportDispatchInteractionRequestSchema, d as runtimeTransportDispatchPreviewEndRequestSchema, dr as resolveSingleSpaceMentionLabels, en as providerDispatchRuntimeContextSchema, f as runtimeTransportDispatchPreviewRequestSchema, fr as resolveSpaceMentionLabels, g as runtimeTransportForkAgentSessionResultSchema, gn as MESSAGE_MENTION_TYPE_VALUES, gt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, h as runtimeTransportErrorCodeSchema, ht as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, i as localWakeRouteReportSchema, j as runtimeTransportRejectedProfileRegistrationSchema, k as runtimeTransportRegisterSessionRequestSchema, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, lr as normalizeSpacePasswordText, m as runtimeTransportDispatchToolActivityRequestSchema, mt as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, o as runtimeTransportDeliverDispatchRequestSchema, or as runtimeTransportDeliveryExecutionIdentitySchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, q as localFolderPickerHelperResultSchema, qn as openMeldToolsUpdateAttemptSchema, r as daemonStreamFrameSchema, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as conversationExecutionStateSchema, tr as parseOptionalClientMessageId, u as runtimeTransportDispatchLifecycleRequestSchema, ut as CONVERSATION_CONTINUITY_WARNING_PURPOSE, v as runtimeTransportHeartbeatResponseSchema, vn as formatCanonicalMentionLiteral, vt as sanitizeSignalTextPreview, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, wr as agentProfileIdSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xn as normalizeMessageEnvelope, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as getSpaceMessageAddressingRelationSupportForTargetKind, z as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, zn as installedLocalComponentsSnapshotSchema, zr as resolvePublicAgentAvailabilityCopy } from "./runtime-transport-
|
|
4
|
+
import { A as MAX_TEXT_LENGTH, At as createCenterAgentRoutineResponseSchema, B as sleep, C as createSpaceApi, D as toStructuredApiClientFailure, Dt as organizationComputersResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as profileErrorResponseSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as resumeCenterAgentRoutineResponseSchema, Gt as localProjectControlDaemonFrameSchema, H as getSpaceUpdatesResponseSchema, It as updateCenterAgentRoutineResponseSchema, Jt as postSpaceMembersResponseSchema, Kt as localProjectControlDiscoverProjectsResponseSchema, L as OPENMELD_HEADER_REQUEST_ID, M as parseIncoming$1, Mt as listCenterAgentRoutineRunsResponseSchema, N as parseServerErrorFrame$1, Nt as listCenterAgentRoutinesResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as submitFeedbackIssueRequestSchema, P as resolveCustomMentionAliasOverride, Pt as pauseCenterAgentRoutineResponseSchema, Q as submitAgentControllerTaskLifecycleEventItemSchema, Rt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, S as createRuntimeReportingApi, St as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, T as resolveAccountSpaceIndexGatewayHost, Tt as profileCapabilitiesResponseSchema, U as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Ut as agentActivitySnapshotResponseSchema, V as toErrorMessage$42, Wt as localProjectControlConnectionSchema, Xt as spaceMemberDirectoryEntrySchema, Yt as removeSpaceMembersResponseSchema, Zt as spaceMemberDirectorySchema, _n as agentControllerPermissionModeSchema, _t as organizationSkillReleaseSummarySchema, a as buildSpaceAttachmentDownloadPath, an as createProjectResponseSchema, at as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, bt as organizationDirectoryResponseSchema, c as createAgentProfileBindingApi, cn as updateProjectResponseSchema, ct as computerFileAccessPolicyInputSchema, d as createCurrentDeviceApi, dt as organizationSpaceDirectoryWithMemberCountsResponseSchema, ft as spaceCreatorSchema, g as createOrganizationApi, h as createOpenMeldApiClient, ht as listOrganizationSkillsResponseSchema, i as buildProfileSpaceHistoryUpsertPath, in as archiveProjectResponseSchema, it as gatewayErrorEnvelopeSchema, j as parseEnvelope$1, jt as deleteCenterAgentRoutineResponseSchema, kt as submitFeedbackIssueResponseSchema, ln as centerAgentToolSpeakerSchema, lt as computerFileAccessPolicySchema, m as createLocalRuntimeExpectedRoutesApi, mt as getOrganizationSkillResponseSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as listProjectsResponseSchema, ot as OPENMELD_RUNTIME_CAPABILITIES_HEADER, p as createFetchTransport, pt as spaceMetaSchema, qt as leaveSpaceResponseSchema, r as buildProfileSpaceHistoryStatusPath, rn as observedLocalAgentSessionSchema, s as createAgentActivityApi, sn as projectSchema, st as computerFileAccessDaemonFrameSchema, t as OpenMeldApiClientHttpError, tn as agentActivitySessionInventoryResponseSchema, un as openCodePermissionConfigSchema, ut as modelCatalogSchema, vn as agentControllerCollaborationModeSchema, vt as organizationSkillSummarySchema, wt as authProfileManagedRoleSchema, xt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, y as createProfileSpaceHistoryApi, yn as toLegacySpaceAddressingWireValue, z as toErrorMessage$43, zt as agentActivityEventSchema } from "./dist-C9hbphYg.js";
|
|
5
|
+
import { $t as skippedDaemonProfileSchema, A as runtimeTransportRegisterSessionResponseSchema, An as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Ar as profileWorkspaceModeSchema, B as openMeldDaemonTaskResultPayloadSchema, Bn as localCliComponentUpdateProjectionSchema, Br as resolvePublicAgentFailureRecovery, Bt as resolveSpaceFileMimeType, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Cr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, D as runtimeTransportOpenMeldToolsControlFramePayloadSchema, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as openMeldRuntimeProfileIdSchema, Fn as formatLocalComponentsSummaryDescription, Fr as trimmedStringFromUnknown, G as localFolderPickerDaemonFrameSchema, H as openMeldSpaceEgressActionSchema, Hr as shouldPreferMappedPublicAgentFailureReason, I as runtimeTransportSubmitTaskResultRequestSchema, In as formatLocalComponentsSummaryLabel, Ir as MAX_TEXT_LENGTH$1, Jn as openMeldToolsUpdateOperationPhaseSchema, K as localFolderPickerHelperProtocolResultSchema, Kr as resolveCommandAgentWorkActivity, Ln as formatLocalSetupActionDescription, Lr as resolveDetailedPublicAgentFailureReason$1, M as runtimeTransportResumeControllerConversationFramePayloadSchema, Mn as agentInteractionRequestSchema, N as runtimeTransportResumeControllerConversationResultFramePayloadSchema, Nn as agentInteractionResolutionSchema, O as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, P as runtimeTransportRouteCatalogChangedFramePayloadSchema, Pt as SPACE_FILE_MAX_SIZE_BYTES, R as openMeldDaemonTaskResultEnvelopeWriteSchema, Rn as formatLocalSetupActionLabel, Rr as resolveMappedPublicAgentFailureReason, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, Sn as resolveMessageEnvelopeTargetField, Sr as openMeldRequestContextSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Tr as normalizeOptionalWorkingDirectory, U as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, Vr as sanitizeDispatchErrorSummary, W as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Wn as localServiceComponentUpdateProjectionSchema, Wt as spaceFileNameSchema, Xt as openMeldDaemonControlPlaneRequestSchema, Zn as openMeldToolsUpdateRequestSourceSchema, Zt as openMeldDaemonControlPlaneResponseSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as collectCanonicalMentionTextFragments, a as runtimeTransportCapabilitiesSchema, ar as runtimeCoordinatorExecutionTokenEnvelopeSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, c as runtimeTransportDispatchInteractionRequestSchema, d as runtimeTransportDispatchPreviewEndRequestSchema, dr as resolveSingleSpaceMentionLabels, en as providerDispatchRuntimeContextSchema, f as runtimeTransportDispatchPreviewRequestSchema, fr as resolveSpaceMentionLabels, g as runtimeTransportForkAgentSessionResultSchema, gn as MESSAGE_MENTION_TYPE_VALUES, gt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, h as runtimeTransportErrorCodeSchema, ht as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, i as localWakeRouteReportSchema, j as runtimeTransportRejectedProfileRegistrationSchema, k as runtimeTransportRegisterSessionRequestSchema, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, lr as normalizeSpacePasswordText, m as runtimeTransportDispatchToolActivityRequestSchema, mt as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, o as runtimeTransportDeliverDispatchRequestSchema, or as runtimeTransportDeliveryExecutionIdentitySchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, q as localFolderPickerHelperResultSchema, qn as openMeldToolsUpdateAttemptSchema, r as daemonStreamFrameSchema, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as conversationExecutionStateSchema, tr as parseOptionalClientMessageId, u as runtimeTransportDispatchLifecycleRequestSchema, ut as CONVERSATION_CONTINUITY_WARNING_PURPOSE, v as runtimeTransportHeartbeatResponseSchema, vn as formatCanonicalMentionLiteral, vt as sanitizeSignalTextPreview, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, wr as agentProfileIdSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xn as normalizeMessageEnvelope, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as getSpaceMessageAddressingRelationSupportForTargetKind, z as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, zn as installedLocalComponentsSnapshotSchema, zr as resolvePublicAgentAvailabilityCopy } from "./runtime-transport-BVqEGkly.js";
|
|
6
6
|
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-CRyDcIIf.js";
|
|
7
7
|
import { A as isDaemonServiceRuntimeHeartbeatStale, B as setDaemonServiceRuntimeState, C as daemonServiceStableExecutableWrapperPath, D as getDaemonRuntimeStatus, E as ensureDaemonControlPlaneToken, F as releaseDaemonServiceLifecycleLock, G as withDaemonServiceStopLock, H as withDaemonServiceReconcileLock, I as resolveDaemonControlPlaneEndpoint, K as readDaemonLocalStateFile, L as resolveDaemonServiceRuntimeMetadata, M as readDaemonServiceLifecycleLockMeta, N as readDaemonServiceLifecycleLockMetaWithCleanup, O as getDaemonStatus, P as readDaemonServiceRuntimeSnapshot, R as restoreDaemonInstallStateSnapshot, S as daemonServiceRepairJournalPath, T as daemonStatePath, U as withDaemonServiceRegistrationMutationLock, V as uninstallDaemon, W as withDaemonServiceRunLock, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceLegacyExecutableWrapperPath, c as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, d as clearDaemonServiceRuntimeState, f as daemonDispatchJournalPath, g as daemonRuntimeRootPath, h as daemonRuntimeDataPath, i as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, j as readDaemonControlPlaneToken, k as installDaemon, l as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV, m as daemonRuntimeBundlesPath, n as writeDaemonRuntimeLease, o as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, p as daemonLifecycleJournalPath, q as writeDaemonLocalStateFile, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableLauncherPath, x as daemonServiceRecognizedExecutableWrapperPaths, y as daemonServiceActiveBundleStatePath, z as rotateDaemonControlPlaneTokenIfExpired } from "./daemon-runtime-lease-Cath1v3w.js";
|
|
8
|
-
import { D as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, E as OPENCLAW_CLI_TIMEOUT_MS$1, M as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, N as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, O as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MAX_HEARTBEAT_INTERVAL_MS$2, _ as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, d as resolveOpenMeldDistribution, f as CATALOG_SYNC_RETRY_INTERVAL_MS$1, g as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, h as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, i as getAuthSessionState, j as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, k as REGISTER_RESPONSE_TIMEOUT_MS$1, m as DAEMON_RUNTIME_CONTRACT_EPOCH$1, n as clearAuthSession, p as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, s as setAuthSession, u as isBinaryDistribution, v as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, w as MIN_HEARTBEAT_INTERVAL_MS$2, x as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, y as DEFAULT_HEARTBEAT_INTERVAL_MS$1 } from "./auth-session-
|
|
9
|
-
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-
|
|
8
|
+
import { D as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, E as OPENCLAW_CLI_TIMEOUT_MS$1, M as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, N as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, O as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MAX_HEARTBEAT_INTERVAL_MS$2, _ as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, d as resolveOpenMeldDistribution, f as CATALOG_SYNC_RETRY_INTERVAL_MS$1, g as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, h as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, i as getAuthSessionState, j as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, k as REGISTER_RESPONSE_TIMEOUT_MS$1, m as DAEMON_RUNTIME_CONTRACT_EPOCH$1, n as clearAuthSession, p as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, s as setAuthSession, u as isBinaryDistribution, v as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, w as MIN_HEARTBEAT_INTERVAL_MS$2, x as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, y as DEFAULT_HEARTBEAT_INTERVAL_MS$1 } from "./auth-session-6twfCXM2.js";
|
|
9
|
+
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-CrStZBGY.js";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { homedir, tmpdir, userInfo } from "node:os";
|
|
12
12
|
import * as z$1 from "zod/v4";
|
|
@@ -35,7 +35,7 @@ import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybi
|
|
|
35
35
|
var package_default = {
|
|
36
36
|
$schema: "https://www.schemastore.org/package.json",
|
|
37
37
|
name: "openmeld",
|
|
38
|
-
version: "0.3.
|
|
38
|
+
version: "0.3.111",
|
|
39
39
|
openMeldReleaseDate: "2026-08-26",
|
|
40
40
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
41
41
|
license: "MIT",
|
|
@@ -113,7 +113,7 @@ var package_default = {
|
|
|
113
113
|
},
|
|
114
114
|
openmeld: {
|
|
115
115
|
"releaseLine": "openmeld-greenfield-2026-07",
|
|
116
|
-
"minRequiredCliVersion": "0.3.
|
|
116
|
+
"minRequiredCliVersion": "0.3.110"
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
//#endregion
|
|
@@ -9382,16 +9382,19 @@ async function forkCodexAppServerThread(input) {
|
|
|
9382
9382
|
async function resolveDispatchThreadContext(input) {
|
|
9383
9383
|
const existingThreadId = normalizeOptionalText$57(input.threadId);
|
|
9384
9384
|
if (existingThreadId) {
|
|
9385
|
-
|
|
9385
|
+
if (input.executionMode === "repair") return await forkEphemeralCodexRepairThread({
|
|
9386
|
+
conversationPolicyParams: input.conversationPolicyParams,
|
|
9387
|
+
codexWorkdir: input.codexWorkdir,
|
|
9388
|
+
permissionModeParams: input.permissionModeParams,
|
|
9386
9389
|
session: input.session,
|
|
9387
9390
|
sourceThreadId: existingThreadId
|
|
9388
|
-
})
|
|
9391
|
+
});
|
|
9389
9392
|
return readThreadContextFromResponse(await input.session.requestControl("thread/resume", {
|
|
9390
9393
|
...input.conversationPolicyParams.model ? { model: input.conversationPolicyParams.model } : {},
|
|
9391
9394
|
...input.permissionModeParams,
|
|
9392
9395
|
cwd: input.codexWorkdir,
|
|
9393
9396
|
excludeTurns: true,
|
|
9394
|
-
threadId:
|
|
9397
|
+
threadId: existingThreadId
|
|
9395
9398
|
}, {
|
|
9396
9399
|
code: "context.resume_timeout",
|
|
9397
9400
|
operation: "thread/resume"
|
|
@@ -9411,7 +9414,10 @@ async function resolveDispatchThreadContext(input) {
|
|
|
9411
9414
|
}));
|
|
9412
9415
|
}
|
|
9413
9416
|
async function forkEphemeralCodexRepairThread(input) {
|
|
9414
|
-
return
|
|
9417
|
+
return readThreadContextFromResponse(await input.session.requestControl("thread/fork", {
|
|
9418
|
+
...input.conversationPolicyParams.model ? { model: input.conversationPolicyParams.model } : {},
|
|
9419
|
+
...input.permissionModeParams,
|
|
9420
|
+
cwd: input.codexWorkdir,
|
|
9415
9421
|
ephemeral: true,
|
|
9416
9422
|
excludeTurns: true,
|
|
9417
9423
|
threadId: input.sourceThreadId
|
|
@@ -10633,7 +10639,7 @@ function toJsonRpcTransportError$1(error) {
|
|
|
10633
10639
|
errorType: "auth",
|
|
10634
10640
|
message
|
|
10635
10641
|
});
|
|
10636
|
-
if (lowered.includes("thread not found") || lowered.includes("thread not loaded") || lowered.includes("no thread") || lowered.includes("not found")) return new CodexAppServerTransportError({
|
|
10642
|
+
if (lowered.includes("no rollout found") || lowered.includes("rollout not found") || lowered.includes("thread not found") || lowered.includes("thread not loaded") || lowered.includes("no thread") || lowered.includes("not found")) return new CodexAppServerTransportError({
|
|
10637
10643
|
code: "context_not_found",
|
|
10638
10644
|
errorType: "config",
|
|
10639
10645
|
message
|
|
@@ -17897,7 +17903,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
17897
17903
|
};
|
|
17898
17904
|
}
|
|
17899
17905
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
17900
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
17906
|
+
const { getAuthSessionMetadata } = await import("./auth-session-6twfCXM2.js").then((n) => n.t);
|
|
17901
17907
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
17902
17908
|
}
|
|
17903
17909
|
function resolveHostKey(baseUrl) {
|
|
@@ -37301,9 +37307,9 @@ function createModelCatalogReadSession(input) {
|
|
|
37301
37307
|
async function readModelCatalogOnce(baseUrl) {
|
|
37302
37308
|
try {
|
|
37303
37309
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
37304
|
-
import("./dist-
|
|
37310
|
+
import("./dist-C9hbphYg.js").then((n) => n.w),
|
|
37305
37311
|
import("./base-url-PkgATS5u.js").then((n) => n.n),
|
|
37306
|
-
import("./api-client-foundation-
|
|
37312
|
+
import("./api-client-foundation-CrStZBGY.js").then((n) => n.t)
|
|
37307
37313
|
]);
|
|
37308
37314
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
37309
37315
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -47985,7 +47991,10 @@ function resolveDispatchOwnedRuntimeCliShimDir(input = {}) {
|
|
|
47985
47991
|
}
|
|
47986
47992
|
function ensureDispatchOwnedRuntimeCliShims(input) {
|
|
47987
47993
|
const distribution = input?.distribution ?? resolveOpenMeldDistribution();
|
|
47988
|
-
const cliEntryPath = distribution === "binary" ? resolveDispatchOwnedRuntimeBinaryCliEntryPath(
|
|
47994
|
+
const cliEntryPath = distribution === "binary" ? resolveDispatchOwnedRuntimeBinaryCliEntryPath({
|
|
47995
|
+
cliEntryPath: input?.cliEntryPath,
|
|
47996
|
+
env: input?.env
|
|
47997
|
+
}) : resolveDispatchOwnedRuntimeCliEntryPath(input?.cliEntryPath);
|
|
47989
47998
|
const shimDir = resolveDispatchOwnedRuntimeCliShimDir({
|
|
47990
47999
|
env: input?.env,
|
|
47991
48000
|
spaceActionContextPath: input?.spaceActionContextPath
|
|
@@ -48043,8 +48052,8 @@ function resolveDispatchOwnedRuntimeCliEntryPath(cliEntryPath) {
|
|
|
48043
48052
|
if (!normalizedCliEntryPath) throw new Error("dispatch-owned runtime CLI shim requires a current CLI entry path");
|
|
48044
48053
|
return resolve(normalizedCliEntryPath);
|
|
48045
48054
|
}
|
|
48046
|
-
function resolveDispatchOwnedRuntimeBinaryCliEntryPath(
|
|
48047
|
-
const normalizedCliEntryPath = normalizeOptionalText$18(cliEntryPath) ?? normalizeOptionalText$18(
|
|
48055
|
+
function resolveDispatchOwnedRuntimeBinaryCliEntryPath(input) {
|
|
48056
|
+
const normalizedCliEntryPath = normalizeOptionalText$18(input.cliEntryPath) ?? normalizeOptionalText$18(openMeldManagedBinaryPath({ env: input.env })) ?? null;
|
|
48048
48057
|
if (!normalizedCliEntryPath) throw new Error("dispatch-owned runtime CLI shim requires a current binary CLI path");
|
|
48049
48058
|
return resolve(normalizedCliEntryPath);
|
|
48050
48059
|
}
|
|
@@ -60442,6 +60451,105 @@ function resolveAdapterInterruptNote(input) {
|
|
|
60442
60451
|
return input.reasonCode;
|
|
60443
60452
|
}
|
|
60444
60453
|
//#endregion
|
|
60454
|
+
//#region src/local-service/carrier/local-execution-slots.ts
|
|
60455
|
+
function createDaemonLocalExecutionSlots(input) {
|
|
60456
|
+
return createLocalExecutionSlots({
|
|
60457
|
+
limits: input.limits,
|
|
60458
|
+
onTaskDropped: (event) => {
|
|
60459
|
+
emitRunLine({
|
|
60460
|
+
presenter: input.presenter,
|
|
60461
|
+
code: "daemon.run.local_execution_slot_dropped",
|
|
60462
|
+
text: `local execution slot dropped pending task ${event.taskId} for ${event.targetLabel}: ${event.reason}`,
|
|
60463
|
+
payload: {
|
|
60464
|
+
adapterId: event.adapterId,
|
|
60465
|
+
activeForLane: event.activeForLane,
|
|
60466
|
+
activeGlobal: event.activeGlobal,
|
|
60467
|
+
controllerKey: event.controllerKey,
|
|
60468
|
+
dispatchId: event.dispatchId,
|
|
60469
|
+
globalConcurrency: event.limits.globalConcurrency,
|
|
60470
|
+
localExecutionLaneKey: event.localExecutionLaneKey,
|
|
60471
|
+
profileId: event.profileId,
|
|
60472
|
+
queueDepth: event.queueDepth,
|
|
60473
|
+
localQueueStatus: event.localQueue.status,
|
|
60474
|
+
localQueueWaitReason: event.localQueue.waitReason,
|
|
60475
|
+
queuePosition: event.localQueue.queuePosition,
|
|
60476
|
+
queueMax: event.limits.queueMax,
|
|
60477
|
+
reason: event.reason,
|
|
60478
|
+
spaceId: event.spaceId,
|
|
60479
|
+
step: "dropped",
|
|
60480
|
+
taskId: event.taskId,
|
|
60481
|
+
targetLabel: event.targetLabel,
|
|
60482
|
+
transportMode: event.transportMode
|
|
60483
|
+
}
|
|
60484
|
+
});
|
|
60485
|
+
},
|
|
60486
|
+
onTaskStarted: (event) => {
|
|
60487
|
+
emitRunLine({
|
|
60488
|
+
presenter: input.presenter,
|
|
60489
|
+
code: "daemon.run.local_execution_slot_reserved",
|
|
60490
|
+
text: `local execution slot reserved task ${event.taskId} for ${event.targetLabel}`,
|
|
60491
|
+
payload: {
|
|
60492
|
+
adapterId: event.adapterId,
|
|
60493
|
+
activeForLane: event.activeForLane,
|
|
60494
|
+
activeGlobal: event.activeGlobal,
|
|
60495
|
+
controllerKey: event.controllerKey,
|
|
60496
|
+
dispatchId: event.dispatchId,
|
|
60497
|
+
durationMs: null,
|
|
60498
|
+
errorCode: null,
|
|
60499
|
+
globalConcurrency: event.limits.globalConcurrency,
|
|
60500
|
+
localExecutionLaneKey: event.localExecutionLaneKey,
|
|
60501
|
+
profileId: event.profileId,
|
|
60502
|
+
queueDepth: event.queueDepth,
|
|
60503
|
+
localQueueStatus: event.localQueue.status,
|
|
60504
|
+
localQueueWaitReason: event.localQueue.waitReason,
|
|
60505
|
+
queuePosition: event.localQueue.queuePosition,
|
|
60506
|
+
queueMax: event.limits.queueMax,
|
|
60507
|
+
result: null,
|
|
60508
|
+
spaceId: event.spaceId,
|
|
60509
|
+
step: "started",
|
|
60510
|
+
taskId: event.taskId,
|
|
60511
|
+
targetLabel: event.targetLabel,
|
|
60512
|
+
transportMode: event.transportMode
|
|
60513
|
+
}
|
|
60514
|
+
});
|
|
60515
|
+
},
|
|
60516
|
+
onTaskCompleted: (event) => {
|
|
60517
|
+
let completionText = `local execution slot failed task ${event.taskId} for ${event.targetLabel}`;
|
|
60518
|
+
if (event.result === "success") completionText = `local execution slot completed task ${event.taskId} for ${event.targetLabel}`;
|
|
60519
|
+
else if (event.result === "partial_success") completionText = `local execution slot partially completed task ${event.taskId} for ${event.targetLabel}`;
|
|
60520
|
+
emitRunLine({
|
|
60521
|
+
presenter: input.presenter,
|
|
60522
|
+
code: "daemon.run.local_execution_slot_completed",
|
|
60523
|
+
text: completionText,
|
|
60524
|
+
payload: {
|
|
60525
|
+
adapterId: event.adapterId,
|
|
60526
|
+
activeForLane: event.activeForLane,
|
|
60527
|
+
activeGlobal: event.activeGlobal,
|
|
60528
|
+
controllerKey: event.controllerKey,
|
|
60529
|
+
dispatchId: event.dispatchId,
|
|
60530
|
+
durationMs: event.durationMs,
|
|
60531
|
+
errorCode: event.errorCode,
|
|
60532
|
+
...event.errorMessage ? { errorMessage: event.errorMessage } : {},
|
|
60533
|
+
globalConcurrency: event.limits.globalConcurrency,
|
|
60534
|
+
localExecutionLaneKey: event.localExecutionLaneKey,
|
|
60535
|
+
profileId: event.profileId,
|
|
60536
|
+
queueDepth: event.queueDepth,
|
|
60537
|
+
localQueueStatus: event.localQueue.status,
|
|
60538
|
+
localQueueWaitReason: event.localQueue.waitReason,
|
|
60539
|
+
queuePosition: event.localQueue.queuePosition,
|
|
60540
|
+
queueMax: event.limits.queueMax,
|
|
60541
|
+
result: event.result,
|
|
60542
|
+
spaceId: event.spaceId,
|
|
60543
|
+
step: "completed",
|
|
60544
|
+
taskId: event.taskId,
|
|
60545
|
+
targetLabel: event.targetLabel,
|
|
60546
|
+
transportMode: event.transportMode
|
|
60547
|
+
}
|
|
60548
|
+
});
|
|
60549
|
+
}
|
|
60550
|
+
});
|
|
60551
|
+
}
|
|
60552
|
+
//#endregion
|
|
60445
60553
|
//#region src/agents/command-examples.ts
|
|
60446
60554
|
const AGENT_EXAMPLE_PLACEHOLDER = "<agent-id>";
|
|
60447
60555
|
const AGENT_EXAMPLE_PAIR_PLACEHOLDER = "<agent-a> <agent-b>";
|
|
@@ -72135,101 +72243,7 @@ async function runDaemonSocketSession(input) {
|
|
|
72135
72243
|
deviceId: input.deviceId
|
|
72136
72244
|
}
|
|
72137
72245
|
});
|
|
72138
|
-
const localExecutionSlots =
|
|
72139
|
-
limits: input.dispatchLimits,
|
|
72140
|
-
onTaskDropped: (event) => {
|
|
72141
|
-
emitRunLine({
|
|
72142
|
-
presenter: input.presenter,
|
|
72143
|
-
code: "daemon.run.local_execution_slot_dropped",
|
|
72144
|
-
text: `local execution slot dropped pending task ${event.taskId} for ${event.targetLabel}: ${event.reason}`,
|
|
72145
|
-
payload: {
|
|
72146
|
-
adapterId: event.adapterId,
|
|
72147
|
-
activeForLane: event.activeForLane,
|
|
72148
|
-
activeGlobal: event.activeGlobal,
|
|
72149
|
-
controllerKey: event.controllerKey,
|
|
72150
|
-
dispatchId: event.dispatchId,
|
|
72151
|
-
globalConcurrency: event.limits.globalConcurrency,
|
|
72152
|
-
localExecutionLaneKey: event.localExecutionLaneKey,
|
|
72153
|
-
profileId: event.profileId,
|
|
72154
|
-
queueDepth: event.queueDepth,
|
|
72155
|
-
localQueueStatus: event.localQueue.status,
|
|
72156
|
-
localQueueWaitReason: event.localQueue.waitReason,
|
|
72157
|
-
queuePosition: event.localQueue.queuePosition,
|
|
72158
|
-
queueMax: event.limits.queueMax,
|
|
72159
|
-
reason: event.reason,
|
|
72160
|
-
spaceId: event.spaceId,
|
|
72161
|
-
step: "dropped",
|
|
72162
|
-
taskId: event.taskId,
|
|
72163
|
-
targetLabel: event.targetLabel,
|
|
72164
|
-
transportMode: event.transportMode
|
|
72165
|
-
}
|
|
72166
|
-
});
|
|
72167
|
-
},
|
|
72168
|
-
onTaskStarted: (event) => {
|
|
72169
|
-
emitRunLine({
|
|
72170
|
-
presenter: input.presenter,
|
|
72171
|
-
code: "daemon.run.local_execution_slot_reserved",
|
|
72172
|
-
text: `local execution slot reserved task ${event.taskId} for ${event.targetLabel}`,
|
|
72173
|
-
payload: {
|
|
72174
|
-
adapterId: event.adapterId,
|
|
72175
|
-
activeForLane: event.activeForLane,
|
|
72176
|
-
activeGlobal: event.activeGlobal,
|
|
72177
|
-
controllerKey: event.controllerKey,
|
|
72178
|
-
dispatchId: event.dispatchId,
|
|
72179
|
-
durationMs: null,
|
|
72180
|
-
errorCode: null,
|
|
72181
|
-
globalConcurrency: event.limits.globalConcurrency,
|
|
72182
|
-
localExecutionLaneKey: event.localExecutionLaneKey,
|
|
72183
|
-
profileId: event.profileId,
|
|
72184
|
-
queueDepth: event.queueDepth,
|
|
72185
|
-
localQueueStatus: event.localQueue.status,
|
|
72186
|
-
localQueueWaitReason: event.localQueue.waitReason,
|
|
72187
|
-
queuePosition: event.localQueue.queuePosition,
|
|
72188
|
-
queueMax: event.limits.queueMax,
|
|
72189
|
-
result: null,
|
|
72190
|
-
spaceId: event.spaceId,
|
|
72191
|
-
step: "started",
|
|
72192
|
-
taskId: event.taskId,
|
|
72193
|
-
targetLabel: event.targetLabel,
|
|
72194
|
-
transportMode: event.transportMode
|
|
72195
|
-
}
|
|
72196
|
-
});
|
|
72197
|
-
},
|
|
72198
|
-
onTaskCompleted: (event) => {
|
|
72199
|
-
let completionText = `local execution slot failed task ${event.taskId} for ${event.targetLabel}`;
|
|
72200
|
-
if (event.result === "success") completionText = `local execution slot completed task ${event.taskId} for ${event.targetLabel}`;
|
|
72201
|
-
else if (event.result === "partial_success") completionText = `local execution slot partially completed task ${event.taskId} for ${event.targetLabel}`;
|
|
72202
|
-
emitRunLine({
|
|
72203
|
-
presenter: input.presenter,
|
|
72204
|
-
code: "daemon.run.local_execution_slot_completed",
|
|
72205
|
-
text: completionText,
|
|
72206
|
-
payload: {
|
|
72207
|
-
adapterId: event.adapterId,
|
|
72208
|
-
activeForLane: event.activeForLane,
|
|
72209
|
-
activeGlobal: event.activeGlobal,
|
|
72210
|
-
controllerKey: event.controllerKey,
|
|
72211
|
-
dispatchId: event.dispatchId,
|
|
72212
|
-
durationMs: event.durationMs,
|
|
72213
|
-
errorCode: event.errorCode,
|
|
72214
|
-
...event.errorMessage ? { errorMessage: event.errorMessage } : {},
|
|
72215
|
-
globalConcurrency: event.limits.globalConcurrency,
|
|
72216
|
-
localExecutionLaneKey: event.localExecutionLaneKey,
|
|
72217
|
-
profileId: event.profileId,
|
|
72218
|
-
queueDepth: event.queueDepth,
|
|
72219
|
-
localQueueStatus: event.localQueue.status,
|
|
72220
|
-
localQueueWaitReason: event.localQueue.waitReason,
|
|
72221
|
-
queuePosition: event.localQueue.queuePosition,
|
|
72222
|
-
queueMax: event.limits.queueMax,
|
|
72223
|
-
result: event.result,
|
|
72224
|
-
spaceId: event.spaceId,
|
|
72225
|
-
step: "completed",
|
|
72226
|
-
taskId: event.taskId,
|
|
72227
|
-
targetLabel: event.targetLabel,
|
|
72228
|
-
transportMode: event.transportMode
|
|
72229
|
-
}
|
|
72230
|
-
});
|
|
72231
|
-
}
|
|
72232
|
-
});
|
|
72246
|
+
const { localExecutionSlots } = input;
|
|
72233
72247
|
const waitForClose = new Promise((resolve) => {
|
|
72234
72248
|
input.socket.onClose((code, reason) => {
|
|
72235
72249
|
closed = true;
|
|
@@ -74023,6 +74037,10 @@ const runDaemonServiceLoop = async (input) => {
|
|
|
74023
74037
|
const daemonSessionId = randomUUID();
|
|
74024
74038
|
const heartbeatIntervalMs = normalizeHeartbeatIntervalMs(input.heartbeatIntervalMs);
|
|
74025
74039
|
const dispatchLimits = await getConfiguredDaemonDispatchLimits();
|
|
74040
|
+
const localExecutionSlots = createDaemonLocalExecutionSlots({
|
|
74041
|
+
limits: dispatchLimits,
|
|
74042
|
+
presenter: input.presenter
|
|
74043
|
+
});
|
|
74026
74044
|
const ledgerPaths = buildLedgerPaths(runtimePaths.ledgerRootPath);
|
|
74027
74045
|
const mode = resolveDaemonRunMode$1(input.mode);
|
|
74028
74046
|
const now = nowIsoString();
|
|
@@ -74411,7 +74429,6 @@ const runDaemonServiceLoop = async (input) => {
|
|
|
74411
74429
|
computerFileAccessStorePath: resolveComputerFileAccessStorePath(runtimePaths.dataRootPath),
|
|
74412
74430
|
currentSocketRef,
|
|
74413
74431
|
daemonSessionId,
|
|
74414
|
-
dispatchLimits,
|
|
74415
74432
|
deviceId,
|
|
74416
74433
|
serviceContractGeneration: daemonServiceContract?.generation ?? 0,
|
|
74417
74434
|
foregroundActive: mode === "foreground",
|
|
@@ -74424,6 +74441,7 @@ const runDaemonServiceLoop = async (input) => {
|
|
|
74424
74441
|
ledgerPaths,
|
|
74425
74442
|
loadRouteCatalog: routeCatalogLoader.load,
|
|
74426
74443
|
localAdapterContainer,
|
|
74444
|
+
localExecutionSlots,
|
|
74427
74445
|
onRuntimeReportingAuthenticationFailure: async (failure) => {
|
|
74428
74446
|
await requestRuntimeReportingAuthenticationRecovery({
|
|
74429
74447
|
expectedSocket: ws,
|
|
@@ -108287,4 +108305,4 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
108287
108305
|
//#endregion
|
|
108288
108306
|
export { runAgentsRepair as $, installAgentActivityIntegrations as $a, readDaemonServiceJobCrashExitCode as $i, formatDaemonServiceMissingRecommendation as $n, resolveOpenClawLocalDiagnosticsValue as $r, readBundledOpenMeldCliSkillDocumentByPath as $t, assertFullSignalIdArgument as A, updateOpenMeldProfile as Aa, resolveNativeAgentControllerPermissionModeForController as Ai, upsertSpaceConfig as An, setDefaultProjectConnection as Ao, DualViewGuideError as Ar, shouldEmitAgentOverview as At, persistAgentTransportSelection as B, resolveAuthenticationGuidanceFromMessage as Ba, assessServerRequiredVersion as Bi, promptSearchMultiselect as Bn, outJsonLine as Bo, runPendingDaemonServiceUpdate as Br, parseJsonResponse$1 as Bt, toSpaceMetaUpsertInput as C, resolveOpenMeldProfileOrNull as Ca, getAgentControllerPermissionModeFieldLabel as Ci, submitRuntimeAgentControllerReport as Cn, removeProjectOutbox as Co, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as Cr, runDaemonTeardownStrict as Ct, formatHumanReadTargetList as D, listOpenMeldProfiles as Da, resolveAgentExecutionStatus as Di, resolveLocalAgentControllerLaunchability as Dn, migrateProjectBindingStore as Do, registerAuthLoginRequestOptions as Dr, reconcileCliVersionView as Dt, buildHumanReplyContextSummary as E, deleteOpenMeldProfile as Ea, resolveAgentControllerPermissionModeForController as Ei, resolveLocalAgentControllerBlockerReasonCodes as En, listProjectConnectionsWithStatus as Eo, registerDaemonControlTargetOptions as Er, buildProfileWorkspaceRows as Et, emitSpaceAgentOverview as F, buildAgentAuthenticationGuide as Fa, buildDaemonServiceTargetSpec as Fi, buildSignalMessageReadProjection as Fn, renderInfoCard as Fo, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Fr, fetchSpaceMeta as Ft, runAgentsCustomList as G, LocalDaemonControlPlaneClientError as Ga, resetCurrentCommandCheckState as Gi, isCliUpdateCheckApplicable as Gn, cliJsonSkillsLoadEnvelopeSchema as Go, resolveServiceReadinessFromServiceStatus as Gr, runDaemonStartDecisionPrompt as Gt, runAgents as H, setProfileDefaultView as Ha, finishCurrentCommandCheckScope as Hi, isReturnKeypress as Hn, cliBinaryDeltaPatchSchema as Ho, ensureDaemonRuntimePaths as Hr, writeInstalledLocalComponentsSnapshot as Ht, emitSpaceCliAgentOverview as I, buildHumanAuthenticationCard as Ia, resolveDaemonServiceAlignmentDecision as Ii, buildSpaceRoundReadProjection as In, renderTextInfoCard as Io, areAllowedActionsEquivalent as Ir, updateSpaceMeta as It, runAgentsDetect as J, registerAgentActivityRoute as Ja, resolveVersionChangeDirection as Ji, readDispatchSpaceActionContextFromEnv as Jn, organizationJoinLinkErrorResponseSchema as Jo, formatAgentReplyReadinessLabel as Jr, runSkillsEnsure as Jt, runAgentsCustomRemove as K, requestLocalAgentActivitySync as Ka, startCurrentCommandCheckScope as Ki, assertDispatchOwnedRuntimePublicWriteAllowed as Kn, cliJsonSkillsShowEnvelopeSchema as Ko, resolveDaemonServiceFreshnessWarning as Kr, collectSkillsReadinessSnapshot as Kt, prepareLocalAgentReadiness as L, createAuthenticationError as La, classifyDaemonServiceRunStartability as Li, buildUpdatesReplyWorkflowProjection as Ln, sanitizeTerminalDisplayText as Lo, buildAgentFacingPublicationModeGuideLines as Lr, readGatewayJsonResponse as Lt, prepareAuthenticatedSpaceCommandContext as M, clearSelectedOpenMeldProfileId as Ma, buildDaemonRouteObservationPresentation as Mi, buildDispatchResultMessageReadProjection as Mn, canonicalizeLocalProjectPath as Mo, buildDualViewGuideMessage as Mr, readDaemonStartFailureLogTailLines as Mt, resolveOpenMeldProfileForSpaceCommand as N, getSelectedOpenMeldProfileId as Na, buildOnboardingPlan as Ni, buildDispatchResultReplyWorkflowProjection as Nn, enqueueControllerTaskLifecycleEventWhileLocked as No, formatAgentOverviewPayload as Nr, fetchSpaceUpdates as Nt, parseEnvelope as O, primeOpenMeldProfilesSessionCache as Oa, resolveAgentProfileEditCapabilities as Oi, resolveLocalAgentControllerReportDecision as On, removeProjectConnection as Oo, registerBuiltinAgentSelectionOptions as Or, emitDaemonAgentOverview as Ot, resolveSpaceAccessLabel as P, setSelectedOpenMeldProfileId as Pa, getSetupFlowCopy as Pi, buildSignalIndex as Pn, readControllerTaskLifecycleOutboxHealth as Po, OPENMELD_AGENT_MENTAL_MODEL_LINES as Pr, createCliSpaceApi as Pt, runAgentsManage as Q, defaultManagedIntegrationPaths as Qa, isDaemonServiceJobNeverSpawned as Qi, formatDaemonServiceDowngradeBlockedRecommendation as Qn, resolveGatewayChainReadiness as Qr, ensureLocalSkills as Qt, buildReplyReadinessGuidance as R, resolveAuthenticationGuidance as Ra, classifyDaemonServiceWakeability as Ri, createSpaceMemberIdentityIndex as Rn, emitCliJsonEnvelope as Ro, canonicalizeAllowedActions as Rr, readGatewayTextResponse as Rt, loadSpaceSignalIndexOrNull as S, requireOpenMeldProfile as Sa, getAgentControllerPermissionModeDisplayMetadata as Si, submitProfileRuntimeAgentControllerReport as Sn, readAgentActivityOutboxHealth as So, registerSpaceMemberSelectionOptions as Sr, runDaemonStop as St, buildFormalSignalReadPayload as T, createOpenMeldHumanProfile as Ta, parseAgentControllerRef as Ti, collectLocalAgentControllerInventory as Tn, listProjectBindings as To, getCliVersionInfo as Tr, buildProfileWorkspacePresentation as Tt, runAgentsConfig as U, LocalProjectConnectionError as Ua, getCurrentCommandCheckState as Ui, runInteractivePrompt as Un, cliJsonOutputEnvelopeSchema as Uo, resolveDaemonDeviceId as Ur, resolveDaemonServiceParticipationStatus as Ut, resolveAgentProfileSetup as V, getProfileDefaultView as Va, resolveOpenMeldEnvironmentTarget as Vi, promptSearchSelect as Vn, outLine as Vo, scheduleDaemonServiceUpdate as Vr, resolveLocalComponentsStatus as Vt, runAgentsCustomAdd as W, validateLocalProjectConnectionPath as Wa, isCurrentCommandCheckScopeActive as Wi, assessCliUpdate as Wn, cliJsonSkillsListEnvelopeSchema as Wo, formatDaemonFailureContextText as Wr, runDaemonServiceParticipationGate as Wt, runAgentsEnable as X, unregisterAgentActivityRoute as Xa, readCurrentObservedDaemonRuntimeStatus as Xi, formatElapsedTime as Xn, compareAgentControllerRefsForDisplay as Xo, formatHumanReplyReadinessReason as Xr, runSkillsUninstall as Xt, runAgentsDisable as Y, resolveAgentActivityRouteForPath as Ya, readCurrentDaemonRuntimeContext as Yi, writeDispatchSpaceActionRecord as Yn, revokeOrganizationJoinLinkResponseSchema as Yo, formatDeviceReplyReadinessLabel as Yr, runSkillsInstall as Yt, runAgentsList as Z, AGENT_ACTIVITY_INTEGRATION_OWNER as Za, getDaemonSystemServiceLogPath as Zi, resolveElapsedTimeMs as Zn, package_default as Zo, mapAgentReplyReadinessToLegacyAutoReply as Zr, runSkillsUpdate as Zt, runSpaceWriteWithPasswordRetry as _, formatMessage as _a, listBuiltinAgentsRegistryEntries as _i, ensureAgentProfileRuntimeBinding as _n, resolveObservedAgentActivityBinding as _o, createStartAgentIdentityGuideError as _r, runDaemonInterrupt as _t, runSpaceDelete as a, ensureVersionStateReady as aa, normalizeCustomProfileWorkspacePath as ai, evaluateCommandAuthentication as an, formatOpenMeldCliCommands as ao, createResetConfirmationGuideError as ar, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, resolveViewProfileKey as ba, buildAgentControllerRef as bi, assessActionParticipationCandidate as bn, enqueueAgentActivityHookEvent as bo, getCommandEntryContract as br, runDaemonSnapshot as bt, runSpaceLeave as c, readVersionState as ca, setCustomProfileWorkspace as ci, runAuthMenu as cn, formatProfileAwareOpenMeldCliCommands as co, createSpaceContractSetGuideError as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, toStartBackgroundHelperExecutionCompatibility as da, describeProfileWorkspacePathValidationFailure as di, buildAuthStatusSnapshot as dn, syncLocalAgentActivity as do, createSpacePublicationSetGuideError as dr, resolveSpaceSendText as dt, resolveDaemonServiceManager as ea, readRecentDaemonLifecycleEvents as ei, readRuntimeReportingHealthState as en, readAgentActivityIntegrationStatus as eo, canUseInteractivePrompts as er, runAgentsShow as et, runSpaceSend as f, resolveCurrentDaemonExpectedVersion as fa, syncDeviceRuntimeStateProjection as fi, formatActiveOrganizationLabel as fn, readDaemonServiceContract as fo, createSpaceRemoveMembersGuideError as fr, runDaemon as ft, runSpaceReadWithPasswordRetry as g, createPresenter as ga, reconcileNewRunnableBuiltinAgentsForSetup as gi, promptTextEntry as gn, buildAgentActivityEvent as go, createSpaceUpdatesGuideError as gr, runDaemonInstall as gt, uploadPreparedSpaceFiles as h, renderHumanTextErrorCard as ha, listAgentTargetStates as hi, resolveCreateProfileName as hn, removeAgentActivityContextCache as ho, createSpaceTargetGuideError as hr, runDaemonCancel as ht, runSpaceCreate as i, compareSemver as ia, ensureOpenMeldManagedProfileWorkspace as ii, ensureCommandAuthenticationOrCancel as in, formatOpenMeldCliCommand as io, createProfileMenuGuideError as ir, colorizeDisplayProfileLabel as it, assertValidSpaceIdTarget as j, alignSelectedOpenMeldProfileStorage as ja, PREPARE_SESSION_RECONNECT_GRACE_MS as ji, assertNoRemovedCcSpaceAddressingSyntax as jn, unbindProject as jo, formatDualViewGuideForDisplay as jr, runDaemonStartupPreflight as jt, isSpaceCommandOutputHandledError as k, resolveOpenMeldProfile as ka, resolveEvidenceSyncHealth as ki, inspectSpaceCacheFile as kn, runIfAgentActivityBindingGenerationIsCurrent as ko, buildAgentOverviewFromContract as kr, createDelayedSpinner as kt, runSpaceList as l, writeVersionState as la, setOpenMeldManagedProfileWorkspace as li, runAuthStatus as ln, resolveSetupFollowUpCliEntryCommand as lo, createSpaceLeaveGuideError as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, renderHumanErrorCard as ma, resolveAgentProfilePrimaryAgentControllerReport as mi, resolveCreateProfileKind as mn, readAgentActivityContextForPath as mo, createSpaceSubcommandTargetGuideError as mr, runDaemonBackgroundStartForDecision as mt, promptAndConfirmSpacePassword as n, performManagedInstall as na, createModelCatalogReadSession as ni, connectWebSocket as nn, uninstallAgentActivityIntegrations as no, createProfileActionGuideError as nr, postLocalParticipationMutationReconcile as nt, runSpaceHistory as o, fetchLatestCliBinaryRelease as oa, readProfileWorkspaceConfig as oi, runAuthLogin as on, formatOpenMeldCliLine as oo, createSpaceAddMembersGuideError as or, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, buildHumanErrorCopy as pa, createPrimaryBindingReadSession as pi, createProfileByKind as pn, upsertDaemonServiceContract as po, createSpaceResultGuideError as pr, runDaemonAutostart as pt, runAgentsCustomUpdate as q, isAgentActivityRouteRegistered as qa, inspectDaemonServiceInventory as qi, readDispatchOwnedRuntimeGuard as qn, getOrganizationJoinLinkResponseSchema as qo, resolveCurrentReplyReadinessSnapshot as qr, runSkillsCheck as qt, runSpaceAddMembers as r, buildNextVersionState as ra, resolveProfileWorkspaceRuntime as ri, buildCommandAuthenticationPromptMessage as rn, formatInlineOpenMeldCliCommands as ro, createProfileCreateGuideError as rr, colorizeAgentLabel as rt, runSpaceJoin as s, fetchLatestPackageInfo as sa, resolveConfiguredProfileWorkspacePath as si, runAuthLogout as sn, formatOpenMeldCliTextBlock as so, createSpaceAliasTargetGuideError as sr, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, buildInstallSelfJsonPayload as ta, syncProfileWorkspaceState as ti, readRecentDaemonDispatchJournalEvents as tn, resolveAgentActivityDispatcherCommand as to, createDoctorFailedGuideError as tr, formatTransportModeDisplay as tt, runSpacePassword as u, resolveDaemonRuntimeContractCompatibility as ua, validateCustomProfileWorkspacePath as ui, buildAuthStatusRows as un, resolveUserFacingCliEntryCommand as uo, createSpaceMenuGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, parseCliViewMode as va, notifyDaemonRouteCatalogChanged as vi, formatServiceParticipationReadinessLabel as vn, normalizeSharedSessionTitle as vo, createStartAuthenticationGuideError as vr, runDaemonReinstall as vt, buildFormalDispatchResultReadPayload as w, createOpenMeldAgentProfile as wa, listAgentControllerPermissionModeOptions as wi, submitRuntimeAgentControllerReports as wn, bindProject as wo, registerSkillsTargetSelectionOptions as wr, runDaemonUninstall as wt, loadSpaceIdentityDirectoryOrNull as x, isSelectedOpenMeldProfileRequiredError as xa, createAgentExecutionStatusDisplayRows as xi, computeRetryDelayMs as xn, removeProjectInbox as xo, getCommandHintsFromContract as xr, runDaemonStatusFlow as xt, emitHumanReadSignalsTextProjection as y, resolveRuntimeContext as ya, resolveLocalRegistryAgentIdFromAgentControllerRef as yi, resolveServiceParticipationReadiness as yn, readCodexSessionTitles as yo, createUpgradeConfirmationGuideError as yr, runDaemonRunAfterEntryChecks as yt, resolveHumanControllerDisplayName as z, resolveAuthenticationGuidanceFromError as za, resolveServiceUpdateUrgency as zi, formatRemovedCcRelationMessage as zn, errLine as zo, readOpenMeldToolsUpdateContextFromEnv as zr, toStructuredGatewayFailure as zt };
|
|
108289
108307
|
|
|
108290
|
-
//# sourceMappingURL=command-
|
|
108308
|
+
//# sourceMappingURL=command-rJL_c028.js.map
|