openmeld 0.3.108 → 0.3.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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-BvewFyUz.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-DCZK5hCV.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-C9hbphYg.js";
5
+ import { $t as skippedDaemonProfileSchema, A as runtimeTransportRegisterSessionResponseSchema, An as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Ar as profileWorkspaceModeSchema, B as openMeldDaemonTaskResultPayloadSchema, Bn as localCliComponentUpdateProjectionSchema, Br as resolvePublicAgentFailureRecovery, Bt as resolveSpaceFileMimeType, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Cr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, D as runtimeTransportOpenMeldToolsControlFramePayloadSchema, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as openMeldRuntimeProfileIdSchema, Fn as formatLocalComponentsSummaryDescription, Fr as trimmedStringFromUnknown, G as localFolderPickerDaemonFrameSchema, H as openMeldSpaceEgressActionSchema, Hr as shouldPreferMappedPublicAgentFailureReason, I as runtimeTransportSubmitTaskResultRequestSchema, In as formatLocalComponentsSummaryLabel, Ir as MAX_TEXT_LENGTH$1, Jn as openMeldToolsUpdateOperationPhaseSchema, K as localFolderPickerHelperProtocolResultSchema, Kr as resolveCommandAgentWorkActivity, Ln as formatLocalSetupActionDescription, Lr as resolveDetailedPublicAgentFailureReason$1, M as runtimeTransportResumeControllerConversationFramePayloadSchema, Mn as agentInteractionRequestSchema, N as runtimeTransportResumeControllerConversationResultFramePayloadSchema, Nn as agentInteractionResolutionSchema, O as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, P as runtimeTransportRouteCatalogChangedFramePayloadSchema, Pt as SPACE_FILE_MAX_SIZE_BYTES, R as openMeldDaemonTaskResultEnvelopeWriteSchema, Rn as formatLocalSetupActionLabel, Rr as resolveMappedPublicAgentFailureReason, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, Sn as resolveMessageEnvelopeTargetField, Sr as openMeldRequestContextSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Tr as normalizeOptionalWorkingDirectory, U as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, Vr as sanitizeDispatchErrorSummary, W as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Wn as localServiceComponentUpdateProjectionSchema, Wt as spaceFileNameSchema, Xt as openMeldDaemonControlPlaneRequestSchema, Zn as openMeldToolsUpdateRequestSourceSchema, Zt as openMeldDaemonControlPlaneResponseSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as collectCanonicalMentionTextFragments, a as runtimeTransportCapabilitiesSchema, ar as runtimeCoordinatorExecutionTokenEnvelopeSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, c as runtimeTransportDispatchInteractionRequestSchema, d as runtimeTransportDispatchPreviewEndRequestSchema, dr as resolveSingleSpaceMentionLabels, en as providerDispatchRuntimeContextSchema, f as runtimeTransportDispatchPreviewRequestSchema, fr as resolveSpaceMentionLabels, g as runtimeTransportForkAgentSessionResultSchema, gn as MESSAGE_MENTION_TYPE_VALUES, gt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, h as runtimeTransportErrorCodeSchema, ht as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, i as localWakeRouteReportSchema, j as runtimeTransportRejectedProfileRegistrationSchema, k as runtimeTransportRegisterSessionRequestSchema, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, lr as normalizeSpacePasswordText, m as runtimeTransportDispatchToolActivityRequestSchema, mt as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, o as runtimeTransportDeliverDispatchRequestSchema, or as runtimeTransportDeliveryExecutionIdentitySchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, q as localFolderPickerHelperResultSchema, qn as openMeldToolsUpdateAttemptSchema, r as daemonStreamFrameSchema, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as conversationExecutionStateSchema, tr as parseOptionalClientMessageId, u as runtimeTransportDispatchLifecycleRequestSchema, ut as CONVERSATION_CONTINUITY_WARNING_PURPOSE, v as runtimeTransportHeartbeatResponseSchema, vn as formatCanonicalMentionLiteral, vt as sanitizeSignalTextPreview, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, wr as agentProfileIdSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xn as normalizeMessageEnvelope, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as getSpaceMessageAddressingRelationSupportForTargetKind, z as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, zn as installedLocalComponentsSnapshotSchema, zr as resolvePublicAgentAvailabilityCopy } from "./runtime-transport-BVqEGkly.js";
6
6
  import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-CRyDcIIf.js";
7
7
  import { A as isDaemonServiceRuntimeHeartbeatStale, B as setDaemonServiceRuntimeState, C as daemonServiceStableExecutableWrapperPath, D as getDaemonRuntimeStatus, E as ensureDaemonControlPlaneToken, F as releaseDaemonServiceLifecycleLock, G as withDaemonServiceStopLock, H as withDaemonServiceReconcileLock, I as resolveDaemonControlPlaneEndpoint, K as readDaemonLocalStateFile, L as resolveDaemonServiceRuntimeMetadata, M as readDaemonServiceLifecycleLockMeta, N as readDaemonServiceLifecycleLockMetaWithCleanup, O as getDaemonStatus, P as readDaemonServiceRuntimeSnapshot, R as restoreDaemonInstallStateSnapshot, S as daemonServiceRepairJournalPath, T as daemonStatePath, U as withDaemonServiceRegistrationMutationLock, V as uninstallDaemon, W as withDaemonServiceRunLock, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceLegacyExecutableWrapperPath, c as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, d as clearDaemonServiceRuntimeState, f as daemonDispatchJournalPath, g as daemonRuntimeRootPath, h as daemonRuntimeDataPath, i as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, j as readDaemonControlPlaneToken, k as installDaemon, l as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV, m as daemonRuntimeBundlesPath, n as writeDaemonRuntimeLease, o as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, p as daemonLifecycleJournalPath, q as writeDaemonLocalStateFile, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableLauncherPath, x as daemonServiceRecognizedExecutableWrapperPaths, y as daemonServiceActiveBundleStatePath, z as rotateDaemonControlPlaneTokenIfExpired } from "./daemon-runtime-lease-Cath1v3w.js";
8
- import { D as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, E as OPENCLAW_CLI_TIMEOUT_MS$1, M as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, N as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, O as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MAX_HEARTBEAT_INTERVAL_MS$2, _ as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, d as resolveOpenMeldDistribution, f as CATALOG_SYNC_RETRY_INTERVAL_MS$1, g as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, h as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, i as getAuthSessionState, j as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, k as REGISTER_RESPONSE_TIMEOUT_MS$1, m as DAEMON_RUNTIME_CONTRACT_EPOCH$1, n as clearAuthSession, p as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, s as setAuthSession, u as isBinaryDistribution, v as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, w as MIN_HEARTBEAT_INTERVAL_MS$2, x as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, y as DEFAULT_HEARTBEAT_INTERVAL_MS$1 } from "./auth-session-B_VxWQiU.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-BMW8SgH8.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-6twfCXM2.js";
9
+ import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-CrStZBGY.js";
10
10
  import { createRequire } from "node:module";
11
11
  import { homedir, tmpdir, userInfo } from "node:os";
12
12
  import * as z$1 from "zod/v4";
@@ -35,7 +35,7 @@ import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybi
35
35
  var package_default = {
36
36
  $schema: "https://www.schemastore.org/package.json",
37
37
  name: "openmeld",
38
- version: "0.3.108",
38
+ version: "0.3.111",
39
39
  openMeldReleaseDate: "2026-08-26",
40
40
  description: "OpenMeld CLI - https://openmeld.ai",
41
41
  license: "MIT",
@@ -113,7 +113,7 @@ var package_default = {
113
113
  },
114
114
  openmeld: {
115
115
  "releaseLine": "openmeld-greenfield-2026-07",
116
- "minRequiredCliVersion": "0.3.65"
116
+ "minRequiredCliVersion": "0.3.110"
117
117
  }
118
118
  };
119
119
  //#endregion
@@ -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$72(input.xdgDataHome ?? process.env.XDG_DATA_HOME) ?? join(input.homeDir, ".local", "share"), "opencode", "opencode.db");
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$72(value) {
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$71(homedir());
4724
- const TEMP_DIR = normalizeOptionalText$71(tmpdir());
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$71(input.configuredCommand);
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$71(input.preferredCommandPath);
4935
+ const preferredCommandPath = normalizeOptionalText$72(input.preferredCommandPath);
4936
4936
  const preferredCommandPaths = preferredCommandPath && isAbsolute(preferredCommandPath) ? [preferredCommandPath] : [];
4937
- const configuredCommand = normalizeOptionalText$71(input.configuredCommand);
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$71(commandName);
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$71(process.env.PATH);
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$71(input.commandName);
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$71(process.env.NVM_DIR) ?? join(home, ".nvm");
5002
- const pnpmHome = normalizeOptionalText$71(process.env.PNPM_HOME) ?? (process.platform === "darwin" ? join(home, "Library", "pnpm") : join(home, ".local", "share", "pnpm"));
5003
- const bunHome = normalizeOptionalText$71(process.env.BUN_INSTALL) ?? join(home, ".bun");
5004
- const voltaHome = normalizeOptionalText$71(process.env.VOLTA_HOME) ?? join(home, ".volta");
5005
- const asdfHome = normalizeOptionalText$71(process.env.ASDF_DIR) ?? join(home, ".asdf");
5006
- const fnmHome = normalizeOptionalText$71(process.env.FNM_DIR) ?? join(home, ".fnm");
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$71(process.env.NPM_CONFIG_PREFIX);
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$71(value);
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$71(commandName);
5030
+ const normalizedCommandName = normalizeOptionalText$72(commandName);
5031
5031
  if (!(normalizedCommandName && process.platform !== "win32")) return [];
5032
- const shell = normalizeOptionalText$71(process.env.SHELL);
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$71(line)).filter((line) => Boolean(line && isAbsolute(line) && pathLooksExecutable(line))));
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$71(value);
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$71(readFileSync(join(nvmDir, "alias", alias), "utf8"));
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$71(process.env.HOME) ?? homedir();
5118
+ return normalizeOptionalText$72(process.env.HOME) ?? homedir();
5119
5119
  }
5120
5120
  function resolveLoginShellLookupTimeoutMs() {
5121
- const raw = normalizeOptionalText$71(process.env.OPENMELD_EXECUTABLE_LOGIN_SHELL_TIMEOUT_MS);
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$71(input.commandName);
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$71(input.firstLine);
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$71(firstLine.slice(2));
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$71(value);
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$71(value) {
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$71(path.match(NODE_VERSION_PATH_RE)?.[1]);
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$71(firstLine)
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$71(input.firstLine)?.toLowerCase() ?? "";
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$70(error.message) ?? "ACP request failed";
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$70(value) {
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$69(update?.sessionUpdate);
5973
+ const updateType = normalizeOptionalText$70(update?.sessionUpdate);
5974
5974
  if (!(update && (updateType === "tool_call" || updateType === "tool_call_update"))) return null;
5975
- const toolCallId = normalizeOptionalText$69(update.toolCallId ?? update.tool_call_id);
5975
+ const toolCallId = normalizeOptionalText$70(update.toolCallId ?? update.tool_call_id);
5976
5976
  if (!toolCallId) return null;
5977
- const sessionId = normalizeOptionalText$69(params?.sessionId);
5977
+ const sessionId = normalizeOptionalText$70(params?.sessionId);
5978
5978
  return {
5979
5979
  ...Object.hasOwn(update, "rawInput") ? { providerInput: update.rawInput } : {},
5980
- providerKind: normalizeOptionalText$69(update.kind),
5980
+ providerKind: normalizeOptionalText$70(update.kind),
5981
5981
  ...Object.hasOwn(update, "locations") ? { providerLocations: update.locations } : {},
5982
- providerTitle: normalizeOptionalText$69(update.title ?? update.name),
5982
+ providerTitle: normalizeOptionalText$70(update.title ?? update.name),
5983
5983
  scopedToolCallId: sessionId ? `${sessionId}\0${toolCallId}` : toolCallId,
5984
- status: normalizeOptionalText$69(update.status)?.toLowerCase() ?? null,
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$69(candidate);
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$69(toRecord$16(change)?.path);
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$69(toRecord$16(location)?.path);
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$69(value) {
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$68(value) !== null;
6150
+ return normalizeOptionalText$69(value) !== null;
6151
6151
  };
6152
- const normalizeOptionalText$68 = (value) => {
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$67(input.invokeRequest.agentControllerConversationId);
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$67(input.contextDelta?.agentControllerConversationId);
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$67(input.request.agentControllerConversationId);
6713
+ }) : normalizeOptionalText$68(input.request.agentControllerConversationId);
6714
6714
  return {
6715
6715
  ...input.request,
6716
6716
  agentControllerConversationId
6717
6717
  };
6718
6718
  };
6719
- const normalizeOptionalText$67 = (value) => {
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$66(process.env.OPENMELD_DAEMON_RUNTIME_CLAUDE_CODE_BIN),
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$66(process.env.OPENMELD_DAEMON_RUNTIME_REQUEST_TIMEOUT_MS);
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$66(value) {
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$65(record.tool_use_id);
6849
- const providerToolName = normalizeOptionalText$65(record.tool_name);
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$65(block.id);
6860
+ const toolCallId = normalizeOptionalText$66(block.id);
6861
6861
  if (!toolCallId) return [];
6862
6862
  return [{
6863
6863
  providerToolInput: block.input,
6864
- providerToolName: normalizeOptionalText$65(block.name),
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$65(block.tool_use_id);
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$65(value) {
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$64(record.session_id);
7333
- const resultText = normalizeOptionalText$64(record.result);
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$64(record.message),
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$64(event.type);
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$64(value) {
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$63(conversationPolicy?.model);
7399
- const fallbackModel = normalizeOptionalText$63(conversationPolicy?.fallbackModel);
7400
- const reasoningLevel = normalizeOptionalText$63(conversationPolicy?.reasoningLevel);
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$63(value) {
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$62(input.prompt);
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$62(input.sessionId),
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$62(input.sessionId) : null;
7529
+ const canonicalRepairSessionId = input.executionMode === "repair" ? normalizeOptionalText$63(input.sessionId) : null;
7530
7530
  let latestOutput = "";
7531
7531
  let latestResultIsError = false;
7532
- let resolvedSessionId = normalizeOptionalText$62(input.sessionId);
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$62(input.sessionId) !== null,
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$62(latestOutput);
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$62(input.sessionId) !== null,
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$62(resolvedSessionId),
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$62(input.sessionId) !== null,
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$62(input.stderrText);
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$62(input.stderrText) ? [normalizeOptionalText$62(input.stderrText)] : []
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$62(value);
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$62(line);
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$62(value) {
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$61(input.sessionId);
7917
+ return normalizeOptionalText$62(input.sessionId);
7918
7918
  }
7919
7919
  async function invokeClaudeAgentSdkTransport(input) {
7920
- const prompt = normalizeOptionalText$61(input.prompt);
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$61(input.sessionId) !== null;
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$61(input.sessionId);
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$61(input.sessionId),
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$61(latestOutput);
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$61(resolvedSessionId),
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$61(input.sessionId);
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$61((await readFile(latestPlanFile.path, "utf8")).slice(0, 64e3));
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$61(input.message.session_id);
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$61(toolInput.content);
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$61(fallbackMessage) ?? ""],
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$61(value) {
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$60(dispatchInput.agentControllerConversationId),
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$60(input.claudeBin) ? buildExecutableLaunchContract({ commandPath: normalizeOptionalText$60(input.claudeBin) }) : null);
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$60 = (value) => {
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$59(input.codexErrorInfo)?.toLowerCase() === "usagelimitexceeded") return {
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$59(value) {
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$58(item?.id);
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$58(value) {
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;
@@ -9321,16 +9382,19 @@ async function forkCodexAppServerThread(input) {
9321
9382
  async function resolveDispatchThreadContext(input) {
9322
9383
  const existingThreadId = normalizeOptionalText$57(input.threadId);
9323
9384
  if (existingThreadId) {
9324
- const dispatchThreadId = input.executionMode === "repair" ? await forkEphemeralCodexRepairThread({
9385
+ if (input.executionMode === "repair") return await forkEphemeralCodexRepairThread({
9386
+ conversationPolicyParams: input.conversationPolicyParams,
9387
+ codexWorkdir: input.codexWorkdir,
9388
+ permissionModeParams: input.permissionModeParams,
9325
9389
  session: input.session,
9326
9390
  sourceThreadId: existingThreadId
9327
- }) : existingThreadId;
9391
+ });
9328
9392
  return readThreadContextFromResponse(await input.session.requestControl("thread/resume", {
9329
9393
  ...input.conversationPolicyParams.model ? { model: input.conversationPolicyParams.model } : {},
9330
9394
  ...input.permissionModeParams,
9331
9395
  cwd: input.codexWorkdir,
9332
9396
  excludeTurns: true,
9333
- threadId: dispatchThreadId
9397
+ threadId: existingThreadId
9334
9398
  }, {
9335
9399
  code: "context.resume_timeout",
9336
9400
  operation: "thread/resume"
@@ -9350,7 +9414,10 @@ async function resolveDispatchThreadContext(input) {
9350
9414
  }));
9351
9415
  }
9352
9416
  async function forkEphemeralCodexRepairThread(input) {
9353
- return readThreadIdFromResponse(await input.session.requestControl("thread/fork", {
9417
+ return readThreadContextFromResponse(await input.session.requestControl("thread/fork", {
9418
+ ...input.conversationPolicyParams.model ? { model: input.conversationPolicyParams.model } : {},
9419
+ ...input.permissionModeParams,
9420
+ cwd: input.codexWorkdir,
9354
9421
  ephemeral: true,
9355
9422
  excludeTurns: true,
9356
9423
  threadId: input.sourceThreadId
@@ -9535,21 +9602,25 @@ var CodexAppServerSession = class {
9535
9602
  this.#startupTimeoutMs = input.startupTimeoutMs ?? DEFAULT_APP_SERVER_STARTUP_TIMEOUT_MS;
9536
9603
  }
9537
9604
  async start() {
9605
+ const computerFileAccessArgs = this.#computerFileAccessBoundary ? buildCodexFileAccessBoundaryGlobalArgs({
9606
+ boundary: this.#computerFileAccessBoundary,
9607
+ executionMode: this.#executionMode,
9608
+ permissionMode: this.#permissionMode
9609
+ }) : [];
9610
+ const env = {
9611
+ ...process.env,
9612
+ ...this.#env ?? {}
9613
+ };
9614
+ const spaceActionMcpArgs = buildCodexSpaceActionMcpGlobalArgs(env);
9538
9615
  const launch = buildCodexAppServerLaunch({
9539
9616
  args: [
9540
- ...this.#computerFileAccessBoundary ? buildCodexFileAccessBoundaryGlobalArgs({
9541
- boundary: this.#computerFileAccessBoundary,
9542
- executionMode: this.#executionMode,
9543
- permissionMode: this.#permissionMode
9544
- }) : [],
9617
+ ...computerFileAccessArgs,
9618
+ ...spaceActionMcpArgs,
9545
9619
  "app-server",
9546
9620
  "--listen",
9547
9621
  "stdio://"
9548
9622
  ],
9549
- env: {
9550
- ...process.env,
9551
- ...this.#env ?? {}
9552
- },
9623
+ env,
9553
9624
  launchContract: this.#launchContract
9554
9625
  });
9555
9626
  const runtimeProcess = spawnAgentControllerProcess({
@@ -10568,7 +10639,7 @@ function toJsonRpcTransportError$1(error) {
10568
10639
  errorType: "auth",
10569
10640
  message
10570
10641
  });
10571
- if (lowered.includes("thread not found") || lowered.includes("thread not loaded") || lowered.includes("no thread") || lowered.includes("not found")) return new CodexAppServerTransportError({
10642
+ if (lowered.includes("no rollout found") || lowered.includes("rollout not found") || lowered.includes("thread not found") || lowered.includes("thread not loaded") || lowered.includes("no thread") || lowered.includes("not found")) return new CodexAppServerTransportError({
10572
10643
  code: "context_not_found",
10573
10644
  errorType: "config",
10574
10645
  message
@@ -17832,7 +17903,7 @@ function resolveOpenMeldAccountContext(input) {
17832
17903
  };
17833
17904
  }
17834
17905
  async function resolveCurrentOpenMeldAccountContext() {
17835
- const { getAuthSessionMetadata } = await import("./auth-session-B_VxWQiU.js").then((n) => n.t);
17906
+ const { getAuthSessionMetadata } = await import("./auth-session-6twfCXM2.js").then((n) => n.t);
17836
17907
  return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
17837
17908
  }
17838
17909
  function resolveHostKey(baseUrl) {
@@ -32619,7 +32690,7 @@ function isDaemonReconcileInProgressError(error) {
32619
32690
  //#region ../../runtime/local-service/src/space-action-target-guidance.ts
32620
32691
  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
32692
  const SPACE_ACTION_TARGET_GUIDANCE_LINES = [
32622
- "Use OpenMeld Space Action CLI target flags such as --wake and --reference.",
32693
+ "Use OpenMeld Space Action target fields such as wakeTargets and referenceTargets. With the CLI fallback, use --wake and --reference.",
32623
32694
  "Any @name text in the body is only prose in the agent path; it does not define OpenMeld targets.",
32624
32695
  "activationTargets is only for waking another Agent Profile in this Space.",
32625
32696
  "activationTargets must reference an active Agent Profile member in this Space.",
@@ -37236,9 +37307,9 @@ function createModelCatalogReadSession(input) {
37236
37307
  async function readModelCatalogOnce(baseUrl) {
37237
37308
  try {
37238
37309
  const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
37239
- import("./dist-BvewFyUz.js").then((n) => n.w),
37310
+ import("./dist-C9hbphYg.js").then((n) => n.w),
37240
37311
  import("./base-url-PkgATS5u.js").then((n) => n.n),
37241
- import("./api-client-foundation-BMW8SgH8.js").then((n) => n.t)
37312
+ import("./api-client-foundation-CrStZBGY.js").then((n) => n.t)
37242
37313
  ]);
37243
37314
  if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
37244
37315
  const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
@@ -45024,23 +45095,23 @@ function areAllowedActionsEquivalent(left, right) {
45024
45095
  return canonicalLeft.length === canonicalRight.length && canonicalLeft.every((action, index) => action === canonicalRight[index]);
45025
45096
  }
45026
45097
  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: call exactly one dispatch-scoped OpenMeld Space Action CLI command. Your answer text never selects or substitutes for that action.";
45028
- const COLLABORATION_REPAIR_REQUIREMENT = "Preserve the user's intent and call exactly one dispatch-scoped OpenMeld Space Action CLI command. Do not print an action as JSON or prose.";
45098
+ 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.";
45099
+ 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
45100
  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
45101
  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 call one dispatch-scoped OpenMeld Space Action CLI command for a controlled visible outcome. Answer text never becomes an action.";
45102
+ 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
45103
  function buildActionGuidanceLines$1(input) {
45033
45104
  const lines = [];
45034
45105
  for (const allowedAction of input.allowedActions) switch (allowedAction) {
45035
45106
  case "post_message":
45036
- lines.push("Use the dispatch-scoped Space Action reply command for normal public replies, greetings, answers, and discussion.");
45107
+ lines.push("Use the dispatch-scoped Space Action reply for normal public replies, greetings, answers, and discussion.");
45037
45108
  break;
45038
45109
  case "post_status":
45039
45110
  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
45111
  lines.push(`Keep post_status text at 120 characters or fewer. Use post_message for answers, discussion, or anything longer.`);
45041
45112
  break;
45042
45113
  case "stay_silent":
45043
- lines.push("Use the dispatch-scoped Space Action silent command only when you intentionally do not want OpenMeld to publish a public reply.");
45114
+ 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
45115
  break;
45045
45116
  default: break;
45046
45117
  }
@@ -47920,7 +47991,10 @@ function resolveDispatchOwnedRuntimeCliShimDir(input = {}) {
47920
47991
  }
47921
47992
  function ensureDispatchOwnedRuntimeCliShims(input) {
47922
47993
  const distribution = input?.distribution ?? resolveOpenMeldDistribution();
47923
- const cliEntryPath = distribution === "binary" ? resolveDispatchOwnedRuntimeBinaryCliEntryPath(input?.cliEntryPath) : resolveDispatchOwnedRuntimeCliEntryPath(input?.cliEntryPath);
47994
+ const cliEntryPath = distribution === "binary" ? resolveDispatchOwnedRuntimeBinaryCliEntryPath({
47995
+ cliEntryPath: input?.cliEntryPath,
47996
+ env: input?.env
47997
+ }) : resolveDispatchOwnedRuntimeCliEntryPath(input?.cliEntryPath);
47924
47998
  const shimDir = resolveDispatchOwnedRuntimeCliShimDir({
47925
47999
  env: input?.env,
47926
48000
  spaceActionContextPath: input?.spaceActionContextPath
@@ -47978,8 +48052,8 @@ function resolveDispatchOwnedRuntimeCliEntryPath(cliEntryPath) {
47978
48052
  if (!normalizedCliEntryPath) throw new Error("dispatch-owned runtime CLI shim requires a current CLI entry path");
47979
48053
  return resolve(normalizedCliEntryPath);
47980
48054
  }
47981
- function resolveDispatchOwnedRuntimeBinaryCliEntryPath(cliEntryPath) {
47982
- const normalizedCliEntryPath = normalizeOptionalText$18(cliEntryPath) ?? normalizeOptionalText$18(process.execPath) ?? null;
48055
+ function resolveDispatchOwnedRuntimeBinaryCliEntryPath(input) {
48056
+ const normalizedCliEntryPath = normalizeOptionalText$18(input.cliEntryPath) ?? normalizeOptionalText$18(openMeldManagedBinaryPath({ env: input.env })) ?? null;
47983
48057
  if (!normalizedCliEntryPath) throw new Error("dispatch-owned runtime CLI shim requires a current binary CLI path");
47984
48058
  return resolve(normalizedCliEntryPath);
47985
48059
  }
@@ -53568,7 +53642,7 @@ function projectAgentControllerInterfaceForCloud(snapshot) {
53568
53642
  status: snapshot.launch.status
53569
53643
  },
53570
53644
  message: null,
53571
- models: [],
53645
+ models: snapshot.models.map((model) => ({ ...model })),
53572
53646
  nativeInterface: snapshot.nativeInterface,
53573
53647
  schemaVersion: snapshot.schemaVersion,
53574
53648
  skills: [],
@@ -58007,7 +58081,7 @@ function renderActivationIntentGate(input) {
58007
58081
  return [
58008
58082
  "Activation intent gate:",
58009
58083
  "- 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\"")}\` immediately and stop. Do not read history, call business tools, or publish an explanation.`,
58084
+ `- 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
58085
  "- 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
58086
  ].join("\n");
58013
58087
  }
@@ -58087,16 +58161,16 @@ function renderMandatoryCompletionSection(input) {
58087
58161
  if (publicationRequirement.allowsRawReplyWithoutAction) return null;
58088
58162
  return [
58089
58163
  "Mandatory completion:",
58090
- "- Do not finish this Wake with a plain-text final answer. Plain prose stays local and is not a public Space reply in Collaboration mode.",
58164
+ "- Plain text stays local; it is never a public Space reply.",
58091
58165
  buildMandatoryCompletionActionLine(input, publicationRequirement),
58092
- "- After the Space Action command succeeds, stop. OpenMeld reads that command as the public outcome.",
58093
- "- If the command cannot run, stop and let OpenMeld report the structured failure. Do not print JSON or prose as a substitute for the tool call."
58166
+ "- Stop after one action is recorded; that action is the public outcome.",
58167
+ "- If neither path can record it, stop. Do not substitute prose or JSON."
58094
58168
  ].join("\n");
58095
58169
  }
58096
58170
  function buildMandatoryCompletionActionLine(input, publicationRequirement) {
58097
- if (publicationRequirement.allowedActions.includes("post_message")) return `- Normal completion: run \`${buildSpaceActionCommand(input, "reply \"your public message\"")}\` and wait for it to finish.`;
58098
- if (publicationRequirement.allowedActions.includes("post_status")) return `- Normal completion: run \`${buildSpaceActionCommand(input, "status done \"short completion update\"")}\` and wait for it to finish.`;
58099
- if (publicationRequirement.allowedActions.includes("stay_silent")) return `- Normal completion: run \`${buildSpaceActionCommand(input, "silent --reason \"reason\"")}\` and wait for it to finish.`;
58171
+ 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.`;
58172
+ 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.`;
58173
+ 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
58174
  return "- No permitted OpenMeld Space action is available. Do not invent one in answer text.";
58101
58175
  }
58102
58176
  function buildServiceFreshnessWarningLines(input) {
@@ -60377,6 +60451,105 @@ function resolveAdapterInterruptNote(input) {
60377
60451
  return input.reasonCode;
60378
60452
  }
60379
60453
  //#endregion
60454
+ //#region src/local-service/carrier/local-execution-slots.ts
60455
+ function createDaemonLocalExecutionSlots(input) {
60456
+ return createLocalExecutionSlots({
60457
+ limits: input.limits,
60458
+ onTaskDropped: (event) => {
60459
+ emitRunLine({
60460
+ presenter: input.presenter,
60461
+ code: "daemon.run.local_execution_slot_dropped",
60462
+ text: `local execution slot dropped pending task ${event.taskId} for ${event.targetLabel}: ${event.reason}`,
60463
+ payload: {
60464
+ adapterId: event.adapterId,
60465
+ activeForLane: event.activeForLane,
60466
+ activeGlobal: event.activeGlobal,
60467
+ controllerKey: event.controllerKey,
60468
+ dispatchId: event.dispatchId,
60469
+ globalConcurrency: event.limits.globalConcurrency,
60470
+ localExecutionLaneKey: event.localExecutionLaneKey,
60471
+ profileId: event.profileId,
60472
+ queueDepth: event.queueDepth,
60473
+ localQueueStatus: event.localQueue.status,
60474
+ localQueueWaitReason: event.localQueue.waitReason,
60475
+ queuePosition: event.localQueue.queuePosition,
60476
+ queueMax: event.limits.queueMax,
60477
+ reason: event.reason,
60478
+ spaceId: event.spaceId,
60479
+ step: "dropped",
60480
+ taskId: event.taskId,
60481
+ targetLabel: event.targetLabel,
60482
+ transportMode: event.transportMode
60483
+ }
60484
+ });
60485
+ },
60486
+ onTaskStarted: (event) => {
60487
+ emitRunLine({
60488
+ presenter: input.presenter,
60489
+ code: "daemon.run.local_execution_slot_reserved",
60490
+ text: `local execution slot reserved task ${event.taskId} for ${event.targetLabel}`,
60491
+ payload: {
60492
+ adapterId: event.adapterId,
60493
+ activeForLane: event.activeForLane,
60494
+ activeGlobal: event.activeGlobal,
60495
+ controllerKey: event.controllerKey,
60496
+ dispatchId: event.dispatchId,
60497
+ durationMs: null,
60498
+ errorCode: null,
60499
+ globalConcurrency: event.limits.globalConcurrency,
60500
+ localExecutionLaneKey: event.localExecutionLaneKey,
60501
+ profileId: event.profileId,
60502
+ queueDepth: event.queueDepth,
60503
+ localQueueStatus: event.localQueue.status,
60504
+ localQueueWaitReason: event.localQueue.waitReason,
60505
+ queuePosition: event.localQueue.queuePosition,
60506
+ queueMax: event.limits.queueMax,
60507
+ result: null,
60508
+ spaceId: event.spaceId,
60509
+ step: "started",
60510
+ taskId: event.taskId,
60511
+ targetLabel: event.targetLabel,
60512
+ transportMode: event.transportMode
60513
+ }
60514
+ });
60515
+ },
60516
+ onTaskCompleted: (event) => {
60517
+ let completionText = `local execution slot failed task ${event.taskId} for ${event.targetLabel}`;
60518
+ if (event.result === "success") completionText = `local execution slot completed task ${event.taskId} for ${event.targetLabel}`;
60519
+ else if (event.result === "partial_success") completionText = `local execution slot partially completed task ${event.taskId} for ${event.targetLabel}`;
60520
+ emitRunLine({
60521
+ presenter: input.presenter,
60522
+ code: "daemon.run.local_execution_slot_completed",
60523
+ text: completionText,
60524
+ payload: {
60525
+ adapterId: event.adapterId,
60526
+ activeForLane: event.activeForLane,
60527
+ activeGlobal: event.activeGlobal,
60528
+ controllerKey: event.controllerKey,
60529
+ dispatchId: event.dispatchId,
60530
+ durationMs: event.durationMs,
60531
+ errorCode: event.errorCode,
60532
+ ...event.errorMessage ? { errorMessage: event.errorMessage } : {},
60533
+ globalConcurrency: event.limits.globalConcurrency,
60534
+ localExecutionLaneKey: event.localExecutionLaneKey,
60535
+ profileId: event.profileId,
60536
+ queueDepth: event.queueDepth,
60537
+ localQueueStatus: event.localQueue.status,
60538
+ localQueueWaitReason: event.localQueue.waitReason,
60539
+ queuePosition: event.localQueue.queuePosition,
60540
+ queueMax: event.limits.queueMax,
60541
+ result: event.result,
60542
+ spaceId: event.spaceId,
60543
+ step: "completed",
60544
+ taskId: event.taskId,
60545
+ targetLabel: event.targetLabel,
60546
+ transportMode: event.transportMode
60547
+ }
60548
+ });
60549
+ }
60550
+ });
60551
+ }
60552
+ //#endregion
60380
60553
  //#region src/agents/command-examples.ts
60381
60554
  const AGENT_EXAMPLE_PLACEHOLDER = "<agent-id>";
60382
60555
  const AGENT_EXAMPLE_PAIR_PLACEHOLDER = "<agent-a> <agent-b>";
@@ -66915,7 +67088,7 @@ function buildAgentReplyReconsiderationPrompt(input) {
66915
67088
  "Keep the user's full request as the goal. Reconsider only the final Space action in light of these newer messages.",
66916
67089
  "Replace the proposal when a distinct, useful contribution is still possible. Avoid duplicating work or a conclusion another Agent has already posted.",
66917
67090
  "Choose stay_silent only when no distinct, useful, non-duplicative contribution remains.",
66918
- "Call exactly one dispatch-scoped OpenMeld Space Action CLI command for the final action. Answer text never becomes an action.",
67091
+ "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
67092
  `Previous proposed action: ${JSON.stringify(input.action)}`,
66920
67093
  `Newer Space messages: ${JSON.stringify(updates)}`
66921
67094
  ].join("\n");
@@ -67639,7 +67812,7 @@ function buildStructuredActionRepairPrompt$1(input) {
67639
67812
  "Do not change the user's intent.",
67640
67813
  ...SPACE_ACTION_CONTEXT_GUIDANCE_LINES,
67641
67814
  "Your answer text never selects an OpenMeld Space action.",
67642
- "Call exactly one dispatch-scoped OpenMeld Space Action CLI command to repair the delivery action.",
67815
+ "Call exactly one dispatch-scoped OpenMeld Space Action tool to repair the delivery action. Use the CLI only if the tool is unavailable.",
67643
67816
  publicationRequirement.repairRequirementLine,
67644
67817
  ...SPACE_ACTION_TARGET_GUIDANCE_LINES,
67645
67818
  ...normalizeOptionalText$44(input.currentReplyToSignalId) ? [`post_message.messageEnvelope.replyToSignalId must match the current dispatch reply target: ${normalizeOptionalText$44(input.currentReplyToSignalId)}.`] : [],
@@ -67658,14 +67831,14 @@ function buildStructuredActionRepairCompletionLines(input) {
67658
67831
  return [
67659
67832
  "Repair completion rule:",
67660
67833
  buildStructuredActionRepairPrimaryCommandLine(input),
67661
- "If the command cannot run, stop. Do not print JSON or prose as a substitute for the tool call.",
67834
+ "If neither the tool nor the fallback command can record the action, stop. Do not print JSON or prose as a substitute.",
67662
67835
  "Do not finish with an explanation of what you will do."
67663
67836
  ];
67664
67837
  }
67665
67838
  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"\` now and wait for it to finish.`;
67667
- if (input.publicationRequirement.allowedActions.includes("post_status")) return `For a final status, run \`${input.cliEntry} space action status done "short completion update"\` now and wait for it to finish.`;
67668
- if (input.publicationRequirement.allowedActions.includes("stay_silent")) return `If no public reply is needed, run \`${input.cliEntry} space action silent --reason "reason"\` now and wait for it to finish.`;
67839
+ 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.`;
67840
+ 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.`;
67841
+ 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
67842
  return "No permitted OpenMeld Space action is available. Do not invent one in answer text.";
67670
67843
  }
67671
67844
  function buildStructuredActionRepairSendTargetReferenceLines(sendTargetReferenceLines) {
@@ -72070,101 +72243,7 @@ async function runDaemonSocketSession(input) {
72070
72243
  deviceId: input.deviceId
72071
72244
  }
72072
72245
  });
72073
- const localExecutionSlots = createLocalExecutionSlots({
72074
- limits: input.dispatchLimits,
72075
- onTaskDropped: (event) => {
72076
- emitRunLine({
72077
- presenter: input.presenter,
72078
- code: "daemon.run.local_execution_slot_dropped",
72079
- text: `local execution slot dropped pending task ${event.taskId} for ${event.targetLabel}: ${event.reason}`,
72080
- payload: {
72081
- adapterId: event.adapterId,
72082
- activeForLane: event.activeForLane,
72083
- activeGlobal: event.activeGlobal,
72084
- controllerKey: event.controllerKey,
72085
- dispatchId: event.dispatchId,
72086
- globalConcurrency: event.limits.globalConcurrency,
72087
- localExecutionLaneKey: event.localExecutionLaneKey,
72088
- profileId: event.profileId,
72089
- queueDepth: event.queueDepth,
72090
- localQueueStatus: event.localQueue.status,
72091
- localQueueWaitReason: event.localQueue.waitReason,
72092
- queuePosition: event.localQueue.queuePosition,
72093
- queueMax: event.limits.queueMax,
72094
- reason: event.reason,
72095
- spaceId: event.spaceId,
72096
- step: "dropped",
72097
- taskId: event.taskId,
72098
- targetLabel: event.targetLabel,
72099
- transportMode: event.transportMode
72100
- }
72101
- });
72102
- },
72103
- onTaskStarted: (event) => {
72104
- emitRunLine({
72105
- presenter: input.presenter,
72106
- code: "daemon.run.local_execution_slot_reserved",
72107
- text: `local execution slot reserved task ${event.taskId} for ${event.targetLabel}`,
72108
- payload: {
72109
- adapterId: event.adapterId,
72110
- activeForLane: event.activeForLane,
72111
- activeGlobal: event.activeGlobal,
72112
- controllerKey: event.controllerKey,
72113
- dispatchId: event.dispatchId,
72114
- durationMs: null,
72115
- errorCode: null,
72116
- globalConcurrency: event.limits.globalConcurrency,
72117
- localExecutionLaneKey: event.localExecutionLaneKey,
72118
- profileId: event.profileId,
72119
- queueDepth: event.queueDepth,
72120
- localQueueStatus: event.localQueue.status,
72121
- localQueueWaitReason: event.localQueue.waitReason,
72122
- queuePosition: event.localQueue.queuePosition,
72123
- queueMax: event.limits.queueMax,
72124
- result: null,
72125
- spaceId: event.spaceId,
72126
- step: "started",
72127
- taskId: event.taskId,
72128
- targetLabel: event.targetLabel,
72129
- transportMode: event.transportMode
72130
- }
72131
- });
72132
- },
72133
- onTaskCompleted: (event) => {
72134
- let completionText = `local execution slot failed task ${event.taskId} for ${event.targetLabel}`;
72135
- if (event.result === "success") completionText = `local execution slot completed task ${event.taskId} for ${event.targetLabel}`;
72136
- else if (event.result === "partial_success") completionText = `local execution slot partially completed task ${event.taskId} for ${event.targetLabel}`;
72137
- emitRunLine({
72138
- presenter: input.presenter,
72139
- code: "daemon.run.local_execution_slot_completed",
72140
- text: completionText,
72141
- payload: {
72142
- adapterId: event.adapterId,
72143
- activeForLane: event.activeForLane,
72144
- activeGlobal: event.activeGlobal,
72145
- controllerKey: event.controllerKey,
72146
- dispatchId: event.dispatchId,
72147
- durationMs: event.durationMs,
72148
- errorCode: event.errorCode,
72149
- ...event.errorMessage ? { errorMessage: event.errorMessage } : {},
72150
- globalConcurrency: event.limits.globalConcurrency,
72151
- localExecutionLaneKey: event.localExecutionLaneKey,
72152
- profileId: event.profileId,
72153
- queueDepth: event.queueDepth,
72154
- localQueueStatus: event.localQueue.status,
72155
- localQueueWaitReason: event.localQueue.waitReason,
72156
- queuePosition: event.localQueue.queuePosition,
72157
- queueMax: event.limits.queueMax,
72158
- result: event.result,
72159
- spaceId: event.spaceId,
72160
- step: "completed",
72161
- taskId: event.taskId,
72162
- targetLabel: event.targetLabel,
72163
- transportMode: event.transportMode
72164
- }
72165
- });
72166
- }
72167
- });
72246
+ const { localExecutionSlots } = input;
72168
72247
  const waitForClose = new Promise((resolve) => {
72169
72248
  input.socket.onClose((code, reason) => {
72170
72249
  closed = true;
@@ -73958,6 +74037,10 @@ const runDaemonServiceLoop = async (input) => {
73958
74037
  const daemonSessionId = randomUUID();
73959
74038
  const heartbeatIntervalMs = normalizeHeartbeatIntervalMs(input.heartbeatIntervalMs);
73960
74039
  const dispatchLimits = await getConfiguredDaemonDispatchLimits();
74040
+ const localExecutionSlots = createDaemonLocalExecutionSlots({
74041
+ limits: dispatchLimits,
74042
+ presenter: input.presenter
74043
+ });
73961
74044
  const ledgerPaths = buildLedgerPaths(runtimePaths.ledgerRootPath);
73962
74045
  const mode = resolveDaemonRunMode$1(input.mode);
73963
74046
  const now = nowIsoString();
@@ -74346,7 +74429,6 @@ const runDaemonServiceLoop = async (input) => {
74346
74429
  computerFileAccessStorePath: resolveComputerFileAccessStorePath(runtimePaths.dataRootPath),
74347
74430
  currentSocketRef,
74348
74431
  daemonSessionId,
74349
- dispatchLimits,
74350
74432
  deviceId,
74351
74433
  serviceContractGeneration: daemonServiceContract?.generation ?? 0,
74352
74434
  foregroundActive: mode === "foreground",
@@ -74359,6 +74441,7 @@ const runDaemonServiceLoop = async (input) => {
74359
74441
  ledgerPaths,
74360
74442
  loadRouteCatalog: routeCatalogLoader.load,
74361
74443
  localAdapterContainer,
74444
+ localExecutionSlots,
74362
74445
  onRuntimeReportingAuthenticationFailure: async (failure) => {
74363
74446
  await requestRuntimeReportingAuthenticationRecovery({
74364
74447
  expectedSocket: ws,
@@ -108222,4 +108305,4 @@ function isHumanInteractiveSpaceRuntime(runtime) {
108222
108305
  //#endregion
108223
108306
  export { runAgentsRepair as $, installAgentActivityIntegrations as $a, readDaemonServiceJobCrashExitCode as $i, formatDaemonServiceMissingRecommendation as $n, resolveOpenClawLocalDiagnosticsValue as $r, readBundledOpenMeldCliSkillDocumentByPath as $t, assertFullSignalIdArgument as A, updateOpenMeldProfile as Aa, resolveNativeAgentControllerPermissionModeForController as Ai, upsertSpaceConfig as An, setDefaultProjectConnection as Ao, DualViewGuideError as Ar, shouldEmitAgentOverview as At, persistAgentTransportSelection as B, resolveAuthenticationGuidanceFromMessage as Ba, assessServerRequiredVersion as Bi, promptSearchMultiselect as Bn, outJsonLine as Bo, runPendingDaemonServiceUpdate as Br, parseJsonResponse$1 as Bt, toSpaceMetaUpsertInput as C, resolveOpenMeldProfileOrNull as Ca, getAgentControllerPermissionModeFieldLabel as Ci, submitRuntimeAgentControllerReport as Cn, removeProjectOutbox as Co, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as Cr, runDaemonTeardownStrict as Ct, formatHumanReadTargetList as D, listOpenMeldProfiles as Da, resolveAgentExecutionStatus as Di, resolveLocalAgentControllerLaunchability as Dn, migrateProjectBindingStore as Do, registerAuthLoginRequestOptions as Dr, reconcileCliVersionView as Dt, buildHumanReplyContextSummary as E, deleteOpenMeldProfile as Ea, resolveAgentControllerPermissionModeForController as Ei, resolveLocalAgentControllerBlockerReasonCodes as En, listProjectConnectionsWithStatus as Eo, registerDaemonControlTargetOptions as Er, buildProfileWorkspaceRows as Et, emitSpaceAgentOverview as F, buildAgentAuthenticationGuide as Fa, buildDaemonServiceTargetSpec as Fi, buildSignalMessageReadProjection as Fn, renderInfoCard as Fo, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Fr, fetchSpaceMeta as Ft, runAgentsCustomList as G, LocalDaemonControlPlaneClientError as Ga, resetCurrentCommandCheckState as Gi, isCliUpdateCheckApplicable as Gn, cliJsonSkillsLoadEnvelopeSchema as Go, resolveServiceReadinessFromServiceStatus as Gr, runDaemonStartDecisionPrompt as Gt, runAgents as H, setProfileDefaultView as Ha, finishCurrentCommandCheckScope as Hi, isReturnKeypress as Hn, cliBinaryDeltaPatchSchema as Ho, ensureDaemonRuntimePaths as Hr, writeInstalledLocalComponentsSnapshot as Ht, emitSpaceCliAgentOverview as I, buildHumanAuthenticationCard as Ia, resolveDaemonServiceAlignmentDecision as Ii, buildSpaceRoundReadProjection as In, renderTextInfoCard as Io, areAllowedActionsEquivalent as Ir, updateSpaceMeta as It, runAgentsDetect as J, registerAgentActivityRoute as Ja, resolveVersionChangeDirection as Ji, readDispatchSpaceActionContextFromEnv as Jn, organizationJoinLinkErrorResponseSchema as Jo, formatAgentReplyReadinessLabel as Jr, runSkillsEnsure as Jt, runAgentsCustomRemove as K, requestLocalAgentActivitySync as Ka, startCurrentCommandCheckScope as Ki, assertDispatchOwnedRuntimePublicWriteAllowed as Kn, cliJsonSkillsShowEnvelopeSchema as Ko, resolveDaemonServiceFreshnessWarning as Kr, collectSkillsReadinessSnapshot as Kt, prepareLocalAgentReadiness as L, createAuthenticationError as La, classifyDaemonServiceRunStartability as Li, buildUpdatesReplyWorkflowProjection as Ln, sanitizeTerminalDisplayText as Lo, buildAgentFacingPublicationModeGuideLines as Lr, readGatewayJsonResponse as Lt, prepareAuthenticatedSpaceCommandContext as M, clearSelectedOpenMeldProfileId as Ma, buildDaemonRouteObservationPresentation as Mi, buildDispatchResultMessageReadProjection as Mn, canonicalizeLocalProjectPath as Mo, buildDualViewGuideMessage as Mr, readDaemonStartFailureLogTailLines as Mt, resolveOpenMeldProfileForSpaceCommand as N, getSelectedOpenMeldProfileId as Na, buildOnboardingPlan as Ni, buildDispatchResultReplyWorkflowProjection as Nn, enqueueControllerTaskLifecycleEventWhileLocked as No, formatAgentOverviewPayload as Nr, fetchSpaceUpdates as Nt, parseEnvelope as O, primeOpenMeldProfilesSessionCache as Oa, resolveAgentProfileEditCapabilities as Oi, resolveLocalAgentControllerReportDecision as On, removeProjectConnection as Oo, registerBuiltinAgentSelectionOptions as Or, emitDaemonAgentOverview as Ot, resolveSpaceAccessLabel as P, setSelectedOpenMeldProfileId as Pa, getSetupFlowCopy as Pi, buildSignalIndex as Pn, readControllerTaskLifecycleOutboxHealth as Po, OPENMELD_AGENT_MENTAL_MODEL_LINES as Pr, createCliSpaceApi as Pt, runAgentsManage as Q, defaultManagedIntegrationPaths as Qa, isDaemonServiceJobNeverSpawned as Qi, formatDaemonServiceDowngradeBlockedRecommendation as Qn, resolveGatewayChainReadiness as Qr, ensureLocalSkills as Qt, buildReplyReadinessGuidance as R, resolveAuthenticationGuidance as Ra, classifyDaemonServiceWakeability as Ri, createSpaceMemberIdentityIndex as Rn, emitCliJsonEnvelope as Ro, canonicalizeAllowedActions as Rr, readGatewayTextResponse as Rt, loadSpaceSignalIndexOrNull as S, requireOpenMeldProfile as Sa, getAgentControllerPermissionModeDisplayMetadata as Si, submitProfileRuntimeAgentControllerReport as Sn, readAgentActivityOutboxHealth as So, registerSpaceMemberSelectionOptions as Sr, runDaemonStop as St, buildFormalSignalReadPayload as T, createOpenMeldHumanProfile as Ta, parseAgentControllerRef as Ti, collectLocalAgentControllerInventory as Tn, listProjectBindings as To, getCliVersionInfo as Tr, buildProfileWorkspacePresentation as Tt, runAgentsConfig as U, LocalProjectConnectionError as Ua, getCurrentCommandCheckState as Ui, runInteractivePrompt as Un, cliJsonOutputEnvelopeSchema as Uo, resolveDaemonDeviceId as Ur, resolveDaemonServiceParticipationStatus as Ut, resolveAgentProfileSetup as V, getProfileDefaultView as Va, resolveOpenMeldEnvironmentTarget as Vi, promptSearchSelect as Vn, outLine as Vo, scheduleDaemonServiceUpdate as Vr, resolveLocalComponentsStatus as Vt, runAgentsCustomAdd as W, validateLocalProjectConnectionPath as Wa, isCurrentCommandCheckScopeActive as Wi, assessCliUpdate as Wn, cliJsonSkillsListEnvelopeSchema as Wo, formatDaemonFailureContextText as Wr, runDaemonServiceParticipationGate as Wt, runAgentsEnable as X, unregisterAgentActivityRoute as Xa, readCurrentObservedDaemonRuntimeStatus as Xi, formatElapsedTime as Xn, compareAgentControllerRefsForDisplay as Xo, formatHumanReplyReadinessReason as Xr, runSkillsUninstall as Xt, runAgentsDisable as Y, resolveAgentActivityRouteForPath as Ya, readCurrentDaemonRuntimeContext as Yi, writeDispatchSpaceActionRecord as Yn, revokeOrganizationJoinLinkResponseSchema as Yo, formatDeviceReplyReadinessLabel as Yr, runSkillsInstall as Yt, runAgentsList as Z, AGENT_ACTIVITY_INTEGRATION_OWNER as Za, getDaemonSystemServiceLogPath as Zi, resolveElapsedTimeMs as Zn, package_default as Zo, mapAgentReplyReadinessToLegacyAutoReply as Zr, runSkillsUpdate as Zt, runSpaceWriteWithPasswordRetry as _, formatMessage as _a, listBuiltinAgentsRegistryEntries as _i, ensureAgentProfileRuntimeBinding as _n, resolveObservedAgentActivityBinding as _o, createStartAgentIdentityGuideError as _r, runDaemonInterrupt as _t, runSpaceDelete as a, ensureVersionStateReady as aa, normalizeCustomProfileWorkspacePath as ai, evaluateCommandAuthentication as an, formatOpenMeldCliCommands as ao, createResetConfirmationGuideError as ar, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, resolveViewProfileKey as ba, buildAgentControllerRef as bi, assessActionParticipationCandidate as bn, enqueueAgentActivityHookEvent as bo, getCommandEntryContract as br, runDaemonSnapshot as bt, runSpaceLeave as c, readVersionState as ca, setCustomProfileWorkspace as ci, runAuthMenu as cn, formatProfileAwareOpenMeldCliCommands as co, createSpaceContractSetGuideError as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, toStartBackgroundHelperExecutionCompatibility as da, describeProfileWorkspacePathValidationFailure as di, buildAuthStatusSnapshot as dn, syncLocalAgentActivity as do, createSpacePublicationSetGuideError as dr, resolveSpaceSendText as dt, resolveDaemonServiceManager as ea, readRecentDaemonLifecycleEvents as ei, readRuntimeReportingHealthState as en, readAgentActivityIntegrationStatus as eo, canUseInteractivePrompts as er, runAgentsShow as et, runSpaceSend as f, resolveCurrentDaemonExpectedVersion as fa, syncDeviceRuntimeStateProjection as fi, formatActiveOrganizationLabel as fn, readDaemonServiceContract as fo, createSpaceRemoveMembersGuideError as fr, runDaemon as ft, runSpaceReadWithPasswordRetry as g, createPresenter as ga, reconcileNewRunnableBuiltinAgentsForSetup as gi, promptTextEntry as gn, buildAgentActivityEvent as go, createSpaceUpdatesGuideError as gr, runDaemonInstall as gt, uploadPreparedSpaceFiles as h, renderHumanTextErrorCard as ha, listAgentTargetStates as hi, resolveCreateProfileName as hn, removeAgentActivityContextCache as ho, createSpaceTargetGuideError as hr, runDaemonCancel as ht, runSpaceCreate as i, compareSemver as ia, ensureOpenMeldManagedProfileWorkspace as ii, ensureCommandAuthenticationOrCancel as in, formatOpenMeldCliCommand as io, createProfileMenuGuideError as ir, colorizeDisplayProfileLabel as it, assertValidSpaceIdTarget as j, alignSelectedOpenMeldProfileStorage as ja, PREPARE_SESSION_RECONNECT_GRACE_MS as ji, assertNoRemovedCcSpaceAddressingSyntax as jn, unbindProject as jo, formatDualViewGuideForDisplay as jr, runDaemonStartupPreflight as jt, isSpaceCommandOutputHandledError as k, resolveOpenMeldProfile as ka, resolveEvidenceSyncHealth as ki, inspectSpaceCacheFile as kn, runIfAgentActivityBindingGenerationIsCurrent as ko, buildAgentOverviewFromContract as kr, createDelayedSpinner as kt, runSpaceList as l, writeVersionState as la, setOpenMeldManagedProfileWorkspace as li, runAuthStatus as ln, resolveSetupFollowUpCliEntryCommand as lo, createSpaceLeaveGuideError as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, renderHumanErrorCard as ma, resolveAgentProfilePrimaryAgentControllerReport as mi, resolveCreateProfileKind as mn, readAgentActivityContextForPath as mo, createSpaceSubcommandTargetGuideError as mr, runDaemonBackgroundStartForDecision as mt, promptAndConfirmSpacePassword as n, performManagedInstall as na, createModelCatalogReadSession as ni, connectWebSocket as nn, uninstallAgentActivityIntegrations as no, createProfileActionGuideError as nr, postLocalParticipationMutationReconcile as nt, runSpaceHistory as o, fetchLatestCliBinaryRelease as oa, readProfileWorkspaceConfig as oi, runAuthLogin as on, formatOpenMeldCliLine as oo, createSpaceAddMembersGuideError as or, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, buildHumanErrorCopy as pa, createPrimaryBindingReadSession as pi, createProfileByKind as pn, upsertDaemonServiceContract as po, createSpaceResultGuideError as pr, runDaemonAutostart as pt, runAgentsCustomUpdate as q, isAgentActivityRouteRegistered as qa, inspectDaemonServiceInventory as qi, readDispatchOwnedRuntimeGuard as qn, getOrganizationJoinLinkResponseSchema as qo, resolveCurrentReplyReadinessSnapshot as qr, runSkillsCheck as qt, runSpaceAddMembers as r, buildNextVersionState as ra, resolveProfileWorkspaceRuntime as ri, buildCommandAuthenticationPromptMessage as rn, formatInlineOpenMeldCliCommands as ro, createProfileCreateGuideError as rr, colorizeAgentLabel as rt, runSpaceJoin as s, fetchLatestPackageInfo as sa, resolveConfiguredProfileWorkspacePath as si, runAuthLogout as sn, formatOpenMeldCliTextBlock as so, createSpaceAliasTargetGuideError as sr, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, buildInstallSelfJsonPayload as ta, syncProfileWorkspaceState as ti, readRecentDaemonDispatchJournalEvents as tn, resolveAgentActivityDispatcherCommand as to, createDoctorFailedGuideError as tr, formatTransportModeDisplay as tt, runSpacePassword as u, resolveDaemonRuntimeContractCompatibility as ua, validateCustomProfileWorkspacePath as ui, buildAuthStatusRows as un, resolveUserFacingCliEntryCommand as uo, createSpaceMenuGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, parseCliViewMode as va, notifyDaemonRouteCatalogChanged as vi, formatServiceParticipationReadinessLabel as vn, normalizeSharedSessionTitle as vo, createStartAuthenticationGuideError as vr, runDaemonReinstall as vt, buildFormalDispatchResultReadPayload as w, createOpenMeldAgentProfile as wa, listAgentControllerPermissionModeOptions as wi, submitRuntimeAgentControllerReports as wn, bindProject as wo, registerSkillsTargetSelectionOptions as wr, runDaemonUninstall as wt, loadSpaceIdentityDirectoryOrNull as x, isSelectedOpenMeldProfileRequiredError as xa, createAgentExecutionStatusDisplayRows as xi, computeRetryDelayMs as xn, removeProjectInbox as xo, getCommandHintsFromContract as xr, runDaemonStatusFlow as xt, emitHumanReadSignalsTextProjection as y, resolveRuntimeContext as ya, resolveLocalRegistryAgentIdFromAgentControllerRef as yi, resolveServiceParticipationReadiness as yn, readCodexSessionTitles as yo, createUpgradeConfirmationGuideError as yr, runDaemonRunAfterEntryChecks as yt, resolveHumanControllerDisplayName as z, resolveAuthenticationGuidanceFromError as za, resolveServiceUpdateUrgency as zi, formatRemovedCcRelationMessage as zn, errLine as zo, readOpenMeldToolsUpdateContextFromEnv as zr, toStructuredGatewayFailure as zt };
108224
108307
 
108225
- //# sourceMappingURL=command-NA54nJ63.js.map
108308
+ //# sourceMappingURL=command-rJL_c028.js.map