openmeld 0.3.89 → 0.3.91
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-CiYcpUBk.js → add-me-membership-D-NWZyMz.js} +2 -2
- package/dist/{add-me-membership-CiYcpUBk.js.map → add-me-membership-D-NWZyMz.js.map} +1 -1
- package/dist/{api-client-foundation-DUX52_3N.js → api-client-foundation-CfNo8-pE.js} +3 -3
- package/dist/{api-client-foundation-DUX52_3N.js.map → api-client-foundation-CfNo8-pE.js.map} +1 -1
- package/dist/{auth-session-vFtLpWjB.js → auth-session-73FalW41.js} +2 -2
- package/dist/{auth-session-vFtLpWjB.js.map → auth-session-73FalW41.js.map} +1 -1
- package/dist/{command-DEiTGBQ3.js → command-ByA1L4nv.js} +150 -53
- package/dist/{command-DEiTGBQ3.js.map → command-ByA1L4nv.js.map} +1 -1
- package/dist/{dist-5W-darWf.js → dist-DXBncfSC.js} +2 -2
- package/dist/{dist-5W-darWf.js.map → dist-DXBncfSC.js.map} +1 -1
- package/dist/openmeld.js +6 -6
- package/dist/{runtime-transport-DEj52An9.js → runtime-transport-J50KvRbm.js} +46 -1
- package/dist/runtime-transport-J50KvRbm.js.map +1 -0
- package/package.json +1 -1
- package/dist/runtime-transport-DEj52An9.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as toSpaceCursorUrl, At as openMeldManagedBinaryPath, B as toSpaceUpdatesUrl, C as updateConfiguredSkillsConfig, Ct as deviceOpenClawProfileWorkspaceDir, Dt as normalizeOpenMeldProfileId, E as toDaemonRouteObservationUrl, Et as normalizeAccountKey, F as toSpaceMembersUrl, G as isOpenMeldOrphanedLockError, Gt as runtimeLogsDir, H as acquireLock, Ht as resolveOpenMeldPresetOwnedPathInput, I as toSpaceMetaUrl, Jt as systemDir, Kt as skillsDir, L as toSpacePasswordUrl, Mt as openMeldManagedVersionDir, Nt as openMeldRootDir, Ot as openMeldBackupsDir, P as toSpaceLeaveUrl, Pt as openMeldVersionsDir, Qt as runtimeAgentControllerLaunchContractSchema, R as toSpaceRemoveMembersUrl, Rt as resolveDefaultOpenMeldHomeDirname, St as deviceOpenClawProfileDir, T as normalizeBaseUrl, Tt as legacyAccountProfileSpacesDir, Ut as resolveOpenMeldRootDir, V as toSpaceWsUrl, Vt as resolveOpenMeldEnvPreset, W as isOpenMeldLockError, Wt as runtimeDir, X as resolveOpenMeldOrphanedLockIssue, Yt as formatLocalMachineIssueMessage, Z as runWithHeldLock, Zt as runtimeAgentControllerConversationIdMappingSpecSchema, _ as getRuntimeConfigReadHealth, _t as accountProfileSpaceCacheDir, a as resolveBaseUrl, an as resolveBuiltinAgentControllerConversationKind, at as writeCliContextState, b as setConfiguredSkillsConfig, bt as accountsDir, c as resolveExplicitGatewayUrlOrThrow, d as createDefaultRuntimeAgentControllerSettings, dn as canonicalizeBuiltinAgentControllerRef, dt as createBackgroundExecutionBlockedIssue, en as runtimeStreamingModeSchema, f as getConfiguredDaemonDispatchLimits, fn as normalizeBuiltinAgentControllerId, g as getConfiguredViewCustomization, gt as accountProfileLocalMetaPath, h as getConfiguredSkillsConfig, ht as OPENMELD_HOME_ENV_KEY, i as normalizeGatewayBaseUrlOrNull, in as conversationPolicySchema, it as resolveCliContextId, j as toSpaceDeleteUrl, jt as openMeldManagedVersionBinaryPath, k as toSpaceCreateUrl, kt as openMeldBinDir, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, ln as buildAgentControllerRoutingKey, lt as assessLocalMachineFailure, mn as parseAgentControllerRef$1, nt as readCliContextState, o as resolveBaseUrlOrNull, on as HOSTED_CENTER_AGENT_CONTROLLER_REF, p as getConfiguredDeviceRuntimeState, pn as normalizeKnownBuiltinAgentControllerId, r as normalizeGatewayBaseUrl, rn as buildAgentControllerConversationRef, rt as resolveCliContext, s as resolveDefaultGatewayBaseUrl, sn as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, st as resolveOpenMeldLaneDescriptor, tn as runtimeTransportModeSchema, tt as listCliContextStates, un as canonicalizeAgentControllerRef, v as resolveRuntimeSkillsCustomTargetId, vt as accountProfileViewPath, wt as isPublishedOpenMeldHome, x as updateConfiguredDeviceRuntimeState, xt as deviceOpenClawProfileBootstrapPath, yt as accountProfileWorkspacePath, zt as resolveExplicitOpenMeldEnvPreset } from "./base-url-Cv9x5Es9.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$41, 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$42, zt as agentActivityEventSchema } from "./dist-
|
|
5
|
-
import { $t as conversationExecutionStateSchema, A as runtimeTransportResumeControllerConversationFramePayloadSchema, An as agentInteractionRequestSchema, Ar as resolvePublicAgentAvailabilityCopy, B as openMeldSpaceEgressActionSchema, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, D as runtimeTransportRegisterSessionRequestSchema, Dr as MAX_TEXT_LENGTH$1, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as trimmedStringFromUnknown, Fn as formatLocalSetupActionDescription, G as localFolderPickerHelperResultSchema, H as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Hn as localServiceComponentUpdateProjectionSchema, Ht as spaceFileNameSchema, I as openMeldDaemonTaskResultEnvelopeWriteSchema, In as formatLocalSetupActionLabel, Ir as resolveCommandAgentWorkActivity, Jt as openMeldDaemonControlPlaneRequestSchema, Kn as parseOptionalClientMessageId, L as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, Ln as installedLocalComponentsSnapshotSchema, M as runtimeTransportRouteCatalogChangedFramePayloadSchema, Mr as shouldPreferMappedPublicAgentFailureReason, Mt as SPACE_FILE_MAX_SIZE_BYTES, Nn as formatLocalComponentsSummaryDescription, O as runtimeTransportRegisterSessionResponseSchema, On as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Or as resolveDetailedPublicAgentFailureReason$1, P as runtimeTransportSubmitTaskResultRequestSchema, Pn as formatLocalComponentsSummaryLabel, Qt as providerDispatchRuntimeContextSchema, R as openMeldDaemonTaskResultPayloadSchema, Rn as localCliComponentUpdateProjectionSchema, Rt as resolveSpaceFileMimeType, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, U as localFolderPickerDaemonFrameSchema, V as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, W as localFolderPickerHelperProtocolResultSchema, Xn as runtimeCoordinatorExecutionTokenEnvelopeSchema, Yt as openMeldDaemonControlPlaneResponseSchema, Zn as runtimeTransportDeliveryExecutionIdentitySchema, Zt as skippedDaemonProfileSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as getSpaceMessageAddressingRelationSupportForTargetKind, _r as openMeldRuntimeProfileIdSchema, a as runtimeTransportCapabilitiesSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, bn as resolveMessageEnvelopeTargetField, c as runtimeTransportDispatchInteractionRequestSchema, ct as CONVERSATION_CONTINUITY_WARNING_PURPOSE, d as runtimeTransportDispatchPreviewEndRequestSchema, er as normalizeSpacePasswordText, f as runtimeTransportDispatchPreviewRequestSchema, ft as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, g as runtimeTransportForkAgentSessionResultSchema, gn as formatCanonicalMentionLiteral, gr as normalizeOptionalWorkingDirectory, gt as sanitizeSignalTextPreview, h as runtimeTransportErrorCodeSchema, hn as collectCanonicalMentionTextFragments, hr as agentProfileIdSchema, i as localWakeRouteReportSchema, j as runtimeTransportResumeControllerConversationResultFramePayloadSchema, jn as agentInteractionResolutionSchema, jr as resolvePublicAgentFailureRecovery, k as runtimeTransportRejectedProfileRegistrationSchema, kr as resolveMappedPublicAgentFailureReason, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, m as runtimeTransportDispatchToolActivityRequestSchema, mn as MESSAGE_MENTION_TYPE_VALUES, mr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, mt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, nr as resolveSingleSpaceMentionLabels, o as runtimeTransportDeliverDispatchRequestSchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, pr as openMeldRequestContextSchema, pt as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, r as daemonStreamFrameSchema, rr as resolveSpaceMentionLabels, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, u as runtimeTransportDispatchLifecycleRequestSchema, v as runtimeTransportHeartbeatResponseSchema, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xr as profileWorkspaceModeSchema, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as normalizeMessageEnvelope } 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$41, 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$42, zt as agentActivityEventSchema } from "./dist-DXBncfSC.js";
|
|
5
|
+
import { $t as conversationExecutionStateSchema, A as runtimeTransportResumeControllerConversationFramePayloadSchema, An as agentInteractionRequestSchema, Ar as resolvePublicAgentAvailabilityCopy, B as openMeldSpaceEgressActionSchema, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, D as runtimeTransportRegisterSessionRequestSchema, Dr as MAX_TEXT_LENGTH$1, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as trimmedStringFromUnknown, Fn as formatLocalSetupActionDescription, G as localFolderPickerHelperResultSchema, H as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Hn as localServiceComponentUpdateProjectionSchema, Ht as spaceFileNameSchema, I as openMeldDaemonTaskResultEnvelopeWriteSchema, In as formatLocalSetupActionLabel, Ir as resolveCommandAgentWorkActivity, Jt as openMeldDaemonControlPlaneRequestSchema, Kn as parseOptionalClientMessageId, L as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, Ln as installedLocalComponentsSnapshotSchema, M as runtimeTransportRouteCatalogChangedFramePayloadSchema, Mr as shouldPreferMappedPublicAgentFailureReason, Mt as SPACE_FILE_MAX_SIZE_BYTES, Nn as formatLocalComponentsSummaryDescription, O as runtimeTransportRegisterSessionResponseSchema, On as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Or as resolveDetailedPublicAgentFailureReason$1, P as runtimeTransportSubmitTaskResultRequestSchema, Pn as formatLocalComponentsSummaryLabel, Qt as providerDispatchRuntimeContextSchema, R as openMeldDaemonTaskResultPayloadSchema, Rn as localCliComponentUpdateProjectionSchema, Rt as resolveSpaceFileMimeType, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, U as localFolderPickerDaemonFrameSchema, V as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, W as localFolderPickerHelperProtocolResultSchema, Xn as runtimeCoordinatorExecutionTokenEnvelopeSchema, Yt as openMeldDaemonControlPlaneResponseSchema, Zn as runtimeTransportDeliveryExecutionIdentitySchema, Zt as skippedDaemonProfileSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as getSpaceMessageAddressingRelationSupportForTargetKind, _r as openMeldRuntimeProfileIdSchema, a as runtimeTransportCapabilitiesSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, bn as resolveMessageEnvelopeTargetField, c as runtimeTransportDispatchInteractionRequestSchema, ct as CONVERSATION_CONTINUITY_WARNING_PURPOSE, d as runtimeTransportDispatchPreviewEndRequestSchema, er as normalizeSpacePasswordText, f as runtimeTransportDispatchPreviewRequestSchema, ft as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, g as runtimeTransportForkAgentSessionResultSchema, gn as formatCanonicalMentionLiteral, gr as normalizeOptionalWorkingDirectory, gt as sanitizeSignalTextPreview, h as runtimeTransportErrorCodeSchema, hn as collectCanonicalMentionTextFragments, hr as agentProfileIdSchema, i as localWakeRouteReportSchema, j as runtimeTransportResumeControllerConversationResultFramePayloadSchema, jn as agentInteractionResolutionSchema, jr as resolvePublicAgentFailureRecovery, k as runtimeTransportRejectedProfileRegistrationSchema, kr as resolveMappedPublicAgentFailureReason, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, m as runtimeTransportDispatchToolActivityRequestSchema, mn as MESSAGE_MENTION_TYPE_VALUES, mr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, mt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, nr as resolveSingleSpaceMentionLabels, o as runtimeTransportDeliverDispatchRequestSchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, pr as openMeldRequestContextSchema, pt as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, r as daemonStreamFrameSchema, rr as resolveSpaceMentionLabels, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, u as runtimeTransportDispatchLifecycleRequestSchema, v as runtimeTransportHeartbeatResponseSchema, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xr as profileWorkspaceModeSchema, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as normalizeMessageEnvelope } from "./runtime-transport-J50KvRbm.js";
|
|
6
6
|
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-DZWQdPz5.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-DiRoGxhm.js";
|
|
8
|
-
import { A as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, D as REGISTER_RESPONSE_TIMEOUT_MS$1, E as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MIN_HEARTBEAT_INTERVAL_MS$2, T as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, _ as DEFAULT_HEARTBEAT_INTERVAL_MS$1, a as getAuthSessionState, b as MAX_HEARTBEAT_INTERVAL_MS$2, c as setAuthSession, d as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, f as DAEMON_RUNTIME_CONTRACT_EPOCH$1, g as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, h as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, j as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, k as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, m as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, n as clearAuthSession, p as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, r as getAuthSession, u as CATALOG_SYNC_RETRY_INTERVAL_MS$1, w as OPENCLAW_CLI_TIMEOUT_MS$1, y as HEARTBEAT_RESPONSE_TIMEOUT_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 { A as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, D as REGISTER_RESPONSE_TIMEOUT_MS$1, E as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MIN_HEARTBEAT_INTERVAL_MS$2, T as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, _ as DEFAULT_HEARTBEAT_INTERVAL_MS$1, a as getAuthSessionState, b as MAX_HEARTBEAT_INTERVAL_MS$2, c as setAuthSession, d as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, f as DAEMON_RUNTIME_CONTRACT_EPOCH$1, g as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, h as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, j as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, k as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, m as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, n as clearAuthSession, p as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, r as getAuthSession, u as CATALOG_SYNC_RETRY_INTERVAL_MS$1, w as OPENCLAW_CLI_TIMEOUT_MS$1, y as HEARTBEAT_RESPONSE_TIMEOUT_MS$1 } from "./auth-session-73FalW41.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-CfNo8-pE.js";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { homedir, tmpdir, userInfo } from "node:os";
|
|
12
12
|
import { z } from "zod/v4";
|
|
@@ -34,7 +34,7 @@ import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybi
|
|
|
34
34
|
var package_default = {
|
|
35
35
|
$schema: "https://www.schemastore.org/package.json",
|
|
36
36
|
name: "openmeld",
|
|
37
|
-
version: "0.3.
|
|
37
|
+
version: "0.3.91",
|
|
38
38
|
openMeldReleaseDate: "2026-08-24",
|
|
39
39
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
40
40
|
license: "MIT",
|
|
@@ -6215,6 +6215,11 @@ const createSharedDispatchShell = (input) => {
|
|
|
6215
6215
|
bridgeSpec,
|
|
6216
6216
|
request: dispatchInput
|
|
6217
6217
|
});
|
|
6218
|
+
const requiredRepairConversationId = resolveRequiredRepairConversationId({
|
|
6219
|
+
invokeRequest,
|
|
6220
|
+
policy: input.repairConversationPolicy,
|
|
6221
|
+
request: dispatchInput
|
|
6222
|
+
});
|
|
6218
6223
|
const result = await resolvedInvoke(invokeRequest);
|
|
6219
6224
|
const contextDelta = input.resolveSuccessContextDelta?.({
|
|
6220
6225
|
bridgeSpec,
|
|
@@ -6225,8 +6230,12 @@ const createSharedDispatchShell = (input) => {
|
|
|
6225
6230
|
bridgeSpec,
|
|
6226
6231
|
contextDelta: result.contextDelta
|
|
6227
6232
|
});
|
|
6233
|
+
const protectedContextDelta = requireCanonicalRepairConversation({
|
|
6234
|
+
canonicalConversationId: requiredRepairConversationId,
|
|
6235
|
+
contextDelta
|
|
6236
|
+
});
|
|
6228
6237
|
return {
|
|
6229
|
-
...
|
|
6238
|
+
...protectedContextDelta ? { contextDelta: protectedContextDelta } : {},
|
|
6230
6239
|
...result.diagnostics ? { diagnostics: result.diagnostics } : {},
|
|
6231
6240
|
output: result.output,
|
|
6232
6241
|
status: "success",
|
|
@@ -6237,6 +6246,34 @@ const createSharedDispatchShell = (input) => {
|
|
|
6237
6246
|
}
|
|
6238
6247
|
};
|
|
6239
6248
|
};
|
|
6249
|
+
var AdapterRepairConversationMissingError = class extends Error {
|
|
6250
|
+
code = "repair.conversation_missing";
|
|
6251
|
+
errorType = "adapter";
|
|
6252
|
+
constructor() {
|
|
6253
|
+
super("repair.conversation_missing: repair requires an existing Agent Controller conversation");
|
|
6254
|
+
this.name = "AdapterRepairConversationMissingError";
|
|
6255
|
+
}
|
|
6256
|
+
};
|
|
6257
|
+
var AdapterRepairConversationError = class extends Error {
|
|
6258
|
+
code = "repair.conversation_changed";
|
|
6259
|
+
errorType = "adapter";
|
|
6260
|
+
constructor() {
|
|
6261
|
+
super("repair.conversation_changed: repair could not preserve the existing Agent Controller conversation");
|
|
6262
|
+
this.name = "AdapterRepairConversationError";
|
|
6263
|
+
}
|
|
6264
|
+
};
|
|
6265
|
+
const resolveRequiredRepairConversationId = (input) => {
|
|
6266
|
+
if (input.policy !== "require_canonical" || input.request.executionMode !== "repair") return null;
|
|
6267
|
+
const canonicalConversationId = normalizeOptionalText$67(input.invokeRequest.agentControllerConversationId);
|
|
6268
|
+
if (!canonicalConversationId) throw new AdapterRepairConversationMissingError();
|
|
6269
|
+
return canonicalConversationId;
|
|
6270
|
+
};
|
|
6271
|
+
const requireCanonicalRepairConversation = (input) => {
|
|
6272
|
+
if (!input.canonicalConversationId) return input.contextDelta;
|
|
6273
|
+
const observedConversationId = normalizeOptionalText$67(input.contextDelta?.agentControllerConversationId);
|
|
6274
|
+
if (input.contextDelta?.refreshed === true || observedConversationId !== input.canonicalConversationId) throw new AdapterRepairConversationError();
|
|
6275
|
+
return input.contextDelta;
|
|
6276
|
+
};
|
|
6240
6277
|
const createSharedControlShell = (input) => ({
|
|
6241
6278
|
cancel: async (requestInput) => {
|
|
6242
6279
|
const request = buildAdapterCancelRequest(requestInput);
|
|
@@ -6311,6 +6348,7 @@ const invokeWithSingleContextHeal = async (input) => {
|
|
|
6311
6348
|
};
|
|
6312
6349
|
} catch (firstError) {
|
|
6313
6350
|
if (!(input.contextId && input.isContextLostError(firstError))) throw firstError;
|
|
6351
|
+
if (input.contextLossPolicy === "fail") throw firstError;
|
|
6314
6352
|
await input.onContextLost?.();
|
|
6315
6353
|
try {
|
|
6316
6354
|
const healed = await input.invokeOnce(null);
|
|
@@ -7420,6 +7458,7 @@ async function invokeClaudeCliTransport(input) {
|
|
|
7420
7458
|
launchContract: input.launchContract
|
|
7421
7459
|
});
|
|
7422
7460
|
const invokedAtMs = Date.now();
|
|
7461
|
+
const canonicalRepairSessionId = input.executionMode === "repair" ? normalizeOptionalText$62(input.sessionId) : null;
|
|
7423
7462
|
let latestOutput = "";
|
|
7424
7463
|
let latestResultIsError = false;
|
|
7425
7464
|
let resolvedSessionId = normalizeOptionalText$62(input.sessionId);
|
|
@@ -7511,7 +7550,7 @@ async function invokeClaudeCliTransport(input) {
|
|
|
7511
7550
|
});
|
|
7512
7551
|
return {
|
|
7513
7552
|
output,
|
|
7514
|
-
sessionId: normalizeOptionalText$62(resolvedSessionId),
|
|
7553
|
+
sessionId: canonicalRepairSessionId ?? normalizeOptionalText$62(resolvedSessionId),
|
|
7515
7554
|
telemetry: buildClaudeCliTelemetry({
|
|
7516
7555
|
driverResult,
|
|
7517
7556
|
firstOutputAtMs,
|
|
@@ -7544,7 +7583,10 @@ function buildClaudeCliTelemetry(input) {
|
|
|
7544
7583
|
}
|
|
7545
7584
|
const buildClaudeArgs = (input) => {
|
|
7546
7585
|
const args = [];
|
|
7547
|
-
if (input.sessionId)
|
|
7586
|
+
if (input.sessionId) {
|
|
7587
|
+
args.push("--resume", input.sessionId);
|
|
7588
|
+
if (input.executionMode === "repair") args.push("--fork-session");
|
|
7589
|
+
}
|
|
7548
7590
|
appendClaudeConversationPolicyArgs(args, input.conversationPolicy);
|
|
7549
7591
|
args.push("-p", input.prompt);
|
|
7550
7592
|
appendClaudeAgentControllerPermissionModeArgs(args, {
|
|
@@ -7802,6 +7844,10 @@ var ClaudeAgentSdkTransportError = class extends Error {
|
|
|
7802
7844
|
function isFailedResultMessage(resultMessage) {
|
|
7803
7845
|
return resultMessage.subtype !== "success" || resultMessage.is_error === true;
|
|
7804
7846
|
}
|
|
7847
|
+
function resolveCanonicalRepairSessionId(input) {
|
|
7848
|
+
if (input.executionMode !== "repair") return null;
|
|
7849
|
+
return normalizeOptionalText$61(input.sessionId);
|
|
7850
|
+
}
|
|
7805
7851
|
async function invokeClaudeAgentSdkTransport(input) {
|
|
7806
7852
|
const prompt = normalizeOptionalText$61(input.prompt);
|
|
7807
7853
|
if (!prompt) throw new ClaudeAgentSdkTransportError({
|
|
@@ -7810,6 +7856,7 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
7810
7856
|
message: "schema.invalid: prompt is required"
|
|
7811
7857
|
});
|
|
7812
7858
|
const resumedContext = normalizeOptionalText$61(input.sessionId) !== null;
|
|
7859
|
+
const canonicalRepairSessionId = resolveCanonicalRepairSessionId(input);
|
|
7813
7860
|
const streamingMode = input.streamingMode ?? "final";
|
|
7814
7861
|
const resources = await createClaudeAgentSdkInvocationResources({
|
|
7815
7862
|
launchContract: input.launchContract,
|
|
@@ -7893,10 +7940,10 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
7893
7940
|
latestPlanDocument = nextState.latestPlanDocument;
|
|
7894
7941
|
resultMessage = nextState.resultMessage;
|
|
7895
7942
|
resolvedSessionId = nextState.resolvedSessionId;
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7943
|
+
await emitClaudeProviderConversationObservation({
|
|
7944
|
+
canonicalRepairSessionId,
|
|
7945
|
+
observedConversationId: nextState.observedConversationId,
|
|
7946
|
+
onRuntimeEvent: input.onRuntimeEvent
|
|
7900
7947
|
});
|
|
7901
7948
|
}
|
|
7902
7949
|
} catch (error) {
|
|
@@ -7981,7 +8028,7 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
7981
8028
|
});
|
|
7982
8029
|
return {
|
|
7983
8030
|
output,
|
|
7984
|
-
sessionId: normalizeOptionalText$61(resolvedSessionId),
|
|
8031
|
+
sessionId: canonicalRepairSessionId ?? normalizeOptionalText$61(resolvedSessionId),
|
|
7985
8032
|
telemetry: buildClaudeAgentSdkTelemetry({
|
|
7986
8033
|
firstOutputAtMs,
|
|
7987
8034
|
firstStderrAtMs,
|
|
@@ -7993,6 +8040,14 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
7993
8040
|
})
|
|
7994
8041
|
};
|
|
7995
8042
|
}
|
|
8043
|
+
async function emitClaudeProviderConversationObservation(input) {
|
|
8044
|
+
if (!input.observedConversationId || input.canonicalRepairSessionId) return;
|
|
8045
|
+
await input.onRuntimeEvent?.({
|
|
8046
|
+
agentControllerConversationId: input.observedConversationId,
|
|
8047
|
+
phase: "provider_conversation_observed",
|
|
8048
|
+
tsMs: Date.now()
|
|
8049
|
+
});
|
|
8050
|
+
}
|
|
7996
8051
|
async function emitClaudeCodeUsageLimits(input) {
|
|
7997
8052
|
const observedAtMs = Date.now();
|
|
7998
8053
|
const usageLimits = projectClaudeCodeUsageLimits({
|
|
@@ -8129,7 +8184,10 @@ function buildClaudeAgentSdkOptions(input) {
|
|
|
8129
8184
|
} : {}
|
|
8130
8185
|
};
|
|
8131
8186
|
const sessionId = normalizeOptionalText$61(input.sessionId);
|
|
8132
|
-
if (sessionId)
|
|
8187
|
+
if (sessionId) {
|
|
8188
|
+
options.resume = sessionId;
|
|
8189
|
+
if (input.executionMode === "repair") options.forkSession = true;
|
|
8190
|
+
}
|
|
8133
8191
|
const conversationPolicyOptions = resolveClaudeConversationPolicyOptions(input.conversationPolicy);
|
|
8134
8192
|
const model = conversationPolicyOptions.model;
|
|
8135
8193
|
if (model) options.model = model;
|
|
@@ -8337,6 +8395,7 @@ var ClaudeRuntimeError = class extends Error {
|
|
|
8337
8395
|
async function invokeClaudeWithSingleContextHeal(input) {
|
|
8338
8396
|
const result = await invokeWithSingleContextHeal({
|
|
8339
8397
|
contextId: input.sessionId,
|
|
8398
|
+
contextLossPolicy: input.executionMode === "repair" ? "fail" : "rebuild",
|
|
8340
8399
|
createRebuildFailedError: (error) => {
|
|
8341
8400
|
const providerAccessEvidence = getClaudeProviderAccessEvidence(error);
|
|
8342
8401
|
const telemetry = getClaudeTelemetry(error);
|
|
@@ -8506,6 +8565,7 @@ const createClaudeCodeAdapter = (options) => {
|
|
|
8506
8565
|
bridgeSpec: CLAUDE_CODE_CONVERSATION_BRIDGE_SPEC,
|
|
8507
8566
|
invoke: options.invoke,
|
|
8508
8567
|
invokeByMode: options.invokeByMode,
|
|
8568
|
+
repairConversationPolicy: "require_canonical",
|
|
8509
8569
|
resolveDefaultInvoke: () => resolveDefaultClaudeCodeInvoke({
|
|
8510
8570
|
options,
|
|
8511
8571
|
registerAgentSdkQuery
|
|
@@ -11075,6 +11135,7 @@ var CodexRuntimeError = class extends Error {
|
|
|
11075
11135
|
async function invokeCodexWithSingleContextHeal(input) {
|
|
11076
11136
|
const result = await invokeWithSingleContextHeal({
|
|
11077
11137
|
contextId: input.threadId,
|
|
11138
|
+
contextLossPolicy: input.executionMode === "repair" ? "fail" : "rebuild",
|
|
11078
11139
|
createRebuildFailedError: (error) => new CodexRuntimeError({
|
|
11079
11140
|
code: "context.rebuild_failed",
|
|
11080
11141
|
errorType: "adapter",
|
|
@@ -11113,6 +11174,7 @@ async function invokeCodexWithSingleContextHeal(input) {
|
|
|
11113
11174
|
async function invokeCodexAppServer(input) {
|
|
11114
11175
|
const result = await invokeWithSingleContextHeal({
|
|
11115
11176
|
contextId: input.threadId,
|
|
11177
|
+
contextLossPolicy: input.executionMode === "repair" ? "fail" : "rebuild",
|
|
11116
11178
|
createRebuildFailedError: (error) => new CodexRuntimeError({
|
|
11117
11179
|
code: "context.rebuild_failed",
|
|
11118
11180
|
errorType: "adapter",
|
|
@@ -11354,6 +11416,7 @@ const createCodexAdapter = (options) => {
|
|
|
11354
11416
|
options,
|
|
11355
11417
|
registerAppServerTurn
|
|
11356
11418
|
}),
|
|
11419
|
+
repairConversationPolicy: "require_canonical",
|
|
11357
11420
|
resolveDefaultInvoke: () => resolveDefaultCodexInvoke(options),
|
|
11358
11421
|
runtimeOptions: options
|
|
11359
11422
|
});
|
|
@@ -12548,6 +12611,7 @@ function createGrokBuildAdapter(options) {
|
|
|
12548
12611
|
}),
|
|
12549
12612
|
...options.invokeByMode ?? {}
|
|
12550
12613
|
},
|
|
12614
|
+
repairConversationPolicy: "require_canonical",
|
|
12551
12615
|
resolveDefaultInvoke: () => null,
|
|
12552
12616
|
runtimeOptions: options
|
|
12553
12617
|
}),
|
|
@@ -12577,6 +12641,7 @@ function createDefaultGrokBuildInvoke(input) {
|
|
|
12577
12641
|
} : void 0;
|
|
12578
12642
|
const result = await invokeWithSingleContextHeal({
|
|
12579
12643
|
contextId: normalizeOptionalText$50(dispatchInput.agentControllerConversationId),
|
|
12644
|
+
contextLossPolicy: dispatchInput.executionMode === "repair" ? "fail" : "rebuild",
|
|
12580
12645
|
createRebuildFailedError: (error) => new GrokBuildAcpTransportError({
|
|
12581
12646
|
cause: error,
|
|
12582
12647
|
code: "context.rebuild_failed",
|
|
@@ -12831,13 +12896,13 @@ function parseOpenCodeOutputLine(line) {
|
|
|
12831
12896
|
const errorMessage = resolveErrorMessage$1(record, isErrorResult);
|
|
12832
12897
|
const resultText = resolveResultText$1(record, isErrorResult);
|
|
12833
12898
|
const sessionId = resolveSessionId$1(record);
|
|
12834
|
-
if (!errorMessage && resultText === null && sessionId === null) return null;
|
|
12899
|
+
if (!errorMessage && resultText === null && sessionId === null && isErrorResult === null) return null;
|
|
12835
12900
|
return {
|
|
12836
12901
|
errorMessage,
|
|
12837
12902
|
isErrorResult,
|
|
12838
12903
|
resultText,
|
|
12839
12904
|
sessionId,
|
|
12840
|
-
terminal:
|
|
12905
|
+
terminal: isErrorResult === true
|
|
12841
12906
|
};
|
|
12842
12907
|
}
|
|
12843
12908
|
function parseOpenCodeOutputDocument(text) {
|
|
@@ -12876,9 +12941,8 @@ function resolveResultText$1(record, isErrorResult) {
|
|
|
12876
12941
|
return resolveTextByPaths(record, OPENCODE_TEXT_PATHS);
|
|
12877
12942
|
}
|
|
12878
12943
|
function resolveErrorMessage$1(record, isErrorResult) {
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
return null;
|
|
12944
|
+
if (isErrorResult !== true) return null;
|
|
12945
|
+
return resolveStringByPaths$1(record, OPENCODE_ERROR_MESSAGE_PATHS);
|
|
12882
12946
|
}
|
|
12883
12947
|
function resolveIsErrorResult$1(record) {
|
|
12884
12948
|
if (record.type === "error") return true;
|
|
@@ -12922,10 +12986,6 @@ function resolveTextByPaths(record, paths) {
|
|
|
12922
12986
|
}
|
|
12923
12987
|
return null;
|
|
12924
12988
|
}
|
|
12925
|
-
function looksLikeErrorSignal(value) {
|
|
12926
|
-
const lowered = value.toLowerCase();
|
|
12927
|
-
return lowered.includes("error") || lowered.includes("failed") || looksLikeRuntimePermissionDenialMessage(value) || lowered.includes("unauthorized") || lowered.includes("not logged in") || lowered.includes("invalid") || lowered.includes("quota") || lowered.includes("rate") || lowered.includes("unsupported model") || lowered.includes("model is not supported");
|
|
12928
|
-
}
|
|
12929
12989
|
function normalizeOptionalText$48(value) {
|
|
12930
12990
|
const normalized = String(value ?? "").trim();
|
|
12931
12991
|
return normalized.length > 0 ? normalized : null;
|
|
@@ -13474,23 +13534,31 @@ async function invokeOpenCodeServerTransport(input) {
|
|
|
13474
13534
|
...input,
|
|
13475
13535
|
deadlineMs
|
|
13476
13536
|
});
|
|
13537
|
+
const client = createOpencodeClient({
|
|
13538
|
+
baseUrl: serverUrl,
|
|
13539
|
+
directory: input.openCodeWorkdir,
|
|
13540
|
+
responseStyle: "data",
|
|
13541
|
+
throwOnError: true
|
|
13542
|
+
});
|
|
13543
|
+
const canonicalRepairSessionId = input.executionMode === "repair" ? normalizeOptionalText$46(input.sessionId) : null;
|
|
13477
13544
|
let result;
|
|
13478
13545
|
try {
|
|
13546
|
+
const executionSessionId = canonicalRepairSessionId ? await forkOpenCodeSessionWithClient({
|
|
13547
|
+
client,
|
|
13548
|
+
openCodeWorkdir: input.openCodeWorkdir,
|
|
13549
|
+
sourceSessionId: canonicalRepairSessionId
|
|
13550
|
+
}) : normalizeOptionalText$46(input.sessionId);
|
|
13479
13551
|
result = await runOpenCodeServerTurn({
|
|
13480
|
-
client
|
|
13481
|
-
baseUrl: serverUrl,
|
|
13482
|
-
directory: input.openCodeWorkdir,
|
|
13483
|
-
responseStyle: "data",
|
|
13484
|
-
throwOnError: true
|
|
13485
|
-
}),
|
|
13552
|
+
client,
|
|
13486
13553
|
conversationPolicy: input.conversationPolicy,
|
|
13487
13554
|
instructionPrompt: input.instructionPrompt,
|
|
13555
|
+
observedSessionId: canonicalRepairSessionId,
|
|
13488
13556
|
onInteractionRequest: input.onInteractionRequest,
|
|
13489
13557
|
onPreview: input.onPreview,
|
|
13490
13558
|
openCodeWorkdir: input.openCodeWorkdir,
|
|
13491
13559
|
prompt,
|
|
13492
13560
|
server,
|
|
13493
|
-
sessionId:
|
|
13561
|
+
sessionId: executionSessionId,
|
|
13494
13562
|
streamingMode: input.streamingMode ?? "final"
|
|
13495
13563
|
});
|
|
13496
13564
|
} catch (error) {
|
|
@@ -13505,7 +13573,7 @@ async function invokeOpenCodeServerTransport(input) {
|
|
|
13505
13573
|
});
|
|
13506
13574
|
return {
|
|
13507
13575
|
output: result.output,
|
|
13508
|
-
sessionId: result.sessionId,
|
|
13576
|
+
sessionId: canonicalRepairSessionId ?? result.sessionId,
|
|
13509
13577
|
telemetry: server.buildTelemetry({
|
|
13510
13578
|
invokedAtMs,
|
|
13511
13579
|
previewEmitted: result.previewEmitted,
|
|
@@ -13533,13 +13601,11 @@ async function forkOpenCodeServerSession(input) {
|
|
|
13533
13601
|
responseStyle: "data",
|
|
13534
13602
|
throwOnError: true
|
|
13535
13603
|
});
|
|
13536
|
-
const sessionId =
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
throwOnError: true
|
|
13542
|
-
}));
|
|
13604
|
+
const sessionId = await forkOpenCodeSessionWithClient({
|
|
13605
|
+
client,
|
|
13606
|
+
openCodeWorkdir: input.openCodeWorkdir,
|
|
13607
|
+
sourceSessionId
|
|
13608
|
+
});
|
|
13543
13609
|
const title = normalizeOptionalText$46(input.title);
|
|
13544
13610
|
if (title) try {
|
|
13545
13611
|
await client.session.update({
|
|
@@ -13563,6 +13629,15 @@ async function forkOpenCodeServerSession(input) {
|
|
|
13563
13629
|
await server.close();
|
|
13564
13630
|
}
|
|
13565
13631
|
}
|
|
13632
|
+
async function forkOpenCodeSessionWithClient(input) {
|
|
13633
|
+
return readOpenCodeSessionId(await input.client.session.fork({
|
|
13634
|
+
directory: input.openCodeWorkdir,
|
|
13635
|
+
sessionID: input.sourceSessionId
|
|
13636
|
+
}, {
|
|
13637
|
+
responseStyle: "data",
|
|
13638
|
+
throwOnError: true
|
|
13639
|
+
}));
|
|
13640
|
+
}
|
|
13566
13641
|
async function startHealthyOpenCodeServer(input) {
|
|
13567
13642
|
const startupTimeoutLimits = [SERVER_INITIAL_STARTUP_TIMEOUT_MS, SERVER_STARTUP_TIMEOUT_MS];
|
|
13568
13643
|
let lastError = null;
|
|
@@ -13680,7 +13755,7 @@ function readRemainingTimeoutMs(deadlineMs) {
|
|
|
13680
13755
|
}
|
|
13681
13756
|
async function runOpenCodeServerTurn(input) {
|
|
13682
13757
|
const sessionId = await resolveOpenCodeSessionId(input);
|
|
13683
|
-
input.server.emitProviderConversationObserved(sessionId);
|
|
13758
|
+
input.server.emitProviderConversationObserved(normalizeOptionalText$46(input.observedSessionId) ?? sessionId);
|
|
13684
13759
|
const interactionHandler = new OpenCodeInteractionHandler({
|
|
13685
13760
|
client: input.client,
|
|
13686
13761
|
directory: input.openCodeWorkdir,
|
|
@@ -14403,6 +14478,7 @@ var OpenCodeRuntimeError = class extends Error {
|
|
|
14403
14478
|
async function invokeOpenCodeWithSingleContextHeal(input) {
|
|
14404
14479
|
const result = await invokeWithSingleContextHeal({
|
|
14405
14480
|
contextId: input.sessionId,
|
|
14481
|
+
contextLossPolicy: input.executionMode === "repair" ? "fail" : "rebuild",
|
|
14406
14482
|
createRebuildFailedError: (error) => new OpenCodeRuntimeError({
|
|
14407
14483
|
code: "context.rebuild_failed",
|
|
14408
14484
|
errorType: "adapter",
|
|
@@ -14440,12 +14516,13 @@ async function invokeOpenCodeWithSingleContextHeal(input) {
|
|
|
14440
14516
|
}
|
|
14441
14517
|
async function invokeOpenCodeOnce(input) {
|
|
14442
14518
|
try {
|
|
14443
|
-
if (input.onInteractionRequest) return await invokeOpenCodeServerTransport({
|
|
14519
|
+
if (input.onInteractionRequest || input.executionMode === "repair" && input.sessionId) return await invokeOpenCodeServerTransport({
|
|
14444
14520
|
launchContract: input.launchContract,
|
|
14445
14521
|
openCodeTimeoutMs: input.openCodeTimeoutMs,
|
|
14446
14522
|
openCodeWorkdir: input.openCodeWorkdir,
|
|
14447
14523
|
conversationPolicy: input.conversationPolicy,
|
|
14448
14524
|
env: input.env,
|
|
14525
|
+
executionMode: input.executionMode,
|
|
14449
14526
|
instructionPrompt: input.instructionPrompt,
|
|
14450
14527
|
onInteractionRequest: input.onInteractionRequest,
|
|
14451
14528
|
...input.onPreview ? { onPreview: input.onPreview } : {},
|
|
@@ -14500,6 +14577,7 @@ const createOpenCodeAdapter = (options) => {
|
|
|
14500
14577
|
bridgeSpec: OPENCODE_CONVERSATION_BRIDGE_SPEC,
|
|
14501
14578
|
invoke: options.invoke,
|
|
14502
14579
|
invokeByMode: options.invokeByMode,
|
|
14580
|
+
repairConversationPolicy: "require_canonical",
|
|
14503
14581
|
resolveDefaultInvoke: () => resolveDefaultOpenCodeInvoke(options),
|
|
14504
14582
|
runtimeOptions: options
|
|
14505
14583
|
});
|
|
@@ -17524,7 +17602,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
17524
17602
|
};
|
|
17525
17603
|
}
|
|
17526
17604
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
17527
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
17605
|
+
const { getAuthSessionMetadata } = await import("./auth-session-73FalW41.js").then((n) => n.t);
|
|
17528
17606
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
17529
17607
|
}
|
|
17530
17608
|
function resolveHostKey(baseUrl) {
|
|
@@ -20829,6 +20907,17 @@ function containsOpenMeldManagedBinaryPath(value, pathInput = {}) {
|
|
|
20829
20907
|
const normalizedValue = normalizeManagedBinaryPathText(value);
|
|
20830
20908
|
return containsExactManagedPath(normalizedValue, normalizeManagedBinaryPathText(openMeldManagedBinaryPath(pathInput))) || containsManagedVersionBinaryPath(normalizedValue, pathInput);
|
|
20831
20909
|
}
|
|
20910
|
+
function resolveOpenMeldManagedVersionBinaryRootPath(value) {
|
|
20911
|
+
const normalizedPath = normalizeManagedBinaryPathText(value);
|
|
20912
|
+
const segments = normalizedPath.split("/");
|
|
20913
|
+
const binaryName = segments.pop();
|
|
20914
|
+
const versionSegment = segments.pop();
|
|
20915
|
+
const versionsDirectory = segments.pop();
|
|
20916
|
+
if (binaryName !== MANAGED_BINARY_NAME || versionsDirectory !== "versions" || !versionSegment || !isValidManagedVersionSegment(versionSegment)) return null;
|
|
20917
|
+
const rootPath = segments.join("/");
|
|
20918
|
+
if (rootPath.length > 0) return rootPath;
|
|
20919
|
+
return normalizedPath.startsWith("/") ? "/" : null;
|
|
20920
|
+
}
|
|
20832
20921
|
function isManagedVersionBinaryPath(normalizedPath, pathInput) {
|
|
20833
20922
|
const versionsRoot = normalizeVersionsRoot(pathInput);
|
|
20834
20923
|
if (!normalizedPath.startsWith(versionsRoot)) return false;
|
|
@@ -22252,6 +22341,7 @@ function resolveExpectedDaemonServiceManagerCommandPaths(input) {
|
|
|
22252
22341
|
//#endregion
|
|
22253
22342
|
//#region src/local-service/lifecycle/daemon-service-process-inventory.ts
|
|
22254
22343
|
const POSIX_PROCESS_LINE_PATTERN = /^(\d+)\s+(\d+)\s+(.+)$/;
|
|
22344
|
+
const TRAILING_PATH_SEPARATOR_PATTERN = /\/+$/u;
|
|
22255
22345
|
const OPENMELD_PACKAGE_INSTALL_ENTRY_SEGMENT = "/node_modules/openmeld/dist/openmeld.js";
|
|
22256
22346
|
const OPENMELD_DEV_LOCAL_ENTRY_SEGMENT = "/openmeld-dev.js";
|
|
22257
22347
|
const ALL_OPENMELD_ENV_PRESETS = [
|
|
@@ -22326,6 +22416,8 @@ function looksLikeCurrentLaneDaemonCandidate(input) {
|
|
|
22326
22416
|
return isDaemonRuntimeProcessCommand(input.normalizedCommand) || input.normalizedCommand.includes(input.launcherPath) || input.wrapperPaths.some((wrapperPath) => daemonCommandContainsExactPath(input.normalizedCommand, wrapperPath)) || input.normalizedCommand.includes("legacy-detached");
|
|
22327
22417
|
}
|
|
22328
22418
|
function resolveDaemonCommandLaneScope(input) {
|
|
22419
|
+
const managedVersionRoot = resolveDaemonCommandManagedVersionRoot(input.normalizedCommand);
|
|
22420
|
+
if (managedVersionRoot) return managedVersionRoot === normalizeRootPath(resolveOpenMeldRootDir(input.pathInput)) ? "current_lane" : "other_lane";
|
|
22329
22421
|
const currentLane = resolveOpenMeldEnvPreset(input.pathInput);
|
|
22330
22422
|
const managedLane = resolveManagedDaemonPathLane({
|
|
22331
22423
|
normalizedCommand: input.normalizedCommand,
|
|
@@ -22336,6 +22428,13 @@ function resolveDaemonCommandLaneScope(input) {
|
|
|
22336
22428
|
if (!detectedLane) return "not_openmeld";
|
|
22337
22429
|
return detectedLane === currentLane ? "current_lane" : "other_lane";
|
|
22338
22430
|
}
|
|
22431
|
+
function resolveDaemonCommandManagedVersionRoot(normalizedCommand) {
|
|
22432
|
+
for (const token of tokenizeDaemonCommand(normalizedCommand)) {
|
|
22433
|
+
const rootPath = resolveOpenMeldManagedVersionBinaryRootPath(token);
|
|
22434
|
+
if (rootPath) return normalizeRootPath(rootPath);
|
|
22435
|
+
}
|
|
22436
|
+
return null;
|
|
22437
|
+
}
|
|
22339
22438
|
function resolveManagedDaemonPathLane(input) {
|
|
22340
22439
|
for (const preset of ALL_OPENMELD_ENV_PRESETS) {
|
|
22341
22440
|
const lanePathInput = resolveLanePathInput(input.pathInput, preset);
|
|
@@ -22455,6 +22554,10 @@ function resolveLanePathInput(pathInput, preset) {
|
|
|
22455
22554
|
function normalizeProcessCommand(command) {
|
|
22456
22555
|
return command.trim().toLowerCase().replaceAll("\\", "/");
|
|
22457
22556
|
}
|
|
22557
|
+
function normalizeRootPath(path) {
|
|
22558
|
+
const normalized = normalizeProcessCommand(path);
|
|
22559
|
+
return normalized === "/" ? normalized : normalized.replace(TRAILING_PATH_SEPARATOR_PATTERN, "");
|
|
22560
|
+
}
|
|
22458
22561
|
//#endregion
|
|
22459
22562
|
//#region src/local-service/lifecycle/daemon-service-legacy-shared.ts
|
|
22460
22563
|
const PROD_ENV_PRESET = "prod";
|
|
@@ -23715,7 +23818,6 @@ async function runCursorAcpTurn(input) {
|
|
|
23715
23818
|
});
|
|
23716
23819
|
assertSuccessfulStopReason(promptResult);
|
|
23717
23820
|
const output = input.session.readCollectedAgentText();
|
|
23718
|
-
assertCursorOutputIsNotAccountBlock(output);
|
|
23719
23821
|
await emitFinalPreviewIfRequested({
|
|
23720
23822
|
onPreview: input.input.onPreview,
|
|
23721
23823
|
output,
|
|
@@ -24193,14 +24295,6 @@ function assertSuccessfulStopReason(value) {
|
|
|
24193
24295
|
message: `runtime.turn.${stopReason}: Cursor ACP ended the turn with stopReason '${stopReason}'`
|
|
24194
24296
|
});
|
|
24195
24297
|
}
|
|
24196
|
-
function assertCursorOutputIsNotAccountBlock(output) {
|
|
24197
|
-
if (!isCursorPlanUpgradeRequired(output)) return;
|
|
24198
|
-
throw new CursorAcpTransportError({
|
|
24199
|
-
code: "cursor.plan_upgrade_required",
|
|
24200
|
-
errorType: "adapter",
|
|
24201
|
-
message: output.trim()
|
|
24202
|
-
});
|
|
24203
|
-
}
|
|
24204
24298
|
function isCursorPlanUpgradeRequired(value) {
|
|
24205
24299
|
return CURSOR_PLAN_UPGRADE_REQUIRED_RE.test(value.trim());
|
|
24206
24300
|
}
|
|
@@ -24311,6 +24405,7 @@ function createCursorAdapter(options) {
|
|
|
24311
24405
|
}),
|
|
24312
24406
|
...options.invokeByMode ?? {}
|
|
24313
24407
|
},
|
|
24408
|
+
repairConversationPolicy: "require_canonical",
|
|
24314
24409
|
resolveDefaultInvoke: () => null,
|
|
24315
24410
|
runtimeOptions: options
|
|
24316
24411
|
}),
|
|
@@ -24336,6 +24431,7 @@ function createDefaultCursorInvoke(input) {
|
|
|
24336
24431
|
} : void 0;
|
|
24337
24432
|
const result = await invokeWithSingleContextHeal({
|
|
24338
24433
|
contextId: normalizeOptionalText$40(dispatchInput.agentControllerConversationId),
|
|
24434
|
+
contextLossPolicy: dispatchInput.executionMode === "repair" ? "fail" : "rebuild",
|
|
24339
24435
|
createRebuildFailedError: (error) => error instanceof CursorAcpTransportError && error.code === "cursor.plan_upgrade_required" ? error : new CursorAcpTransportError({
|
|
24340
24436
|
cause: error,
|
|
24341
24437
|
code: "context.rebuild_failed",
|
|
@@ -25127,6 +25223,7 @@ var OpenClawRuntimeError = class extends Error {
|
|
|
25127
25223
|
async function invokeOpenClawWithSingleContextHeal(input) {
|
|
25128
25224
|
const result = await invokeWithSingleContextHeal({
|
|
25129
25225
|
contextId: input.sessionId,
|
|
25226
|
+
contextLossPolicy: "rebuild",
|
|
25130
25227
|
createRebuildFailedError: (error) => new OpenClawRuntimeError({
|
|
25131
25228
|
code: "context.rebuild_failed",
|
|
25132
25229
|
errorType: "adapter",
|
|
@@ -37156,9 +37253,9 @@ function createModelCatalogReadSession(input) {
|
|
|
37156
37253
|
async function readModelCatalogOnce(baseUrl) {
|
|
37157
37254
|
try {
|
|
37158
37255
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
37159
|
-
import("./dist-
|
|
37256
|
+
import("./dist-DXBncfSC.js").then((n) => n.w),
|
|
37160
37257
|
import("./base-url-Cv9x5Es9.js").then((n) => n.n),
|
|
37161
|
-
import("./api-client-foundation-
|
|
37258
|
+
import("./api-client-foundation-CfNo8-pE.js").then((n) => n.t)
|
|
37162
37259
|
]);
|
|
37163
37260
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
37164
37261
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -106397,4 +106494,4 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
106397
106494
|
//#endregion
|
|
106398
106495
|
export { runAgentsRepair as $, readAgentActivityIntegrationStatus as $a, performManagedInstall as $i, formatDaemonServiceDowngradeBlockedRecommendation as $n, resolveProfileWorkspaceRuntime as $r, readBundledOpenMeldCliSkillDocumentByPath as $t, assertFullSignalIdArgument as A, alignSelectedOpenMeldProfileStorage as Aa, getAgentControllerPermissionModeDisplayMetadata as Ai, inspectSpaceCacheFile as An, unbindProject as Ao, buildAgentOverviewFromContract as Ar, shouldEmitAgentOverview as At, persistAgentTransportSelection as B, getProfileDefaultView as Ba, getCurrentCommandCheckState as Bi, formatRemovedCcRelationMessage as Bn, outLine as Bo, runDaemonServiceFullAlignment as Br, parseJsonResponse$1 as Bt, toSpaceMetaUpsertInput as C, createOpenMeldAgentProfile as Ca, classifyDaemonServiceWakeability as Ci, submitProfileRuntimeAgentControllerReport as Cn, bindProject as Co, registerSpaceMemberSelectionOptions as Cr, runDaemonTeardownStrict as Ct, formatHumanReadTargetList as D, primeOpenMeldProfilesSessionCache as Da, resolveOpenMeldEnvironmentTarget as Di, resolveLocalAgentControllerBlockerReasonCodes as Dn, removeProjectConnection as Do, registerDaemonControlTargetOptions as Dr, reconcileCliVersionView as Dt, buildHumanReplyContextSummary as E, listOpenMeldProfiles as Ea, resolveDaemonDeviceId as Ei, collectLocalAgentControllerInventory as En, migrateProjectBindingStore as Eo, getCliVersionInfo as Er, buildProfileWorkspaceRows as Et, emitSpaceAgentOverview as F, buildHumanAuthenticationCard as Fa, resolveAgentExecutionStatus as Fi, buildSignalIndex as Fn, renderTextInfoCard as Fo, OPENMELD_AGENT_MENTAL_MODEL_LINES as Fr, fetchSpaceMeta as Ft, runAgentsCustomList as G, requestLocalAgentActivitySync as Ga, resolveVersionChangeDirection as Gi, assessCliUpdate as Gn, cliJsonSkillsShowEnvelopeSchema as Go, formatAgentReplyReadinessLabel as Gr, runDaemonStartDecisionPrompt as Gt, runAgents as H, LocalProjectConnectionError as Ha, resetCurrentCommandCheckState as Hi, promptSearchSelect as Hn, cliJsonOutputEnvelopeSchema as Ho, resolveServiceReadinessFromServiceStatus as Hr, writeInstalledLocalComponentsSnapshot as Ht, emitSpaceCliAgentOverview as I, createAuthenticationError as Ia, resolveAgentProfileEditCapabilities as Ii, buildSignalMessageReadProjection as In, sanitizeTerminalDisplayText as Io, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Ir, updateSpaceMeta as It, runAgentsDetect as J, resolveAgentActivityRouteForPath as Ja, getDaemonSystemServiceLogPath as Ji, readDispatchOwnedRuntimeGuard as Jn, revokeOrganizationJoinLinkResponseSchema as Jo, mapAgentReplyReadinessToLegacyAutoReply as Jr, runSkillsEnsure as Jt, runAgentsCustomRemove as K, isAgentActivityRouteRegistered as Ka, readCurrentDaemonRuntimeContext as Ki, isCliUpdateCheckApplicable as Kn, getOrganizationJoinLinkResponseSchema as Ko, formatDeviceReplyReadinessLabel as Kr, collectSkillsReadinessSnapshot as Kt, prepareLocalAgentReadiness as L, resolveAuthenticationGuidance as La, resolveEvidenceSyncHealth as Li, buildSpaceRoundReadProjection as Ln, emitCliJsonEnvelope as Lo, areAllowedActionsEquivalent as Lr, readGatewayJsonResponse as Lt, prepareAuthenticatedSpaceCommandContext as M, getSelectedOpenMeldProfileId as Ma, listAgentControllerPermissionModeOptions as Mi, assertNoRemovedCcSpaceAddressingSyntax as Mn, enqueueControllerTaskLifecycleEventWhileLocked as Mo, formatDualViewGuideForDisplay as Mr, readDaemonStartFailureLogTailLines as Mt, resolveOpenMeldProfileForSpaceCommand as N, setSelectedOpenMeldProfileId as Na, parseAgentControllerRef as Ni, buildDispatchResultMessageReadProjection as Nn, readControllerTaskLifecycleOutboxHealth as No, buildDualViewGuideMessage as Nr, fetchSpaceUpdates as Nt, parseEnvelope as O, resolveOpenMeldProfile as Oa, buildAgentControllerRef as Oi, resolveLocalAgentControllerLaunchability as On, runIfAgentActivityBindingGenerationIsCurrent as Oo, registerAuthLoginRequestOptions as Or, emitDaemonAgentOverview as Ot, resolveSpaceAccessLabel as P, buildAgentAuthenticationGuide as Pa, resolveAgentControllerPermissionModeForController as Pi, buildDispatchResultReplyWorkflowProjection as Pn, renderInfoCard as Po, formatAgentOverviewPayload as Pr, createCliSpaceApi as Pt, runAgentsManage as Q, installAgentActivityIntegrations as Qa, buildInstallSelfJsonPayload as Qi, resolveElapsedTimeMs as Qn, createModelCatalogReadSession as Qr, ensureLocalSkills as Qt, buildReplyReadinessGuidance as R, resolveAuthenticationGuidanceFromError as Ra, resolveNativeAgentControllerPermissionModeForController as Ri, buildUpdatesReplyWorkflowProjection as Rn, errLine as Ro, buildAgentFacingPublicationModeGuideLines as Rr, readGatewayTextResponse as Rt, loadSpaceSignalIndexOrNull as S, resolveOpenMeldProfileOrNull as Sa, classifyDaemonServiceRunStartability as Si, computeRetryDelayMs as Sn, removeProjectOutbox as So, getCommandHintsFromContract as Sr, runDaemonStop as St, buildFormalSignalReadPayload as T, deleteOpenMeldProfile as Ta, ensureDaemonRuntimePaths as Ti, submitRuntimeAgentControllerReports as Tn, listProjectConnectionsWithStatus as To, registerSkillsTargetSelectionOptions as Tr, buildProfileWorkspacePresentation as Tt, runAgentsConfig as U, validateLocalProjectConnectionPath as Ua, startCurrentCommandCheckScope as Ui, isReturnKeypress as Un, cliJsonSkillsListEnvelopeSchema as Uo, resolveDaemonServiceFreshnessWarning as Ur, resolveDaemonServiceParticipationStatus as Ut, resolveAgentProfileSetup as V, setProfileDefaultView as Va, isCurrentCommandCheckScopeActive as Vi, promptSearchMultiselect as Vn, cliBinaryDeltaPatchSchema as Vo, formatDaemonFailureContextText as Vr, resolveLocalComponentsStatus as Vt, runAgentsCustomAdd as W, LocalDaemonControlPlaneClientError as Wa, inspectDaemonServiceInventory as Wi, runInteractivePrompt as Wn, cliJsonSkillsLoadEnvelopeSchema as Wo, resolveCurrentReplyReadinessSnapshot as Wr, runDaemonServiceParticipationGate as Wt, runAgentsEnable as X, AGENT_ACTIVITY_INTEGRATION_OWNER as Xa, readDaemonServiceJobCrashExitCode as Xi, writeDispatchSpaceActionRecord as Xn, package_default as Xo, resolveOpenClawLocalDiagnosticsValue as Xr, runSkillsUninstall as Xt, runAgentsDisable as Y, unregisterAgentActivityRoute as Ya, isDaemonServiceJobNeverSpawned as Yi, readDispatchSpaceActionContextFromEnv as Yn, compareAgentControllerRefsForDisplay as Yo, resolveGatewayChainReadiness as Yr, runSkillsInstall as Yt, runAgentsList as Z, defaultManagedIntegrationPaths as Za, resolveDaemonServiceManager as Zi, formatElapsedTime as Zn, syncProfileWorkspaceState as Zr, runSkillsUpdate as Zt, runSpaceWriteWithPasswordRetry as _, parseCliViewMode as _a, buildDaemonRouteObservationPresentation as _i, promptTextEntry as _n, normalizeSharedSessionTitle as _o, createSpaceUpdatesGuideError as _r, runDaemonInterrupt as _t, runSpaceDelete as a, readVersionState as aa, setOpenMeldManagedProfileWorkspace as ai, ensureCommandAuthenticationOrCancel as an, formatOpenMeldCliLine as ao, createProfileMenuGuideError as ar, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, isSelectedOpenMeldProfileRequiredError as ba, buildDaemonServiceTargetSpec as bi, resolveServiceParticipationReadiness as bn, removeProjectInbox as bo, createUpgradeConfirmationGuideError as br, runDaemonSnapshot as bt, runSpaceLeave as c, resolveOpenMeldDistribution as ca, syncDeviceRuntimeStateProjection as ci, runAuthLogout as cn, resolveSetupFollowUpCliEntryCommand as co, createSpaceAliasTargetGuideError as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, resolveCurrentDaemonExpectedVersion as da, listAgentTargetStates as di, buildAuthStatusRows as dn, readDaemonServiceContract as do, createSpaceMenuGuideError as dr, resolveSpaceSendText as dt, buildNextVersionState as ea, ensureOpenMeldManagedProfileWorkspace as ei, readRuntimeReportingHealthState as en, resolveAgentActivityDispatcherCommand as eo, formatDaemonServiceMissingRecommendation as er, runAgentsShow as et, runSpaceSend as f, buildHumanErrorCopy as fa, reconcileNewRunnableBuiltinAgentsForSetup as fi, buildAuthStatusSnapshot as fn, upsertDaemonServiceContract as fo, createSpacePublicationSetGuideError as fr, runDaemon as ft, runSpaceReadWithPasswordRetry as g, formatMessage as ga, PREPARE_SESSION_RECONNECT_GRACE_MS as gi, resolveCreateProfileName as gn, resolveObservedAgentActivityBinding as go, createSpaceTargetGuideError as gr, runDaemonInstall as gt, uploadPreparedSpaceFiles as h, createPresenter as ha, resolveLocalRegistryAgentIdFromAgentControllerRef as hi, resolveCreateProfileKind as hn, buildAgentActivityEvent as ho, createSpaceSubcommandTargetGuideError as hr, runDaemonCancel as ht, runSpaceCreate as i, fetchLatestPackageInfo as ia, setCustomProfileWorkspace as ii, buildCommandAuthenticationPromptMessage as in, formatOpenMeldCliCommands as io, createProfileCreateGuideError as ir, colorizeDisplayProfileLabel as it, assertValidSpaceIdTarget as j, clearSelectedOpenMeldProfileId as ja, getAgentControllerPermissionModeFieldLabel as ji, upsertSpaceConfig as jn, canonicalizeLocalProjectPath as jo, DualViewGuideError as jr, runDaemonStartupPreflight as jt, isSpaceCommandOutputHandledError as k, updateOpenMeldProfile as ka, createAgentExecutionStatusDisplayRows as ki, resolveLocalAgentControllerReportDecision as kn, setDefaultProjectConnection as ko, registerBuiltinAgentSelectionOptions as kr, createDelayedSpinner as kt, runSpaceList as l, resolveDaemonRuntimeContractCompatibility as la, createPrimaryBindingReadSession as li, runAuthMenu as ln, resolveUserFacingCliEntryCommand as lo, createSpaceContractSetGuideError as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, renderHumanTextErrorCard as ma, notifyDaemonRouteCatalogChanged as mi, createProfileByKind as mn, removeAgentActivityContextCache as mo, createSpaceResultGuideError as mr, runDaemonBackgroundStartForDecision as mt, promptAndConfirmSpacePassword as n, ensureVersionStateReady as na, readProfileWorkspaceConfig as ni, connectWebSocket as nn, formatInlineOpenMeldCliCommands as no, createDoctorFailedGuideError as nr, postLocalParticipationMutationReconcile as nt, runSpaceHistory as o, writeVersionState as oa, validateCustomProfileWorkspacePath as oi, evaluateCommandAuthentication as on, formatOpenMeldCliTextBlock as oo, createResetConfirmationGuideError as or, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, renderHumanErrorCard as pa, listBuiltinAgentsRegistryEntries as pi, formatActiveOrganizationLabel as pn, readAgentActivityContextForPath as po, createSpaceRemoveMembersGuideError as pr, runDaemonAutostart as pt, runAgentsCustomUpdate as q, registerAgentActivityRoute as qa, readCurrentObservedDaemonRuntimeStatus as qi, assertDispatchOwnedRuntimePublicWriteAllowed as qn, organizationJoinLinkErrorResponseSchema as qo, formatHumanReplyReadinessReason as qr, runSkillsCheck as qt, runSpaceAddMembers as r, fetchLatestCliBinaryRelease as ra, resolveConfiguredProfileWorkspacePath as ri, assessServerRequiredVersion as rn, formatOpenMeldCliCommand as ro, createProfileActionGuideError as rr, colorizeAgentLabel as rt, runSpaceJoin as s, isBinaryDistribution as sa, describeProfileWorkspacePathValidationFailure as si, runAuthLogin as sn, formatProfileAwareOpenMeldCliCommands as so, createSpaceAddMembersGuideError as sr, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, compareSemver as ta, normalizeCustomProfileWorkspacePath as ti, readRecentDaemonDispatchJournalEvents as tn, uninstallAgentActivityIntegrations as to, canUseInteractivePrompts as tr, formatTransportModeDisplay as tt, runSpacePassword as u, toStartBackgroundHelperExecutionCompatibility as ua, resolveAgentProfilePrimaryAgentControllerReport as ui, runAuthStatus as un, syncLocalAgentActivity as uo, createSpaceLeaveGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, resolveRuntimeContext as va, buildOnboardingPlan as vi, ensureAgentProfileRuntimeBinding as vn, readCodexSessionTitles as vo, createStartAgentIdentityGuideError as vr, runDaemonReinstall as vt, buildFormalDispatchResultReadPayload as w, createOpenMeldHumanProfile as wa, readRecentDaemonLifecycleEvents as wi, submitRuntimeAgentControllerReport as wn, listProjectBindings as wo, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as wr, runDaemonUninstall as wt, loadSpaceIdentityDirectoryOrNull as x, requireOpenMeldProfile as xa, resolveDaemonServiceAlignmentDecision as xi, assessActionParticipationCandidate as xn, readAgentActivityOutboxHealth as xo, getCommandEntryContract as xr, runDaemonStatusFlow as xt, emitHumanReadSignalsTextProjection as y, resolveViewProfileKey as ya, getSetupFlowCopy as yi, formatServiceParticipationReadinessLabel as yn, enqueueAgentActivityHookEvent as yo, createStartAuthenticationGuideError as yr, runDaemonRunAfterEntryChecks as yt, resolveHumanControllerDisplayName as z, resolveAuthenticationGuidanceFromMessage as za, finishCurrentCommandCheckScope as zi, createSpaceMemberIdentityIndex as zn, outJsonLine as zo, canonicalizeAllowedActions as zr, toStructuredGatewayFailure as zt };
|
|
106399
106496
|
|
|
106400
|
-
//# sourceMappingURL=command-
|
|
106497
|
+
//# sourceMappingURL=command-ByA1L4nv.js.map
|