openmeld 0.3.108 → 0.3.109
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-_jOOm7Db.js → add-me-membership-DJPXJ1t0.js} +2 -2
- package/dist/{add-me-membership-_jOOm7Db.js.map → add-me-membership-DJPXJ1t0.js.map} +1 -1
- package/dist/{api-client-foundation-BMW8SgH8.js → api-client-foundation-BQgqRvE9.js} +3 -3
- package/dist/{api-client-foundation-BMW8SgH8.js.map → api-client-foundation-BQgqRvE9.js.map} +1 -1
- package/dist/{auth-session-B_VxWQiU.js → auth-session-D4Jml91O.js} +2 -2
- package/dist/{auth-session-B_VxWQiU.js.map → auth-session-D4Jml91O.js.map} +1 -1
- package/dist/{command-NA54nJ63.js → command-BZRJ4QV_.js} +206 -141
- package/dist/{command-NA54nJ63.js.map → command-BZRJ4QV_.js.map} +1 -1
- package/dist/{dist-BvewFyUz.js → dist-C_v_J7PS.js} +10 -4
- package/dist/dist-C_v_J7PS.js.map +1 -0
- package/dist/openmeld.js +149 -27
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-DCZK5hCV.js → runtime-transport-C3tPSwZv.js} +5 -4
- package/dist/runtime-transport-C3tPSwZv.js.map +1 -0
- package/package.json +1 -1
- package/dist/dist-BvewFyUz.js.map +0 -1
- package/dist/runtime-transport-DCZK5hCV.js.map +0 -1
|
@@ -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-C_v_J7PS.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-C3tPSwZv.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-D4Jml91O.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-BQgqRvE9.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.109",
|
|
39
39
|
openMeldReleaseDate: "2026-08-26",
|
|
40
40
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
41
41
|
license: "MIT",
|
|
@@ -3342,9 +3342,9 @@ function isSameContractState(current, candidate) {
|
|
|
3342
3342
|
//#endregion
|
|
3343
3343
|
//#region src/agent-activity/opencode-storage.ts
|
|
3344
3344
|
function resolveOpenCodeDatabasePath(input) {
|
|
3345
|
-
return join(normalizeOptionalText$
|
|
3345
|
+
return join(normalizeOptionalText$73(input.xdgDataHome ?? process.env.XDG_DATA_HOME) ?? join(input.homeDir, ".local", "share"), "opencode", "opencode.db");
|
|
3346
3346
|
}
|
|
3347
|
-
function normalizeOptionalText$
|
|
3347
|
+
function normalizeOptionalText$73(value) {
|
|
3348
3348
|
const normalized = value?.trim();
|
|
3349
3349
|
return normalized ? normalized : null;
|
|
3350
3350
|
}
|
|
@@ -4720,8 +4720,8 @@ const MACOS_TEMP_FOLDER_RE = /^\/var\/folders\/[^/]+\/[^/]+\/t(?:\/|$)/u;
|
|
|
4720
4720
|
const WRAPPER_PATH_SEGMENT_RE = /(?:^|[-_.])(?:shim|shims|wrapper|wrappers)(?:$|[-_.])/u;
|
|
4721
4721
|
const MAX_LAUNCH_SCRIPT_INSPECTION_BYTES = 64 * 1024;
|
|
4722
4722
|
const DEFAULT_LOGIN_SHELL_LOOKUP_TIMEOUT_MS = 1500;
|
|
4723
|
-
const HOME_DIR = normalizeOptionalText$
|
|
4724
|
-
const TEMP_DIR = normalizeOptionalText$
|
|
4723
|
+
const HOME_DIR = normalizeOptionalText$72(homedir());
|
|
4724
|
+
const TEMP_DIR = normalizeOptionalText$72(tmpdir());
|
|
4725
4725
|
const loginShellExecutablePathsCache = /* @__PURE__ */ new Map();
|
|
4726
4726
|
function buildExecutableLaunchContract(input) {
|
|
4727
4727
|
return {
|
|
@@ -4923,7 +4923,7 @@ function resolveInstalledCommandPath(input) {
|
|
|
4923
4923
|
return resolveInstalledCommandPaths(input)[0] ?? null;
|
|
4924
4924
|
}
|
|
4925
4925
|
function resolveInstalledCommandPaths(input) {
|
|
4926
|
-
const configuredCommand = normalizeOptionalText$
|
|
4926
|
+
const configuredCommand = normalizeOptionalText$72(input.configuredCommand);
|
|
4927
4927
|
if (configuredCommand) {
|
|
4928
4928
|
if (isAbsolute(configuredCommand)) return [configuredCommand];
|
|
4929
4929
|
if (configuredCommand.includes("/") || configuredCommand.includes("\\")) return [];
|
|
@@ -4932,9 +4932,9 @@ function resolveInstalledCommandPaths(input) {
|
|
|
4932
4932
|
return resolveExecutablePathsOnPath(input.commandName);
|
|
4933
4933
|
}
|
|
4934
4934
|
async function resolveInstalledCommandPathsForLaunch(input) {
|
|
4935
|
-
const preferredCommandPath = normalizeOptionalText$
|
|
4935
|
+
const preferredCommandPath = normalizeOptionalText$72(input.preferredCommandPath);
|
|
4936
4936
|
const preferredCommandPaths = preferredCommandPath && isAbsolute(preferredCommandPath) ? [preferredCommandPath] : [];
|
|
4937
|
-
const configuredCommand = normalizeOptionalText$
|
|
4937
|
+
const configuredCommand = normalizeOptionalText$72(input.configuredCommand);
|
|
4938
4938
|
if (configuredCommand) {
|
|
4939
4939
|
if (isAbsolute(configuredCommand)) return mergeUniquePaths(preferredCommandPaths, [configuredCommand]);
|
|
4940
4940
|
if (configuredCommand.includes("/") || configuredCommand.includes("\\")) return preferredCommandPaths;
|
|
@@ -4952,7 +4952,7 @@ function resolveExecutableOnPath(commandName) {
|
|
|
4952
4952
|
return resolveExecutablePathsOnPath(commandName)[0] ?? null;
|
|
4953
4953
|
}
|
|
4954
4954
|
function resolveExecutablePathsOnPath(commandName) {
|
|
4955
|
-
const normalizedCommandName = normalizeOptionalText$
|
|
4955
|
+
const normalizedCommandName = normalizeOptionalText$72(commandName);
|
|
4956
4956
|
if (!normalizedCommandName) return [];
|
|
4957
4957
|
const resolvedPaths = [];
|
|
4958
4958
|
for (const directory of resolvePathDirectories()) for (const candidateName of resolveCommandFileNameCandidates(normalizedCommandName)) {
|
|
@@ -4974,7 +4974,7 @@ async function resolveExecutablePathsFromSearchSurface(input) {
|
|
|
4974
4974
|
}
|
|
4975
4975
|
function resolvePathDirectories() {
|
|
4976
4976
|
const directories = [];
|
|
4977
|
-
const pathValue = normalizeOptionalText$
|
|
4977
|
+
const pathValue = normalizeOptionalText$72(process.env.PATH);
|
|
4978
4978
|
for (const pathEntry of pathValue?.split(delimiter) ?? []) addUniqueDirectory(directories, pathEntry);
|
|
4979
4979
|
return directories;
|
|
4980
4980
|
}
|
|
@@ -4985,7 +4985,7 @@ function resolveExecutablePathsFromKnownInstallDirectories(commandName) {
|
|
|
4985
4985
|
});
|
|
4986
4986
|
}
|
|
4987
4987
|
function resolveExecutablePathsFromDirectories(input) {
|
|
4988
|
-
const normalizedCommandName = normalizeOptionalText$
|
|
4988
|
+
const normalizedCommandName = normalizeOptionalText$72(input.commandName);
|
|
4989
4989
|
if (!normalizedCommandName) return [];
|
|
4990
4990
|
const resolvedPaths = [];
|
|
4991
4991
|
for (const directory of input.directories) for (const candidateName of resolveCommandFileNameCandidates(normalizedCommandName)) {
|
|
@@ -4998,12 +4998,12 @@ function resolveKnownInstallDirectories() {
|
|
|
4998
4998
|
const directories = [];
|
|
4999
4999
|
if (process.platform === "win32") return directories;
|
|
5000
5000
|
const home = resolveHomeDirectory();
|
|
5001
|
-
const nvmDir = normalizeOptionalText$
|
|
5002
|
-
const pnpmHome = normalizeOptionalText$
|
|
5003
|
-
const bunHome = normalizeOptionalText$
|
|
5004
|
-
const voltaHome = normalizeOptionalText$
|
|
5005
|
-
const asdfHome = normalizeOptionalText$
|
|
5006
|
-
const fnmHome = normalizeOptionalText$
|
|
5001
|
+
const nvmDir = normalizeOptionalText$72(process.env.NVM_DIR) ?? join(home, ".nvm");
|
|
5002
|
+
const pnpmHome = normalizeOptionalText$72(process.env.PNPM_HOME) ?? (process.platform === "darwin" ? join(home, "Library", "pnpm") : join(home, ".local", "share", "pnpm"));
|
|
5003
|
+
const bunHome = normalizeOptionalText$72(process.env.BUN_INSTALL) ?? join(home, ".bun");
|
|
5004
|
+
const voltaHome = normalizeOptionalText$72(process.env.VOLTA_HOME) ?? join(home, ".volta");
|
|
5005
|
+
const asdfHome = normalizeOptionalText$72(process.env.ASDF_DIR) ?? join(home, ".asdf");
|
|
5006
|
+
const fnmHome = normalizeOptionalText$72(process.env.FNM_DIR) ?? join(home, ".fnm");
|
|
5007
5007
|
addUniqueDirectory(directories, join(home, ".local", "bin"));
|
|
5008
5008
|
addUniqueDirectory(directories, "/usr/local/bin");
|
|
5009
5009
|
addUniqueDirectory(directories, "/opt/homebrew/bin");
|
|
@@ -5018,18 +5018,18 @@ function resolveKnownInstallDirectories() {
|
|
|
5018
5018
|
addUniqueDirectory(directories, join(home, ".local", "share", "fnm", "aliases", "default", "bin"));
|
|
5019
5019
|
addUniqueDirectory(directories, join(home, ".local", "share", "fnm", "current", "bin"));
|
|
5020
5020
|
for (const nvmBinDir of resolveNvmDefaultBinDirectories(nvmDir)) addUniqueDirectory(directories, nvmBinDir);
|
|
5021
|
-
const npmConfigPrefix = normalizeOptionalText$
|
|
5021
|
+
const npmConfigPrefix = normalizeOptionalText$72(process.env.NPM_CONFIG_PREFIX);
|
|
5022
5022
|
if (npmConfigPrefix) addUniqueDirectory(directories, join(npmConfigPrefix, "bin"));
|
|
5023
5023
|
return directories;
|
|
5024
5024
|
}
|
|
5025
5025
|
function addUniqueDirectory(directories, value) {
|
|
5026
|
-
const directory = normalizeOptionalText$
|
|
5026
|
+
const directory = normalizeOptionalText$72(value);
|
|
5027
5027
|
if (directory && !directories.includes(directory)) directories.push(directory);
|
|
5028
5028
|
}
|
|
5029
5029
|
async function resolveExecutablePathsFromLoginShell(commandName) {
|
|
5030
|
-
const normalizedCommandName = normalizeOptionalText$
|
|
5030
|
+
const normalizedCommandName = normalizeOptionalText$72(commandName);
|
|
5031
5031
|
if (!(normalizedCommandName && process.platform !== "win32")) return [];
|
|
5032
|
-
const shell = normalizeOptionalText$
|
|
5032
|
+
const shell = normalizeOptionalText$72(process.env.SHELL);
|
|
5033
5033
|
if (!(shell && isAbsolute(shell) && pathLooksExecutable(shell))) return [];
|
|
5034
5034
|
const cacheKey = [
|
|
5035
5035
|
shell,
|
|
@@ -5082,7 +5082,7 @@ async function runLoginShellExecutableLookup(input) {
|
|
|
5082
5082
|
finish([]);
|
|
5083
5083
|
return;
|
|
5084
5084
|
}
|
|
5085
|
-
finish(stdout.split(LOGIN_SHELL_OUTPUT_LINE_SPLIT_RE).map((line) => normalizeOptionalText$
|
|
5085
|
+
finish(stdout.split(LOGIN_SHELL_OUTPUT_LINE_SPLIT_RE).map((line) => normalizeOptionalText$72(line)).filter((line) => Boolean(line && isAbsolute(line) && pathLooksExecutable(line))));
|
|
5086
5086
|
});
|
|
5087
5087
|
});
|
|
5088
5088
|
}
|
|
@@ -5095,7 +5095,7 @@ function resolveNvmDefaultVersion(nvmDir) {
|
|
|
5095
5095
|
let value = readNvmAlias(nvmDir, "default");
|
|
5096
5096
|
const seenAliases = /* @__PURE__ */ new Set();
|
|
5097
5097
|
for (let depth = 0; depth < 4; depth += 1) {
|
|
5098
|
-
const normalizedValue = normalizeOptionalText$
|
|
5098
|
+
const normalizedValue = normalizeOptionalText$72(value);
|
|
5099
5099
|
if (!normalizedValue) return null;
|
|
5100
5100
|
if (isNvmVersionValue(normalizedValue)) return normalizedValue.startsWith("v") ? normalizedValue : `v${normalizedValue}`;
|
|
5101
5101
|
if (seenAliases.has(normalizedValue)) return null;
|
|
@@ -5106,7 +5106,7 @@ function resolveNvmDefaultVersion(nvmDir) {
|
|
|
5106
5106
|
}
|
|
5107
5107
|
function readNvmAlias(nvmDir, alias) {
|
|
5108
5108
|
try {
|
|
5109
|
-
return normalizeOptionalText$
|
|
5109
|
+
return normalizeOptionalText$72(readFileSync(join(nvmDir, "alias", alias), "utf8"));
|
|
5110
5110
|
} catch {
|
|
5111
5111
|
return null;
|
|
5112
5112
|
}
|
|
@@ -5115,10 +5115,10 @@ function isNvmVersionValue(value) {
|
|
|
5115
5115
|
return NVM_VERSION_VALUE_RE.test(value);
|
|
5116
5116
|
}
|
|
5117
5117
|
function resolveHomeDirectory() {
|
|
5118
|
-
return normalizeOptionalText$
|
|
5118
|
+
return normalizeOptionalText$72(process.env.HOME) ?? homedir();
|
|
5119
5119
|
}
|
|
5120
5120
|
function resolveLoginShellLookupTimeoutMs() {
|
|
5121
|
-
const raw = normalizeOptionalText$
|
|
5121
|
+
const raw = normalizeOptionalText$72(process.env.OPENMELD_EXECUTABLE_LOGIN_SHELL_TIMEOUT_MS);
|
|
5122
5122
|
if (!raw) return DEFAULT_LOGIN_SHELL_LOOKUP_TIMEOUT_MS;
|
|
5123
5123
|
const parsed = Number.parseInt(raw, 10);
|
|
5124
5124
|
return Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_LOGIN_SHELL_LOOKUP_TIMEOUT_MS;
|
|
@@ -5133,7 +5133,7 @@ function quotePosixShellToken$1(value) {
|
|
|
5133
5133
|
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
5134
5134
|
}
|
|
5135
5135
|
function resolveSiblingCommandPath(input) {
|
|
5136
|
-
const normalizedCommandName = normalizeOptionalText$
|
|
5136
|
+
const normalizedCommandName = normalizeOptionalText$72(input.commandName);
|
|
5137
5137
|
if (!normalizedCommandName) return null;
|
|
5138
5138
|
const siblingDirectory = dirname(input.anchorPath);
|
|
5139
5139
|
for (const candidateName of resolveCommandFileNameCandidates(normalizedCommandName)) {
|
|
@@ -5143,7 +5143,7 @@ function resolveSiblingCommandPath(input) {
|
|
|
5143
5143
|
return null;
|
|
5144
5144
|
}
|
|
5145
5145
|
async function resolvePinnedNodePath(input) {
|
|
5146
|
-
const firstLine = normalizeOptionalText$
|
|
5146
|
+
const firstLine = normalizeOptionalText$72(input.firstLine);
|
|
5147
5147
|
if (!firstLine) return null;
|
|
5148
5148
|
if (firstLine === ENV_NODE_SHEBANG) {
|
|
5149
5149
|
const nodeSiblings = [join(dirname(input.commandPath), "node"), join(dirname(input.scriptPath), "node")].filter((candidate, index, candidates) => {
|
|
@@ -5153,7 +5153,7 @@ async function resolvePinnedNodePath(input) {
|
|
|
5153
5153
|
return null;
|
|
5154
5154
|
}
|
|
5155
5155
|
if (!firstLine.startsWith("#!")) return null;
|
|
5156
|
-
const interpreter = normalizeOptionalText$
|
|
5156
|
+
const interpreter = normalizeOptionalText$72(firstLine.slice(2));
|
|
5157
5157
|
if (!(interpreter && isAbsolute(interpreter))) return null;
|
|
5158
5158
|
const normalizedInterpreter = interpreter.split(SHEBANG_ARGS_SPLIT_RE, 1)[0] ?? interpreter;
|
|
5159
5159
|
try {
|
|
@@ -5201,11 +5201,11 @@ function resolveRunnablePathAccessMode() {
|
|
|
5201
5201
|
return process.platform === "win32" ? constants.F_OK : constants.X_OK;
|
|
5202
5202
|
}
|
|
5203
5203
|
function resolveWindowsPathExtensions(value) {
|
|
5204
|
-
const normalized = normalizeOptionalText$
|
|
5204
|
+
const normalized = normalizeOptionalText$72(value);
|
|
5205
5205
|
if (!normalized) return [...WINDOWS_PATHEXT];
|
|
5206
5206
|
return normalized.split(";").map((entry) => entry.trim().toLowerCase()).filter((entry, index, values) => entry && values.indexOf(entry) === index).map((entry) => entry.startsWith(".") ? entry : `.${entry}`);
|
|
5207
5207
|
}
|
|
5208
|
-
function normalizeOptionalText$
|
|
5208
|
+
function normalizeOptionalText$72(value) {
|
|
5209
5209
|
const normalized = String(value ?? "").trim();
|
|
5210
5210
|
return normalized.length > 0 ? normalized : null;
|
|
5211
5211
|
}
|
|
@@ -5299,7 +5299,7 @@ function shortenPathForDisplay(path) {
|
|
|
5299
5299
|
return `~${path.slice(HOME_DIR.length)}`;
|
|
5300
5300
|
}
|
|
5301
5301
|
function resolveNodeVersionFromPath(path) {
|
|
5302
|
-
return normalizeOptionalText$
|
|
5302
|
+
return normalizeOptionalText$72(path.match(NODE_VERSION_PATH_RE)?.[1]);
|
|
5303
5303
|
}
|
|
5304
5304
|
async function readLaunchScriptInspection(path) {
|
|
5305
5305
|
const file = await open(path, "r");
|
|
@@ -5314,7 +5314,7 @@ async function readLaunchScriptInspection(path) {
|
|
|
5314
5314
|
const firstLine = contents.split(FIRST_LINE_SPLIT_RE, 1)[0] ?? "";
|
|
5315
5315
|
return {
|
|
5316
5316
|
contents,
|
|
5317
|
-
firstLine: normalizeOptionalText$
|
|
5317
|
+
firstLine: normalizeOptionalText$72(firstLine)
|
|
5318
5318
|
};
|
|
5319
5319
|
}
|
|
5320
5320
|
function isTransientPathWrapper(input) {
|
|
@@ -5331,7 +5331,7 @@ function hasWrapperPathSegment(path) {
|
|
|
5331
5331
|
return normalizePathForDetection(path).split("/").filter((segment) => segment.length > 0).slice(-4).some((segment) => WRAPPER_PATH_SEGMENT_RE.test(segment));
|
|
5332
5332
|
}
|
|
5333
5333
|
function shellScriptLooksLikeWrapper(input) {
|
|
5334
|
-
const firstLine = normalizeOptionalText$
|
|
5334
|
+
const firstLine = normalizeOptionalText$72(input.firstLine)?.toLowerCase() ?? "";
|
|
5335
5335
|
if (!(firstLine.includes("bash") || firstLine.includes("/sh") || firstLine.includes("zsh"))) return false;
|
|
5336
5336
|
const contents = input.contents.toLowerCase();
|
|
5337
5337
|
return contents.includes("wrapper_shim") || contents.includes("shim_root") || contents.includes("\nexec ") && (contents.includes("wrapper") || contents.includes("shim"));
|
|
@@ -5700,7 +5700,7 @@ var AcpProcessSession = class {
|
|
|
5700
5700
|
let code = "protocol.request_failed";
|
|
5701
5701
|
if (error.code === -32601) code = "protocol.method_not_found";
|
|
5702
5702
|
else if (error.code === -32602) code = "protocol.invalid_params";
|
|
5703
|
-
const message = normalizeOptionalText$
|
|
5703
|
+
const message = normalizeOptionalText$71(error.message) ?? "ACP request failed";
|
|
5704
5704
|
return this.#error({
|
|
5705
5705
|
code,
|
|
5706
5706
|
errorType: "adapter",
|
|
@@ -5778,7 +5778,7 @@ var AcpProcessSession = class {
|
|
|
5778
5778
|
return this.#createError(input);
|
|
5779
5779
|
}
|
|
5780
5780
|
};
|
|
5781
|
-
function normalizeOptionalText$
|
|
5781
|
+
function normalizeOptionalText$71(value) {
|
|
5782
5782
|
const normalized = String(value ?? "").trim();
|
|
5783
5783
|
return normalized.length > 0 ? normalized : null;
|
|
5784
5784
|
}
|
|
@@ -5970,18 +5970,18 @@ function extractAcpToolActivityObservation(value) {
|
|
|
5970
5970
|
if (message?.method !== "session/update") return null;
|
|
5971
5971
|
const params = toRecord$16(message.params);
|
|
5972
5972
|
const update = toRecord$16(params?.update);
|
|
5973
|
-
const updateType = normalizeOptionalText$
|
|
5973
|
+
const updateType = normalizeOptionalText$70(update?.sessionUpdate);
|
|
5974
5974
|
if (!(update && (updateType === "tool_call" || updateType === "tool_call_update"))) return null;
|
|
5975
|
-
const toolCallId = normalizeOptionalText$
|
|
5975
|
+
const toolCallId = normalizeOptionalText$70(update.toolCallId ?? update.tool_call_id);
|
|
5976
5976
|
if (!toolCallId) return null;
|
|
5977
|
-
const sessionId = normalizeOptionalText$
|
|
5977
|
+
const sessionId = normalizeOptionalText$70(params?.sessionId);
|
|
5978
5978
|
return {
|
|
5979
5979
|
...Object.hasOwn(update, "rawInput") ? { providerInput: update.rawInput } : {},
|
|
5980
|
-
providerKind: normalizeOptionalText$
|
|
5980
|
+
providerKind: normalizeOptionalText$70(update.kind),
|
|
5981
5981
|
...Object.hasOwn(update, "locations") ? { providerLocations: update.locations } : {},
|
|
5982
|
-
providerTitle: normalizeOptionalText$
|
|
5982
|
+
providerTitle: normalizeOptionalText$70(update.title ?? update.name),
|
|
5983
5983
|
scopedToolCallId: sessionId ? `${sessionId}\0${toolCallId}` : toolCallId,
|
|
5984
|
-
status: normalizeOptionalText$
|
|
5984
|
+
status: normalizeOptionalText$70(update.status)?.toLowerCase() ?? null,
|
|
5985
5985
|
toolCallId
|
|
5986
5986
|
};
|
|
5987
5987
|
}
|
|
@@ -6024,11 +6024,11 @@ function readFilePath(value) {
|
|
|
6024
6024
|
value.filePath,
|
|
6025
6025
|
value.path
|
|
6026
6026
|
]) {
|
|
6027
|
-
const path = normalizeOptionalText$
|
|
6027
|
+
const path = normalizeOptionalText$70(candidate);
|
|
6028
6028
|
if (path) return path;
|
|
6029
6029
|
}
|
|
6030
6030
|
if (Array.isArray(value.changes)) for (const change of value.changes) {
|
|
6031
|
-
const path = normalizeOptionalText$
|
|
6031
|
+
const path = normalizeOptionalText$70(toRecord$16(change)?.path);
|
|
6032
6032
|
if (path) return path;
|
|
6033
6033
|
}
|
|
6034
6034
|
return null;
|
|
@@ -6036,7 +6036,7 @@ function readFilePath(value) {
|
|
|
6036
6036
|
function readLocationPath(value) {
|
|
6037
6037
|
if (!Array.isArray(value)) return null;
|
|
6038
6038
|
for (const location of value) {
|
|
6039
|
-
const path = normalizeOptionalText$
|
|
6039
|
+
const path = normalizeOptionalText$70(toRecord$16(location)?.path);
|
|
6040
6040
|
if (path) return path;
|
|
6041
6041
|
}
|
|
6042
6042
|
return null;
|
|
@@ -6057,7 +6057,7 @@ function resolveToolActivityState$1(current, status) {
|
|
|
6057
6057
|
if (status === "completed") return "output-available";
|
|
6058
6058
|
return "input-available";
|
|
6059
6059
|
}
|
|
6060
|
-
function normalizeOptionalText$
|
|
6060
|
+
function normalizeOptionalText$70(value) {
|
|
6061
6061
|
const normalized = typeof value === "string" ? value.trim() : "";
|
|
6062
6062
|
return normalized.length > 0 ? normalized : null;
|
|
6063
6063
|
}
|
|
@@ -6147,9 +6147,9 @@ const buildProviderExitError = (input) => {
|
|
|
6147
6147
|
};
|
|
6148
6148
|
};
|
|
6149
6149
|
const hasVisibleText = (value) => {
|
|
6150
|
-
return normalizeOptionalText$
|
|
6150
|
+
return normalizeOptionalText$69(value) !== null;
|
|
6151
6151
|
};
|
|
6152
|
-
const normalizeOptionalText$
|
|
6152
|
+
const normalizeOptionalText$69 = (value) => {
|
|
6153
6153
|
if (typeof value !== "string") return null;
|
|
6154
6154
|
const normalized = value.trim();
|
|
6155
6155
|
return normalized.length > 0 ? normalized : null;
|
|
@@ -6331,13 +6331,13 @@ var AdapterRepairConversationError = class extends Error {
|
|
|
6331
6331
|
};
|
|
6332
6332
|
const resolveRequiredRepairConversationId = (input) => {
|
|
6333
6333
|
if (input.policy !== "require_canonical" || input.request.executionMode !== "repair") return null;
|
|
6334
|
-
const canonicalConversationId = normalizeOptionalText$
|
|
6334
|
+
const canonicalConversationId = normalizeOptionalText$68(input.invokeRequest.agentControllerConversationId);
|
|
6335
6335
|
if (!canonicalConversationId) throw new AdapterRepairConversationMissingError();
|
|
6336
6336
|
return canonicalConversationId;
|
|
6337
6337
|
};
|
|
6338
6338
|
const requireCanonicalRepairConversation = (input) => {
|
|
6339
6339
|
if (!input.canonicalConversationId) return input.contextDelta;
|
|
6340
|
-
const observedConversationId = normalizeOptionalText$
|
|
6340
|
+
const observedConversationId = normalizeOptionalText$68(input.contextDelta?.agentControllerConversationId);
|
|
6341
6341
|
if (input.contextDelta?.refreshed === true || observedConversationId !== input.canonicalConversationId) throw new AdapterRepairConversationError();
|
|
6342
6342
|
return input.contextDelta;
|
|
6343
6343
|
};
|
|
@@ -6710,13 +6710,13 @@ const buildDefaultInvokeRequest = (input) => {
|
|
|
6710
6710
|
agentControllerConversationId: input.request.agentControllerConversationId,
|
|
6711
6711
|
bridgeSpec: input.bridgeSpec,
|
|
6712
6712
|
agentControllerConversation: input.request.agentControllerConversation
|
|
6713
|
-
}) : normalizeOptionalText$
|
|
6713
|
+
}) : normalizeOptionalText$68(input.request.agentControllerConversationId);
|
|
6714
6714
|
return {
|
|
6715
6715
|
...input.request,
|
|
6716
6716
|
agentControllerConversationId
|
|
6717
6717
|
};
|
|
6718
6718
|
};
|
|
6719
|
-
const normalizeOptionalText$
|
|
6719
|
+
const normalizeOptionalText$68 = (value) => {
|
|
6720
6720
|
if (typeof value !== "string") return null;
|
|
6721
6721
|
const normalized = value.trim();
|
|
6722
6722
|
return normalized.length > 0 ? normalized : null;
|
|
@@ -6758,7 +6758,7 @@ const DEFAULT_CLAUDE_CODE_COMMAND = "claude";
|
|
|
6758
6758
|
async function resolveInstalledClaudeCodeLaunchCandidates(input) {
|
|
6759
6759
|
const installedCandidates = await resolveInstalledNodeScriptLaunchCandidates({
|
|
6760
6760
|
commandName: DEFAULT_CLAUDE_CODE_COMMAND,
|
|
6761
|
-
configuredCommand: normalizeOptionalText$
|
|
6761
|
+
configuredCommand: normalizeOptionalText$67(process.env.OPENMELD_DAEMON_RUNTIME_CLAUDE_CODE_BIN),
|
|
6762
6762
|
displayName: "Claude Code",
|
|
6763
6763
|
preferredLaunchContract: input?.preferredLaunchContract
|
|
6764
6764
|
});
|
|
@@ -6790,13 +6790,13 @@ async function verifyClaudeCodeLaunchContract(input) {
|
|
|
6790
6790
|
});
|
|
6791
6791
|
}
|
|
6792
6792
|
function resolveClaudeCodeTimeoutMs() {
|
|
6793
|
-
const raw = normalizeOptionalText$
|
|
6793
|
+
const raw = normalizeOptionalText$67(process.env.OPENMELD_DAEMON_RUNTIME_REQUEST_TIMEOUT_MS);
|
|
6794
6794
|
if (!raw) return null;
|
|
6795
6795
|
const parsed = Number.parseInt(raw, 10);
|
|
6796
6796
|
if (!Number.isFinite(parsed) || parsed <= 0) return null;
|
|
6797
6797
|
return parsed;
|
|
6798
6798
|
}
|
|
6799
|
-
function normalizeOptionalText$
|
|
6799
|
+
function normalizeOptionalText$67(value) {
|
|
6800
6800
|
const normalized = String(value ?? "").trim();
|
|
6801
6801
|
return normalized.length > 0 ? normalized : null;
|
|
6802
6802
|
}
|
|
@@ -6845,8 +6845,8 @@ function extractClaudeToolLifecycleObservations(message) {
|
|
|
6845
6845
|
const record = toRecord$15(message);
|
|
6846
6846
|
if (!record) return [];
|
|
6847
6847
|
if (record.type === "tool_progress") {
|
|
6848
|
-
const toolCallId = normalizeOptionalText$
|
|
6849
|
-
const providerToolName = normalizeOptionalText$
|
|
6848
|
+
const toolCallId = normalizeOptionalText$66(record.tool_use_id);
|
|
6849
|
+
const providerToolName = normalizeOptionalText$66(record.tool_name);
|
|
6850
6850
|
return toolCallId ? [{
|
|
6851
6851
|
providerToolInput: null,
|
|
6852
6852
|
providerToolName,
|
|
@@ -6857,11 +6857,11 @@ function extractClaudeToolLifecycleObservations(message) {
|
|
|
6857
6857
|
const content = readMessageContent(record.message);
|
|
6858
6858
|
if (record.type === "assistant") return content.flatMap((block) => {
|
|
6859
6859
|
if (block.type !== "tool_use") return [];
|
|
6860
|
-
const toolCallId = normalizeOptionalText$
|
|
6860
|
+
const toolCallId = normalizeOptionalText$66(block.id);
|
|
6861
6861
|
if (!toolCallId) return [];
|
|
6862
6862
|
return [{
|
|
6863
6863
|
providerToolInput: block.input,
|
|
6864
|
-
providerToolName: normalizeOptionalText$
|
|
6864
|
+
providerToolName: normalizeOptionalText$66(block.name),
|
|
6865
6865
|
state: "input-available",
|
|
6866
6866
|
toolCallId
|
|
6867
6867
|
}];
|
|
@@ -6869,7 +6869,7 @@ function extractClaudeToolLifecycleObservations(message) {
|
|
|
6869
6869
|
if (record.type !== "user") return [];
|
|
6870
6870
|
return content.flatMap((block) => {
|
|
6871
6871
|
if (block.type !== "tool_result") return [];
|
|
6872
|
-
const toolCallId = normalizeOptionalText$
|
|
6872
|
+
const toolCallId = normalizeOptionalText$66(block.tool_use_id);
|
|
6873
6873
|
if (!toolCallId) return [];
|
|
6874
6874
|
return [{
|
|
6875
6875
|
providerToolInput: null,
|
|
@@ -6890,7 +6890,7 @@ function readMessageContent(message) {
|
|
|
6890
6890
|
function toRecord$15(value) {
|
|
6891
6891
|
return value && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
6892
6892
|
}
|
|
6893
|
-
function normalizeOptionalText$
|
|
6893
|
+
function normalizeOptionalText$66(value) {
|
|
6894
6894
|
const normalized = typeof value === "string" ? value.trim() : "";
|
|
6895
6895
|
return normalized.length > 0 ? normalized : null;
|
|
6896
6896
|
}
|
|
@@ -7329,8 +7329,8 @@ function parseClaudeOutputLine(line) {
|
|
|
7329
7329
|
}
|
|
7330
7330
|
const record = toObjectRecord(parsed);
|
|
7331
7331
|
if (!record) return null;
|
|
7332
|
-
const sessionId = normalizeOptionalText$
|
|
7333
|
-
const resultText = normalizeOptionalText$
|
|
7332
|
+
const sessionId = normalizeOptionalText$65(record.session_id);
|
|
7333
|
+
const resultText = normalizeOptionalText$65(record.result);
|
|
7334
7334
|
const isErrorResult = typeof record.is_error === "boolean" ? record.is_error : null;
|
|
7335
7335
|
if (record.type === "result") return {
|
|
7336
7336
|
errorMessage: isErrorResult ? resultText : null,
|
|
@@ -7341,7 +7341,7 @@ function parseClaudeOutputLine(line) {
|
|
|
7341
7341
|
terminal: true
|
|
7342
7342
|
};
|
|
7343
7343
|
if (record.type === "error") return {
|
|
7344
|
-
errorMessage: normalizeOptionalText$
|
|
7344
|
+
errorMessage: normalizeOptionalText$65(record.message),
|
|
7345
7345
|
isErrorResult: true,
|
|
7346
7346
|
previewDeltaText: null,
|
|
7347
7347
|
resultText: null,
|
|
@@ -7357,7 +7357,7 @@ function parseClaudeOutputLine(line) {
|
|
|
7357
7357
|
function parseClaudeStreamEvent(record, sessionId) {
|
|
7358
7358
|
const event = toObjectRecord(record.event);
|
|
7359
7359
|
if (!event) return null;
|
|
7360
|
-
const eventType = normalizeOptionalText$
|
|
7360
|
+
const eventType = normalizeOptionalText$65(event.type);
|
|
7361
7361
|
if (eventType === "message_start") return {
|
|
7362
7362
|
errorMessage: null,
|
|
7363
7363
|
isErrorResult: null,
|
|
@@ -7384,7 +7384,7 @@ function toObjectRecord(value) {
|
|
|
7384
7384
|
function normalizeText$13(value) {
|
|
7385
7385
|
return String(value ?? "").trim();
|
|
7386
7386
|
}
|
|
7387
|
-
function normalizeOptionalText$
|
|
7387
|
+
function normalizeOptionalText$65(value) {
|
|
7388
7388
|
const normalized = normalizeText$13(value);
|
|
7389
7389
|
return normalized.length > 0 ? normalized : null;
|
|
7390
7390
|
}
|
|
@@ -7395,16 +7395,16 @@ function preserveOptionalText$1(value) {
|
|
|
7395
7395
|
//#endregion
|
|
7396
7396
|
//#region ../../runtime/adapters/claude-code/dist/transport/claude-conversation-policy.js
|
|
7397
7397
|
function resolveClaudeConversationPolicyOptions(conversationPolicy) {
|
|
7398
|
-
const model = normalizeOptionalText$
|
|
7399
|
-
const fallbackModel = normalizeOptionalText$
|
|
7400
|
-
const reasoningLevel = normalizeOptionalText$
|
|
7398
|
+
const model = normalizeOptionalText$64(conversationPolicy?.model);
|
|
7399
|
+
const fallbackModel = normalizeOptionalText$64(conversationPolicy?.fallbackModel);
|
|
7400
|
+
const reasoningLevel = normalizeOptionalText$64(conversationPolicy?.reasoningLevel);
|
|
7401
7401
|
return {
|
|
7402
7402
|
...model ? { model } : {},
|
|
7403
7403
|
...fallbackModel && fallbackModel !== model ? { fallbackModel } : {},
|
|
7404
7404
|
...reasoningLevel ? { reasoningLevel } : {}
|
|
7405
7405
|
};
|
|
7406
7406
|
}
|
|
7407
|
-
function normalizeOptionalText$
|
|
7407
|
+
function normalizeOptionalText$64(value) {
|
|
7408
7408
|
const normalized = String(value ?? "").trim();
|
|
7409
7409
|
return normalized.length > 0 ? normalized : null;
|
|
7410
7410
|
}
|
|
@@ -7508,7 +7508,7 @@ var ClaudeCliTransportError = class extends Error {
|
|
|
7508
7508
|
}
|
|
7509
7509
|
};
|
|
7510
7510
|
async function invokeClaudeCliTransport(input) {
|
|
7511
|
-
const prompt = normalizeOptionalText$
|
|
7511
|
+
const prompt = normalizeOptionalText$63(input.prompt);
|
|
7512
7512
|
if (!prompt) throw new ClaudeCliTransportError({
|
|
7513
7513
|
code: "schema.invalid",
|
|
7514
7514
|
errorType: "config",
|
|
@@ -7520,16 +7520,16 @@ async function invokeClaudeCliTransport(input) {
|
|
|
7520
7520
|
conversationPolicy: input.conversationPolicy,
|
|
7521
7521
|
executionMode: input.executionMode,
|
|
7522
7522
|
prompt,
|
|
7523
|
-
sessionId: normalizeOptionalText$
|
|
7523
|
+
sessionId: normalizeOptionalText$63(input.sessionId),
|
|
7524
7524
|
streamingMode: input.streamingMode
|
|
7525
7525
|
}),
|
|
7526
7526
|
launchContract: input.launchContract
|
|
7527
7527
|
});
|
|
7528
7528
|
const invokedAtMs = Date.now();
|
|
7529
|
-
const canonicalRepairSessionId = input.executionMode === "repair" ? normalizeOptionalText$
|
|
7529
|
+
const canonicalRepairSessionId = input.executionMode === "repair" ? normalizeOptionalText$63(input.sessionId) : null;
|
|
7530
7530
|
let latestOutput = "";
|
|
7531
7531
|
let latestResultIsError = false;
|
|
7532
|
-
let resolvedSessionId = normalizeOptionalText$
|
|
7532
|
+
let resolvedSessionId = normalizeOptionalText$63(input.sessionId);
|
|
7533
7533
|
const providerErrorMessages = [];
|
|
7534
7534
|
let firstStdoutAtMs = null;
|
|
7535
7535
|
let firstOutputAtMs = null;
|
|
@@ -7584,7 +7584,7 @@ async function invokeClaudeCliTransport(input) {
|
|
|
7584
7584
|
firstStdoutAtMs,
|
|
7585
7585
|
invokedAtMs,
|
|
7586
7586
|
previewEmitted: previewEmitter.emitted,
|
|
7587
|
-
resumedContext: normalizeOptionalText$
|
|
7587
|
+
resumedContext: normalizeOptionalText$63(input.sessionId) !== null,
|
|
7588
7588
|
streamingMode: input.streamingMode ?? "final"
|
|
7589
7589
|
});
|
|
7590
7590
|
const classifiedFailure = classifyClaudeFailure({
|
|
@@ -7601,7 +7601,7 @@ async function invokeClaudeCliTransport(input) {
|
|
|
7601
7601
|
telemetry
|
|
7602
7602
|
});
|
|
7603
7603
|
}
|
|
7604
|
-
const output = normalizeOptionalText$
|
|
7604
|
+
const output = normalizeOptionalText$63(latestOutput);
|
|
7605
7605
|
if (!output) throw new ClaudeCliTransportError({
|
|
7606
7606
|
code: "runtime.output.empty",
|
|
7607
7607
|
errorType: "adapter",
|
|
@@ -7612,20 +7612,20 @@ async function invokeClaudeCliTransport(input) {
|
|
|
7612
7612
|
firstStdoutAtMs,
|
|
7613
7613
|
invokedAtMs,
|
|
7614
7614
|
previewEmitted: previewEmitter.emitted,
|
|
7615
|
-
resumedContext: normalizeOptionalText$
|
|
7615
|
+
resumedContext: normalizeOptionalText$63(input.sessionId) !== null,
|
|
7616
7616
|
streamingMode: input.streamingMode ?? "final"
|
|
7617
7617
|
})
|
|
7618
7618
|
});
|
|
7619
7619
|
return {
|
|
7620
7620
|
output,
|
|
7621
|
-
sessionId: canonicalRepairSessionId ?? normalizeOptionalText$
|
|
7621
|
+
sessionId: canonicalRepairSessionId ?? normalizeOptionalText$63(resolvedSessionId),
|
|
7622
7622
|
telemetry: buildClaudeCliTelemetry({
|
|
7623
7623
|
driverResult,
|
|
7624
7624
|
firstOutputAtMs,
|
|
7625
7625
|
firstStdoutAtMs,
|
|
7626
7626
|
invokedAtMs,
|
|
7627
7627
|
previewEmitted: previewEmitter.emitted,
|
|
7628
|
-
resumedContext: normalizeOptionalText$
|
|
7628
|
+
resumedContext: normalizeOptionalText$63(input.sessionId) !== null,
|
|
7629
7629
|
streamingMode: input.streamingMode ?? "final"
|
|
7630
7630
|
})
|
|
7631
7631
|
};
|
|
@@ -7764,7 +7764,7 @@ const classifyClaudeFailure = (input) => {
|
|
|
7764
7764
|
errorType: "adapter",
|
|
7765
7765
|
message: `provider.process_terminated: claude process was terminated by ${input.exitSignal} before returning a result`
|
|
7766
7766
|
};
|
|
7767
|
-
const stderrText = normalizeOptionalText$
|
|
7767
|
+
const stderrText = normalizeOptionalText$63(input.stderrText);
|
|
7768
7768
|
if (stderrText) return {
|
|
7769
7769
|
code: "upstream_unreachable",
|
|
7770
7770
|
errorType: "adapter",
|
|
@@ -7822,13 +7822,13 @@ const resolveProviderFailureMessage$3 = (input) => {
|
|
|
7822
7822
|
const candidateMessages = [
|
|
7823
7823
|
...input.providerErrorMessages,
|
|
7824
7824
|
...extractErrorMessagesFromStdout$2(input.stdoutText),
|
|
7825
|
-
...normalizeOptionalText$
|
|
7825
|
+
...normalizeOptionalText$63(input.stderrText) ? [normalizeOptionalText$63(input.stderrText)] : []
|
|
7826
7826
|
].filter((value) => Boolean(value));
|
|
7827
7827
|
for (const candidate of candidateMessages) if (looksLikeProviderFailure$3(candidate)) return candidate;
|
|
7828
7828
|
return candidateMessages[0] ?? null;
|
|
7829
7829
|
};
|
|
7830
7830
|
const extractErrorMessagesFromStdout$2 = (value) => {
|
|
7831
|
-
const stdoutText = normalizeOptionalText$
|
|
7831
|
+
const stdoutText = normalizeOptionalText$63(value);
|
|
7832
7832
|
if (!stdoutText) return [];
|
|
7833
7833
|
const messages = [];
|
|
7834
7834
|
const lines = stdoutText.split("\n");
|
|
@@ -7839,7 +7839,7 @@ const extractErrorMessagesFromStdout$2 = (value) => {
|
|
|
7839
7839
|
return messages;
|
|
7840
7840
|
};
|
|
7841
7841
|
const collectProviderErrorMessage$2 = (line, messages) => {
|
|
7842
|
-
const normalizedLine = normalizeOptionalText$
|
|
7842
|
+
const normalizedLine = normalizeOptionalText$63(line);
|
|
7843
7843
|
if (!normalizedLine) return;
|
|
7844
7844
|
messages.push(normalizedLine);
|
|
7845
7845
|
};
|
|
@@ -7889,7 +7889,7 @@ const isProviderOverloadedFailure = (value) => {
|
|
|
7889
7889
|
function normalizeText$12(value) {
|
|
7890
7890
|
return String(value ?? "").trim();
|
|
7891
7891
|
}
|
|
7892
|
-
function normalizeOptionalText$
|
|
7892
|
+
function normalizeOptionalText$63(value) {
|
|
7893
7893
|
const normalized = normalizeText$12(value);
|
|
7894
7894
|
return normalized.length > 0 ? normalized : null;
|
|
7895
7895
|
}
|
|
@@ -7914,16 +7914,16 @@ function isFailedResultMessage(resultMessage) {
|
|
|
7914
7914
|
}
|
|
7915
7915
|
function resolveCanonicalRepairSessionId(input) {
|
|
7916
7916
|
if (input.executionMode !== "repair") return null;
|
|
7917
|
-
return normalizeOptionalText$
|
|
7917
|
+
return normalizeOptionalText$62(input.sessionId);
|
|
7918
7918
|
}
|
|
7919
7919
|
async function invokeClaudeAgentSdkTransport(input) {
|
|
7920
|
-
const prompt = normalizeOptionalText$
|
|
7920
|
+
const prompt = normalizeOptionalText$62(input.prompt);
|
|
7921
7921
|
if (!prompt) throw new ClaudeAgentSdkTransportError({
|
|
7922
7922
|
code: "schema.invalid",
|
|
7923
7923
|
errorType: "config",
|
|
7924
7924
|
message: "schema.invalid: prompt is required"
|
|
7925
7925
|
});
|
|
7926
|
-
const resumedContext = normalizeOptionalText$
|
|
7926
|
+
const resumedContext = normalizeOptionalText$62(input.sessionId) !== null;
|
|
7927
7927
|
const canonicalRepairSessionId = resolveCanonicalRepairSessionId(input);
|
|
7928
7928
|
const streamingMode = input.streamingMode ?? "final";
|
|
7929
7929
|
const resources = await createClaudeAgentSdkInvocationResources({
|
|
@@ -7944,7 +7944,7 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
7944
7944
|
let latestOutput = "";
|
|
7945
7945
|
let latestPlanDocument = "";
|
|
7946
7946
|
let resultMessage = null;
|
|
7947
|
-
let resolvedSessionId = normalizeOptionalText$
|
|
7947
|
+
let resolvedSessionId = normalizeOptionalText$62(input.sessionId);
|
|
7948
7948
|
let timeoutTriggeredAtMs = null;
|
|
7949
7949
|
let timeoutHandle = null;
|
|
7950
7950
|
let queryRuntime = null;
|
|
@@ -7972,7 +7972,7 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
7972
7972
|
},
|
|
7973
7973
|
pathToClaudeCodeExecutable: resources.executable.pathToClaudeCodeExecutable,
|
|
7974
7974
|
planDirectory: resources.planCapture.directory,
|
|
7975
|
-
sessionId: normalizeOptionalText$
|
|
7975
|
+
sessionId: normalizeOptionalText$62(input.sessionId),
|
|
7976
7976
|
streamingMode: input.streamingMode
|
|
7977
7977
|
}),
|
|
7978
7978
|
prompt: createSinglePrompt(input.instructionPrompt?.userPrompt ?? prompt)
|
|
@@ -8079,7 +8079,7 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
8079
8079
|
telemetry
|
|
8080
8080
|
});
|
|
8081
8081
|
}
|
|
8082
|
-
const output = normalizeOptionalText$
|
|
8082
|
+
const output = normalizeOptionalText$62(latestOutput);
|
|
8083
8083
|
if (!output) throw new ClaudeAgentSdkTransportError({
|
|
8084
8084
|
code: "runtime.output.empty",
|
|
8085
8085
|
errorType: "adapter",
|
|
@@ -8096,7 +8096,7 @@ async function invokeClaudeAgentSdkTransport(input) {
|
|
|
8096
8096
|
});
|
|
8097
8097
|
return {
|
|
8098
8098
|
output,
|
|
8099
|
-
sessionId: canonicalRepairSessionId ?? normalizeOptionalText$
|
|
8099
|
+
sessionId: canonicalRepairSessionId ?? normalizeOptionalText$62(resolvedSessionId),
|
|
8100
8100
|
telemetry: buildClaudeAgentSdkTelemetry({
|
|
8101
8101
|
firstOutputAtMs,
|
|
8102
8102
|
firstStderrAtMs,
|
|
@@ -8251,7 +8251,7 @@ function buildClaudeAgentSdkOptions(input) {
|
|
|
8251
8251
|
onElicitation: createClaudeOnElicitation({ onInteractionRequest: input.onInteractionRequest })
|
|
8252
8252
|
} : {}
|
|
8253
8253
|
};
|
|
8254
|
-
const sessionId = normalizeOptionalText$
|
|
8254
|
+
const sessionId = normalizeOptionalText$62(input.sessionId);
|
|
8255
8255
|
if (sessionId) {
|
|
8256
8256
|
options.resume = sessionId;
|
|
8257
8257
|
if (input.executionMode === "repair") options.forkSession = true;
|
|
@@ -8277,7 +8277,7 @@ async function readLatestClaudePlanDocument(planDirectory) {
|
|
|
8277
8277
|
planFiles.sort((left, right) => right.mtimeMs - left.mtimeMs);
|
|
8278
8278
|
const latestPlanFile = planFiles[0];
|
|
8279
8279
|
if (!latestPlanFile) return null;
|
|
8280
|
-
return normalizeOptionalText$
|
|
8280
|
+
return normalizeOptionalText$62((await readFile(latestPlanFile.path, "utf8")).slice(0, 64e3));
|
|
8281
8281
|
}
|
|
8282
8282
|
function createDefaultClaudeAgentSdkQuery(input) {
|
|
8283
8283
|
return query(input);
|
|
@@ -8301,7 +8301,7 @@ function handleClaudeAgentSdkMessage(input) {
|
|
|
8301
8301
|
let observedConversationId = null;
|
|
8302
8302
|
let resolvedSessionId = input.resolvedSessionId;
|
|
8303
8303
|
let resultMessage = input.resultMessage;
|
|
8304
|
-
const sessionId = normalizeOptionalText$
|
|
8304
|
+
const sessionId = normalizeOptionalText$62(input.message.session_id);
|
|
8305
8305
|
if (sessionId) observedConversationId = sessionId;
|
|
8306
8306
|
const previewDeltaText = extractPreviewDeltaText(input.message);
|
|
8307
8307
|
if (previewDeltaText) {
|
|
@@ -8354,7 +8354,7 @@ function extractAssistantMessageWrittenPlan(message) {
|
|
|
8354
8354
|
if (block.type !== "tool_use" || block.name !== "Write") continue;
|
|
8355
8355
|
const toolInput = block.input;
|
|
8356
8356
|
if (!toolInput || typeof toolInput !== "object" || Array.isArray(toolInput)) continue;
|
|
8357
|
-
const content = normalizeOptionalText$
|
|
8357
|
+
const content = normalizeOptionalText$62(toolInput.content);
|
|
8358
8358
|
if (content) writtenPlan = content.slice(0, 64e3);
|
|
8359
8359
|
}
|
|
8360
8360
|
return writtenPlan;
|
|
@@ -8393,7 +8393,7 @@ function toClaudeAgentSdkTransportError(input) {
|
|
|
8393
8393
|
}
|
|
8394
8394
|
const fallbackMessage = input.error instanceof Error ? input.error.message : String(input.error);
|
|
8395
8395
|
const classifiedFailure = classifyClaudeFailure({
|
|
8396
|
-
providerErrorMessages: [...input.providerErrorMessages, normalizeOptionalText$
|
|
8396
|
+
providerErrorMessages: [...input.providerErrorMessages, normalizeOptionalText$62(fallbackMessage) ?? ""],
|
|
8397
8397
|
stderrText: input.stderrText
|
|
8398
8398
|
});
|
|
8399
8399
|
return new ClaudeAgentSdkTransportError({
|
|
@@ -8440,7 +8440,7 @@ function shellQuote(value) {
|
|
|
8440
8440
|
function quoteWindowsArg$2(value) {
|
|
8441
8441
|
return `"${value.replaceAll("\"", "\"\"")}"`;
|
|
8442
8442
|
}
|
|
8443
|
-
function normalizeOptionalText$
|
|
8443
|
+
function normalizeOptionalText$62(value) {
|
|
8444
8444
|
const normalized = String(value ?? "").trim();
|
|
8445
8445
|
return normalized.length > 0 ? normalized : null;
|
|
8446
8446
|
}
|
|
@@ -8683,7 +8683,7 @@ const resolveDefaultClaudeCodeInvoke = (input) => {
|
|
|
8683
8683
|
...dispatchInput.onRuntimeEvent ? { onRuntimeEvent: dispatchInput.onRuntimeEvent } : {},
|
|
8684
8684
|
prompt: dispatchInput.prompt,
|
|
8685
8685
|
registerAgentSdkQuery,
|
|
8686
|
-
sessionId: normalizeOptionalText$
|
|
8686
|
+
sessionId: normalizeOptionalText$61(dispatchInput.agentControllerConversationId),
|
|
8687
8687
|
...dispatchInput.onPreview ? { onPreview: dispatchInput.onPreview } : {},
|
|
8688
8688
|
streamingMode: dispatchInput.streamingMode,
|
|
8689
8689
|
taskId: dispatchInput.taskId
|
|
@@ -8704,7 +8704,7 @@ const resolveDefaultClaudeCodeInvoke = (input) => {
|
|
|
8704
8704
|
};
|
|
8705
8705
|
};
|
|
8706
8706
|
async function resolveClaudeDispatchLaunchContract(input) {
|
|
8707
|
-
const explicitLaunchContract = input.inputLaunchContract ?? input.optionLaunchContract ?? (normalizeOptionalText$
|
|
8707
|
+
const explicitLaunchContract = input.inputLaunchContract ?? input.optionLaunchContract ?? (normalizeOptionalText$61(input.claudeBin) ? buildExecutableLaunchContract({ commandPath: normalizeOptionalText$61(input.claudeBin) }) : null);
|
|
8708
8708
|
if (explicitLaunchContract) {
|
|
8709
8709
|
const verification = await verifyClaudeCodeLaunchContract({ launchContract: explicitLaunchContract });
|
|
8710
8710
|
if (verification.ok) return explicitLaunchContract;
|
|
@@ -8718,7 +8718,7 @@ async function resolveClaudeDispatchLaunchContract(input) {
|
|
|
8718
8718
|
errorType: "config"
|
|
8719
8719
|
});
|
|
8720
8720
|
}
|
|
8721
|
-
const normalizeOptionalText$
|
|
8721
|
+
const normalizeOptionalText$61 = (value) => {
|
|
8722
8722
|
const normalized = String(value ?? "").trim();
|
|
8723
8723
|
return normalized.length > 0 ? normalized : null;
|
|
8724
8724
|
};
|
|
@@ -8752,7 +8752,7 @@ function isCodexAuthFailure(value) {
|
|
|
8752
8752
|
* changes behavior.
|
|
8753
8753
|
*/
|
|
8754
8754
|
function classifyCodexProviderAccountFailure(input) {
|
|
8755
|
-
if (normalizeOptionalText$
|
|
8755
|
+
if (normalizeOptionalText$60(input.codexErrorInfo)?.toLowerCase() === "usagelimitexceeded") return {
|
|
8756
8756
|
code: "quota.exceeded",
|
|
8757
8757
|
errorType: "adapter"
|
|
8758
8758
|
};
|
|
@@ -8771,7 +8771,7 @@ function classifyCodexProviderAccountFailure(input) {
|
|
|
8771
8771
|
};
|
|
8772
8772
|
return null;
|
|
8773
8773
|
}
|
|
8774
|
-
function normalizeOptionalText$
|
|
8774
|
+
function normalizeOptionalText$60(value) {
|
|
8775
8775
|
const normalized = String(value ?? "").trim();
|
|
8776
8776
|
return normalized.length > 0 ? normalized : null;
|
|
8777
8777
|
}
|
|
@@ -8803,7 +8803,7 @@ function extractCodexToolActivityEvent(value, fallbackObservedAtMs = Date.now())
|
|
|
8803
8803
|
const params = toRecord$12(record.params);
|
|
8804
8804
|
const item = toRecord$12(params?.item ?? record.item);
|
|
8805
8805
|
const itemType = normalizeCompactName(item?.type);
|
|
8806
|
-
const toolCallId = normalizeOptionalText$
|
|
8806
|
+
const toolCallId = normalizeOptionalText$59(item?.id);
|
|
8807
8807
|
if (!(item && toolCallId && CODEX_TOOL_ITEM_TYPES.has(itemType))) return null;
|
|
8808
8808
|
const work = resolveAdapterToolWorkActivity(itemType, item);
|
|
8809
8809
|
return {
|
|
@@ -8847,7 +8847,7 @@ function resolveObservedAtMs(input) {
|
|
|
8847
8847
|
function normalizeCompactName(value) {
|
|
8848
8848
|
return typeof value === "string" ? value.trim().toLowerCase() : "";
|
|
8849
8849
|
}
|
|
8850
|
-
function normalizeOptionalText$
|
|
8850
|
+
function normalizeOptionalText$59(value) {
|
|
8851
8851
|
const normalized = typeof value === "string" ? value.trim() : "";
|
|
8852
8852
|
return normalized.length > 0 ? normalized : null;
|
|
8853
8853
|
}
|
|
@@ -9094,6 +9094,67 @@ function tomlString(value) {
|
|
|
9094
9094
|
return JSON.stringify(value);
|
|
9095
9095
|
}
|
|
9096
9096
|
//#endregion
|
|
9097
|
+
//#region ../../runtime/adapters/codex/dist/transport/codex-space-action-mcp-config.js
|
|
9098
|
+
const OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV$1 = "OPENMELD_SPACE_ACTION_CONTEXT_PATH";
|
|
9099
|
+
const OPENMELD_USER_FACING_CLI_COMMAND_ENV$3 = "OPENMELD_USER_FACING_CLI_COMMAND";
|
|
9100
|
+
const OPENMELD_SPACE_ACTION_MCP_SERVER_ID = "openmeld_internal_dispatch_space_action";
|
|
9101
|
+
const OPENMELD_SPACE_ACTION_MCP_TOOLS = [
|
|
9102
|
+
"reply",
|
|
9103
|
+
"status",
|
|
9104
|
+
"stay_silent"
|
|
9105
|
+
];
|
|
9106
|
+
const OPENMELD_SPACE_ACTION_MCP_ENV_VARS = [
|
|
9107
|
+
"OPENMELD_SPACE_ACTION_CONTEXT_PATH",
|
|
9108
|
+
"OPENMELD_DISPATCH_RUNTIME_MODE",
|
|
9109
|
+
"OPENMELD_DISPATCH_RUNTIME_DISPATCH_ID",
|
|
9110
|
+
"OPENMELD_DISPATCH_RUNTIME_TARGET_PROFILE_ID",
|
|
9111
|
+
"OPENMELD_USER_FACING_CLI_COMMAND",
|
|
9112
|
+
"OPENMELD_ENV_PRESET"
|
|
9113
|
+
];
|
|
9114
|
+
const OPENMELD_CLI_COMMANDS = /* @__PURE__ */ new Set([
|
|
9115
|
+
"openmeld",
|
|
9116
|
+
"openmeld-dev",
|
|
9117
|
+
"openmeld-canary"
|
|
9118
|
+
]);
|
|
9119
|
+
function buildCodexSpaceActionMcpGlobalArgs(env) {
|
|
9120
|
+
if (!normalizeOptionalText$58(env[OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV$1])) return [];
|
|
9121
|
+
const command = normalizeOptionalText$58(env[OPENMELD_USER_FACING_CLI_COMMAND_ENV$3]);
|
|
9122
|
+
if (!(command && OPENMELD_CLI_COMMANDS.has(command))) throw new Error("OpenMeld cannot start the dispatch Space Action tool because the active CLI command is invalid.");
|
|
9123
|
+
const server = `mcp_servers.${OPENMELD_SPACE_ACTION_MCP_SERVER_ID}`;
|
|
9124
|
+
return [
|
|
9125
|
+
"-c",
|
|
9126
|
+
`${server}.command=${toTomlString(command)}`,
|
|
9127
|
+
"-c",
|
|
9128
|
+
`${server}.args=${toTomlStringArray([
|
|
9129
|
+
"space",
|
|
9130
|
+
"action",
|
|
9131
|
+
"tool-server"
|
|
9132
|
+
])}`,
|
|
9133
|
+
"-c",
|
|
9134
|
+
`${server}.env_vars=${toTomlStringArray(OPENMELD_SPACE_ACTION_MCP_ENV_VARS)}`,
|
|
9135
|
+
"-c",
|
|
9136
|
+
`${server}.enabled=true`,
|
|
9137
|
+
"-c",
|
|
9138
|
+
`${server}.required=true`,
|
|
9139
|
+
"-c",
|
|
9140
|
+
`${server}.enabled_tools=${toTomlStringArray(OPENMELD_SPACE_ACTION_MCP_TOOLS)}`,
|
|
9141
|
+
"-c",
|
|
9142
|
+
`${server}.disabled_tools=[]`,
|
|
9143
|
+
"-c",
|
|
9144
|
+
`${server}.default_tools_approval_mode="approve"`
|
|
9145
|
+
];
|
|
9146
|
+
}
|
|
9147
|
+
function toTomlString(value) {
|
|
9148
|
+
return JSON.stringify(value);
|
|
9149
|
+
}
|
|
9150
|
+
function toTomlStringArray(values) {
|
|
9151
|
+
return `[${values.map(toTomlString).join(",")}]`;
|
|
9152
|
+
}
|
|
9153
|
+
function normalizeOptionalText$58(value) {
|
|
9154
|
+
const normalized = String(value ?? "").trim();
|
|
9155
|
+
return normalized.length > 0 ? normalized : null;
|
|
9156
|
+
}
|
|
9157
|
+
//#endregion
|
|
9097
9158
|
//#region ../../runtime/adapters/codex/dist/transport/codex-app-server-transport.js
|
|
9098
9159
|
const CODEX_APP_SERVER_VERSION_PATTERN = /\/([^\s]+)/u;
|
|
9099
9160
|
const APP_SERVER_PROCESS_KILL_GRACE_MS = 1e3;
|
|
@@ -9535,21 +9596,25 @@ var CodexAppServerSession = class {
|
|
|
9535
9596
|
this.#startupTimeoutMs = input.startupTimeoutMs ?? DEFAULT_APP_SERVER_STARTUP_TIMEOUT_MS;
|
|
9536
9597
|
}
|
|
9537
9598
|
async start() {
|
|
9599
|
+
const computerFileAccessArgs = this.#computerFileAccessBoundary ? buildCodexFileAccessBoundaryGlobalArgs({
|
|
9600
|
+
boundary: this.#computerFileAccessBoundary,
|
|
9601
|
+
executionMode: this.#executionMode,
|
|
9602
|
+
permissionMode: this.#permissionMode
|
|
9603
|
+
}) : [];
|
|
9604
|
+
const env = {
|
|
9605
|
+
...process.env,
|
|
9606
|
+
...this.#env ?? {}
|
|
9607
|
+
};
|
|
9608
|
+
const spaceActionMcpArgs = buildCodexSpaceActionMcpGlobalArgs(env);
|
|
9538
9609
|
const launch = buildCodexAppServerLaunch({
|
|
9539
9610
|
args: [
|
|
9540
|
-
...
|
|
9541
|
-
|
|
9542
|
-
executionMode: this.#executionMode,
|
|
9543
|
-
permissionMode: this.#permissionMode
|
|
9544
|
-
}) : [],
|
|
9611
|
+
...computerFileAccessArgs,
|
|
9612
|
+
...spaceActionMcpArgs,
|
|
9545
9613
|
"app-server",
|
|
9546
9614
|
"--listen",
|
|
9547
9615
|
"stdio://"
|
|
9548
9616
|
],
|
|
9549
|
-
env
|
|
9550
|
-
...process.env,
|
|
9551
|
-
...this.#env ?? {}
|
|
9552
|
-
},
|
|
9617
|
+
env,
|
|
9553
9618
|
launchContract: this.#launchContract
|
|
9554
9619
|
});
|
|
9555
9620
|
const runtimeProcess = spawnAgentControllerProcess({
|
|
@@ -17832,7 +17897,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
17832
17897
|
};
|
|
17833
17898
|
}
|
|
17834
17899
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
17835
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
17900
|
+
const { getAuthSessionMetadata } = await import("./auth-session-D4Jml91O.js").then((n) => n.t);
|
|
17836
17901
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
17837
17902
|
}
|
|
17838
17903
|
function resolveHostKey(baseUrl) {
|
|
@@ -32619,7 +32684,7 @@ function isDaemonReconcileInProgressError(error) {
|
|
|
32619
32684
|
//#region ../../runtime/local-service/src/space-action-target-guidance.ts
|
|
32620
32685
|
const SPACE_ACTION_CONTEXT_GUIDANCE_LINES = ["- Keep private work, drafts, tool logs, and unauthorized sensitive context local. Treat this Wake as the current source; tie other context to the claims it supports, and reply in its current thread unless explicitly redirected.", "- A plain reply or bare @name does not hand off work; use Wake or Reply + Wake. Never wake another Agent Profile just to thank, acknowledge, or confirm receipt; wake only when new work moves the goal forward."];
|
|
32621
32686
|
const SPACE_ACTION_TARGET_GUIDANCE_LINES = [
|
|
32622
|
-
"Use OpenMeld Space Action
|
|
32687
|
+
"Use OpenMeld Space Action target fields such as wakeTargets and referenceTargets. With the CLI fallback, use --wake and --reference.",
|
|
32623
32688
|
"Any @name text in the body is only prose in the agent path; it does not define OpenMeld targets.",
|
|
32624
32689
|
"activationTargets is only for waking another Agent Profile in this Space.",
|
|
32625
32690
|
"activationTargets must reference an active Agent Profile member in this Space.",
|
|
@@ -37236,9 +37301,9 @@ function createModelCatalogReadSession(input) {
|
|
|
37236
37301
|
async function readModelCatalogOnce(baseUrl) {
|
|
37237
37302
|
try {
|
|
37238
37303
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
37239
|
-
import("./dist-
|
|
37304
|
+
import("./dist-C_v_J7PS.js").then((n) => n.w),
|
|
37240
37305
|
import("./base-url-PkgATS5u.js").then((n) => n.n),
|
|
37241
|
-
import("./api-client-foundation-
|
|
37306
|
+
import("./api-client-foundation-BQgqRvE9.js").then((n) => n.t)
|
|
37242
37307
|
]);
|
|
37243
37308
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
37244
37309
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -45024,23 +45089,23 @@ function areAllowedActionsEquivalent(left, right) {
|
|
|
45024
45089
|
return canonicalLeft.length === canonicalRight.length && canonicalLeft.every((action, index) => action === canonicalRight[index]);
|
|
45025
45090
|
}
|
|
45026
45091
|
const COLLABORATION_HOW_THIS_SPACE_WORKS = "OpenMeld is an external collaboration layer, not your private scratchpad. Work normally in your local context, then publish only the public outcome this Space needs with one OpenMeld Space Action.";
|
|
45027
|
-
const COLLABORATION_ACTION_REQUIREMENT = "Final outcome:
|
|
45028
|
-
const COLLABORATION_REPAIR_REQUIREMENT = "Preserve the user's intent and
|
|
45092
|
+
const COLLABORATION_ACTION_REQUIREMENT = "Final outcome: record exactly one dispatch-scoped OpenMeld Space Action. Use the OpenMeld Space Action tool when available and the CLI only as fallback. Your answer text never selects or substitutes for that action.";
|
|
45093
|
+
const COLLABORATION_REPAIR_REQUIREMENT = "Preserve the user's intent and record exactly one dispatch-scoped OpenMeld Space Action. Do not print an action as JSON or prose.";
|
|
45029
45094
|
const RAW_CONTEXT_SHARING_HOW_THIS_SPACE_WORKS = "This Space uses transparent context sharing: OpenMeld may share your raw reply directly. Use OpenMeld Space Action when you need a controlled visible outcome.";
|
|
45030
45095
|
const RAW_CONTEXT_SHARING_ACTION_REQUIREMENT = "Raw reply is allowed. Use OpenMeld Space Action only when you need a controlled visible outcome.";
|
|
45031
|
-
const RAW_CONTEXT_SHARING_REPAIR_REQUIREMENT = "Return the plain raw reply, or
|
|
45096
|
+
const RAW_CONTEXT_SHARING_REPAIR_REQUIREMENT = "Return the plain raw reply, or record one dispatch-scoped OpenMeld Space Action for a controlled visible outcome. Use the OpenMeld Space Action tool when available and the CLI only as fallback. Answer text never becomes an action.";
|
|
45032
45097
|
function buildActionGuidanceLines$1(input) {
|
|
45033
45098
|
const lines = [];
|
|
45034
45099
|
for (const allowedAction of input.allowedActions) switch (allowedAction) {
|
|
45035
45100
|
case "post_message":
|
|
45036
|
-
lines.push("Use the dispatch-scoped Space Action reply
|
|
45101
|
+
lines.push("Use the dispatch-scoped Space Action reply for normal public replies, greetings, answers, and discussion.");
|
|
45037
45102
|
break;
|
|
45038
45103
|
case "post_status":
|
|
45039
45104
|
lines.push("Use post_status only for final-safe outcomes: done, blocked, needs_input, or handoff. Do not use \"working\" or \"ready\" because post_status closes the Wake.");
|
|
45040
45105
|
lines.push(`Keep post_status text at 120 characters or fewer. Use post_message for answers, discussion, or anything longer.`);
|
|
45041
45106
|
break;
|
|
45042
45107
|
case "stay_silent":
|
|
45043
|
-
lines.push("Use the dispatch-scoped Space Action
|
|
45108
|
+
lines.push("Use the dispatch-scoped Space Action stay_silent action only when you intentionally do not want OpenMeld to publish a public reply.");
|
|
45044
45109
|
break;
|
|
45045
45110
|
default: break;
|
|
45046
45111
|
}
|
|
@@ -53568,7 +53633,7 @@ function projectAgentControllerInterfaceForCloud(snapshot) {
|
|
|
53568
53633
|
status: snapshot.launch.status
|
|
53569
53634
|
},
|
|
53570
53635
|
message: null,
|
|
53571
|
-
models:
|
|
53636
|
+
models: snapshot.models.map((model) => ({ ...model })),
|
|
53572
53637
|
nativeInterface: snapshot.nativeInterface,
|
|
53573
53638
|
schemaVersion: snapshot.schemaVersion,
|
|
53574
53639
|
skills: [],
|
|
@@ -58007,7 +58072,7 @@ function renderActivationIntentGate(input) {
|
|
|
58007
58072
|
return [
|
|
58008
58073
|
"Activation intent gate:",
|
|
58009
58074
|
"- Decide from the current Wake message and structured addressing before reading Space history or using any tool. Use one brief pass: assigned, referenced_or_candidate, or ambiguous.",
|
|
58010
|
-
`- If you are only named as a candidate, example, alternative, or possible helper while another Agent owns the request, run \`${buildSpaceActionCommand(input, "silent --reason \"activation_intent.referenced_or_candidate\"")}
|
|
58075
|
+
`- If you are only named as a candidate, example, alternative, or possible helper while another Agent owns the request, call the Space Action \`stay_silent\` tool with reason \`activation_intent.referenced_or_candidate\`; if unavailable, run \`${buildSpaceActionCommand(input, "silent --reason \"activation_intent.referenced_or_candidate\"")}\`. Stop before reading history, calling business tools, or publishing an explanation.`,
|
|
58011
58076
|
"- An explicit Wake target does not by itself prove that the words assign work to you. If the message directly assigns you work, continue. When the intent remains ambiguous, honor the explicit Wake and continue; never rewrite the user's structured targets."
|
|
58012
58077
|
].join("\n");
|
|
58013
58078
|
}
|
|
@@ -58087,16 +58152,16 @@ function renderMandatoryCompletionSection(input) {
|
|
|
58087
58152
|
if (publicationRequirement.allowsRawReplyWithoutAction) return null;
|
|
58088
58153
|
return [
|
|
58089
58154
|
"Mandatory completion:",
|
|
58090
|
-
"-
|
|
58155
|
+
"- Plain text stays local; it is never a public Space reply.",
|
|
58091
58156
|
buildMandatoryCompletionActionLine(input, publicationRequirement),
|
|
58092
|
-
"-
|
|
58093
|
-
"- If
|
|
58157
|
+
"- Stop after one action is recorded; that action is the public outcome.",
|
|
58158
|
+
"- If neither path can record it, stop. Do not substitute prose or JSON."
|
|
58094
58159
|
].join("\n");
|
|
58095
58160
|
}
|
|
58096
58161
|
function buildMandatoryCompletionActionLine(input, publicationRequirement) {
|
|
58097
|
-
if (publicationRequirement.allowedActions.includes("post_message")) return `- Normal completion:
|
|
58098
|
-
if (publicationRequirement.allowedActions.includes("post_status")) return `- Normal completion:
|
|
58099
|
-
if (publicationRequirement.allowedActions.includes("stay_silent")) return `- Normal completion:
|
|
58162
|
+
if (publicationRequirement.allowedActions.includes("post_message")) return `- Normal completion: call Space Action \`reply\` with your exact public message. CLI fallback if unavailable: \`${buildSpaceActionCommand(input, "reply \"your public message\"")}\` and wait for it to finish.`;
|
|
58163
|
+
if (publicationRequirement.allowedActions.includes("post_status")) return `- Normal completion: call Space Action \`status\` with a final-safe status and short update. CLI fallback if unavailable: \`${buildSpaceActionCommand(input, "status done \"short completion update\"")}\` and wait for it to finish.`;
|
|
58164
|
+
if (publicationRequirement.allowedActions.includes("stay_silent")) return `- Normal completion: call Space Action \`stay_silent\` with your reason. CLI fallback if unavailable: \`${buildSpaceActionCommand(input, "silent --reason \"reason\"")}\` and wait for it to finish.`;
|
|
58100
58165
|
return "- No permitted OpenMeld Space action is available. Do not invent one in answer text.";
|
|
58101
58166
|
}
|
|
58102
58167
|
function buildServiceFreshnessWarningLines(input) {
|
|
@@ -66915,7 +66980,7 @@ function buildAgentReplyReconsiderationPrompt(input) {
|
|
|
66915
66980
|
"Keep the user's full request as the goal. Reconsider only the final Space action in light of these newer messages.",
|
|
66916
66981
|
"Replace the proposal when a distinct, useful contribution is still possible. Avoid duplicating work or a conclusion another Agent has already posted.",
|
|
66917
66982
|
"Choose stay_silent only when no distinct, useful, non-duplicative contribution remains.",
|
|
66918
|
-
"Call exactly one dispatch-scoped OpenMeld Space Action
|
|
66983
|
+
"Call exactly one dispatch-scoped OpenMeld Space Action tool for the final action. Use the CLI only if the tool is unavailable. Answer text never becomes an action.",
|
|
66919
66984
|
`Previous proposed action: ${JSON.stringify(input.action)}`,
|
|
66920
66985
|
`Newer Space messages: ${JSON.stringify(updates)}`
|
|
66921
66986
|
].join("\n");
|
|
@@ -67639,7 +67704,7 @@ function buildStructuredActionRepairPrompt$1(input) {
|
|
|
67639
67704
|
"Do not change the user's intent.",
|
|
67640
67705
|
...SPACE_ACTION_CONTEXT_GUIDANCE_LINES,
|
|
67641
67706
|
"Your answer text never selects an OpenMeld Space action.",
|
|
67642
|
-
"Call exactly one dispatch-scoped OpenMeld Space Action
|
|
67707
|
+
"Call exactly one dispatch-scoped OpenMeld Space Action tool to repair the delivery action. Use the CLI only if the tool is unavailable.",
|
|
67643
67708
|
publicationRequirement.repairRequirementLine,
|
|
67644
67709
|
...SPACE_ACTION_TARGET_GUIDANCE_LINES,
|
|
67645
67710
|
...normalizeOptionalText$44(input.currentReplyToSignalId) ? [`post_message.messageEnvelope.replyToSignalId must match the current dispatch reply target: ${normalizeOptionalText$44(input.currentReplyToSignalId)}.`] : [],
|
|
@@ -67658,14 +67723,14 @@ function buildStructuredActionRepairCompletionLines(input) {
|
|
|
67658
67723
|
return [
|
|
67659
67724
|
"Repair completion rule:",
|
|
67660
67725
|
buildStructuredActionRepairPrimaryCommandLine(input),
|
|
67661
|
-
"If the command
|
|
67726
|
+
"If neither the tool nor the fallback command can record the action, stop. Do not print JSON or prose as a substitute.",
|
|
67662
67727
|
"Do not finish with an explanation of what you will do."
|
|
67663
67728
|
];
|
|
67664
67729
|
}
|
|
67665
67730
|
function buildStructuredActionRepairPrimaryCommandLine(input) {
|
|
67666
|
-
if (input.publicationRequirement.allowedActions.includes("post_message")) return `For a normal reply, run \`${input.cliEntry} space action reply "corrected public message"\`
|
|
67667
|
-
if (input.publicationRequirement.allowedActions.includes("post_status")) return `For a final status, run \`${input.cliEntry} space action status done "short completion update"\`
|
|
67668
|
-
if (input.publicationRequirement.allowedActions.includes("stay_silent")) return `If no public reply is needed, run \`${input.cliEntry} space action silent --reason "reason"\`
|
|
67731
|
+
if (input.publicationRequirement.allowedActions.includes("post_message")) return `For a normal reply, call the OpenMeld Space Action \`reply\` tool with the corrected public message. If that tool is unavailable, run the fallback CLI command \`${input.cliEntry} space action reply "corrected public message"\` and wait for it to finish.`;
|
|
67732
|
+
if (input.publicationRequirement.allowedActions.includes("post_status")) return `For a final status, call the OpenMeld Space Action \`status\` tool with a final-safe status and short update. If that tool is unavailable, run the fallback CLI command \`${input.cliEntry} space action status done "short completion update"\` and wait for it to finish.`;
|
|
67733
|
+
if (input.publicationRequirement.allowedActions.includes("stay_silent")) return `If no public reply is needed, call the OpenMeld Space Action \`stay_silent\` tool with your reason. If that tool is unavailable, run the fallback CLI command \`${input.cliEntry} space action silent --reason "reason"\` and wait for it to finish.`;
|
|
67669
67734
|
return "No permitted OpenMeld Space action is available. Do not invent one in answer text.";
|
|
67670
67735
|
}
|
|
67671
67736
|
function buildStructuredActionRepairSendTargetReferenceLines(sendTargetReferenceLines) {
|
|
@@ -108222,4 +108287,4 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
108222
108287
|
//#endregion
|
|
108223
108288
|
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 };
|
|
108224
108289
|
|
|
108225
|
-
//# sourceMappingURL=command-
|
|
108290
|
+
//# sourceMappingURL=command-BZRJ4QV_.js.map
|