openmeld 0.3.136 → 0.3.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-me-membership-BNNtDZYW.js → add-me-membership-CZUHkjnP.js} +2 -2
- package/dist/{add-me-membership-BNNtDZYW.js.map → add-me-membership-CZUHkjnP.js.map} +1 -1
- package/dist/{api-client-foundation-CabWpjFe.js → api-client-foundation-BPmXnsr9.js} +4 -7
- package/dist/api-client-foundation-BPmXnsr9.js.map +1 -0
- package/dist/{auth-session-Bj8n8YwV.js → auth-session-B06nfwnD.js} +3 -6
- package/dist/auth-session-B06nfwnD.js.map +1 -0
- package/dist/{base-url-BtqW4aLS.js → base-url-CY_j4bLH.js} +13 -6
- package/dist/base-url-CY_j4bLH.js.map +1 -0
- package/dist/{command-BGqFPMwd.js → command-CU_3raCS.js} +309 -157
- package/dist/{command-BGqFPMwd.js.map → command-CU_3raCS.js.map} +1 -1
- package/dist/{daemon-runtime-lease-D82uDZ5s.js → daemon-runtime-lease-6DIprlJy.js} +2 -2
- package/dist/{daemon-runtime-lease-D82uDZ5s.js.map → daemon-runtime-lease-6DIprlJy.js.map} +1 -1
- package/dist/{dist-0qM_CVk2.js → dist-NJH-sDDB.js} +150 -35
- package/dist/dist-NJH-sDDB.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/openmeld.js +408 -222
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-BiQfJGnw.js → runtime-transport-DYzU1lHC.js} +30 -11
- package/dist/runtime-transport-DYzU1lHC.js.map +1 -0
- package/package.json +2 -2
- package/skills/README.md +5 -2
- package/skills/openmeld-cli/SKILL.md +109 -1151
- package/skills/openmeld-cli/playbooks/space-ops.md +34 -16
- package/skills/openmeld-cli/playbooks/space-reads.md +123 -0
- package/skills/openmeld-cli/references/commands.md +14 -9
- package/skills/openmeld-cli/references/runtime-resolution.md +21 -2
- package/dist/api-client-foundation-CabWpjFe.js.map +0 -1
- package/dist/auth-session-Bj8n8YwV.js.map +0 -1
- package/dist/base-url-BtqW4aLS.js.map +0 -1
- package/dist/dist-0qM_CVk2.js.map +0 -1
- package/dist/runtime-transport-BiQfJGnw.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $ as
|
|
4
|
-
import { A as MAX_TEXT_LENGTH, At as
|
|
5
|
-
import { $r as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, A as runtimeTransportRegisterSessionResponseSchema, Bn as agentInteractionResolutionSchema, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Cn as MESSAGE_MENTION_TYPE_VALUES, D as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Dr as url, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, En as getSpaceMessageAddressingRelationSupportForTargetKind, Fr as runtimeCoordinatorExecutionTokenEnvelopeSchema, Gn as formatLocalSetupActionLabel, H as openMeldDaemonTaskResultEnvelopeWriteSchema, Hn as formatLocalComponentsSummaryDescription, Hr as resolveSpaceMentionLabels, I as runtimeTransportSubmitTaskResultRequestSchema, Ir as runtimeTransportDeliveryExecutionIdentitySchema, J as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, K as openMeldSpaceEgressActionSchema, Kn as installedLocalComponentsSnapshotSchema, Kt as resolveSpaceFileMimeType, L as OPENMELD_ORIGINAL_ERROR_MAX_LENGTH, Ln as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, M as runtimeTransportResumeControllerConversationFramePayloadSchema, N as runtimeTransportResumeControllerConversationResultFramePayloadSchema, O as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, On as normalizeMessageEnvelope, P as runtimeTransportRouteCatalogChangedFramePayloadSchema, Qr as openMeldRequestContextSchema, R as isOriginalErrorSafeForMessageDetails, Rt as SPACE_FILE_MAX_SIZE_BYTES, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, Si as resolveCommandAgentWorkActivity, Sr as string, St as sanitizeSignalTextPreview, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Tn as formatCanonicalMentionLiteral, U as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, Un as formatLocalComponentsSummaryLabel, V as openMeldDaemonProviderAccessEvidenceSchema, Vr as resolveSingleSpaceMentionLabels, W as openMeldDaemonTaskResultPayloadSchema, Wn as formatLocalSetupActionDescription, X as localFolderPickerHelperProtocolResultSchema, Xt as spaceFileNameSchema, Y as localFolderPickerDaemonFrameSchema, Z as localFolderPickerHelperResultSchema, Zn as localServiceComponentUpdateProjectionSchema, _ as runtimeTransportHeartbeatRequestSchema, _i as sanitizeDispatchErrorSummary, a as runtimeTransportCapabilitiesSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, bt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, c as runtimeTransportDispatchInteractionRequestSchema, cn as conversationExecutionStateSchema, d as runtimeTransportDispatchPreviewEndRequestSchema, di as trimmedStringFromUnknown, dr as enumFactory, ei as agentProfileIdSchema, er as openMeldToolsUpdateAttemptSchema, f as runtimeTransportDispatchPreviewRequestSchema, fi as MAX_TEXT_LENGTH$1, g as runtimeTransportForkAgentSessionResultSchema, gi as resolvePublicAgentFailureRecovery, h as runtimeTransportErrorCodeSchema, hi as resolvePublicAgentAvailabilityCopy, i as localWakeRouteReportSchema, in as openMeldDaemonControlPlaneResponseSchema, ir as openMeldToolsUpdateRequestSourceSchema, j as runtimeTransportRejectedProfileRegistrationSchema, jr as parseOptionalClientMessageId, k as runtimeTransportRegisterSessionRequestSchema, kn as resolveMessageEnvelopeTargetField, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, lr as discriminatedUnion, m as runtimeTransportDispatchToolActivityRequestSchema, mi as resolveMappedPublicAgentFailureReason, mr as literal, mt as CONVERSATION_CONTINUITY_WARNING_PURPOSE, n as daemonExecutionCompatibilitySchema, ni as openMeldRuntimeProfileIdSchema, o as runtimeTransportDeliverDispatchRequestSchema, oi as profileWorkspaceModeSchema, on as skippedDaemonProfileSchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, pr as iso, q as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, qn as localCliComponentUpdateProjectionSchema, r as daemonStreamFrameSchema, rn as openMeldDaemonControlPlaneRequestSchema, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, sn as providerDispatchRuntimeContextSchema, sr as boolean, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as normalizeOptionalWorkingDirectory, tr as openMeldToolsUpdateOperationPhaseSchema, u as runtimeTransportDispatchLifecycleRequestSchema, v as runtimeTransportHeartbeatResponseSchema, vi as shouldPreferMappedPublicAgentFailureReason, vt as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, wn as collectCanonicalMentionTextFragments, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xr as strictObject, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yt as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, zn as agentInteractionRequestSchema, zr as normalizeSpacePasswordText } from "./runtime-transport-
|
|
3
|
+
import { $ as resolveOpenMeldOrphanedLockIssue, $t as systemDir, At as legacyAccountProfileSpacesDir, B as toSpaceRemoveMembersUrl, C as updateConfiguredDeviceRuntimeState, Ct as accountProfileViewPath, D as normalizeBaseUrl, Dt as deviceOpenClawProfileDir, Et as deviceOpenClawProfileBootstrapPath, Ft as openMeldManagedBinaryPath, G as acquireLock, H as toSpaceUpdatesUrl, I as toSpaceLeaveUrl, It as openMeldManagedVersionBinaryPath, J as isOpenMeldOrphanedLockError, Jt as resolveOpenMeldRootDir, Kt as resolveOpenMeldEnvPreset, L as toSpaceMembersUrl, Lt as openMeldManagedVersionDir, M as toSpaceCursorUrl, Mt as normalizeOpenMeldProfileId, N as toSpaceDeleteUrl, Nt as openMeldBackupsDir, O as toDaemonRouteObservationUrl, Ot as deviceOpenClawProfileWorkspaceDir, Pt as openMeldBinDir, R as toSpaceMetaUrl, Rt as openMeldRootDir, S as setConfiguredSkillsConfig, St as accountProfileSpaceCacheDir, T as updateConfiguredSkillsConfig, Tt as accountsDir, U as toSpaceWsUrl, Ut as resolveDefaultOpenMeldHomeDirname, W as isLoopbackHostname, Wt as resolveExplicitOpenMeldEnvPreset, Xt as runtimeLogsDir, Yt as runtimeDir, Zt as skillsDir, _ as getConfiguredViewCustomization, _n as normalizeBuiltinAgentControllerId, a as resolveBaseUrl, an as runtimeStreamingModeSchema, at as readCliContextState, bt as OPENMELD_HOME_ENV_KEY, c as resolveExplicitGatewayUrlOrThrow, cn as buildAgentControllerConversationRef, ct as writeCliContextState, d as createDefaultRuntimeAgentControllerSettings, dn as HOSTED_CENTER_AGENT_CONTROLLER_REF, en as formatLocalMachineIssueMessage, et as runWithHeldLock, f as getConfiguredDaemonDispatchLimits, fn as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, ft as assessLocalMachineFailure, g as getConfiguredSkillsConfig, gn as canonicalizeBuiltinAgentControllerRef, h as getConfiguredOpenMeldToolsMaintenance, hn as canonicalizeAgentControllerRef, i as normalizeGatewayBaseUrlOrNull, it as listCliContextStates, j as toSpaceCreateUrl, jt as normalizeAccountKey, kt as isPublishedOpenMeldHome, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, ln as conversationPolicySchema, mn as buildAgentControllerRoutingKey, mt as createBackgroundExecutionBlockedIssue, nn as runtimeAgentControllerConversationIdMappingSpecSchema, o as resolveBaseUrlOrNull, on as runtimeTransportModeSchema, ot as resolveCliContext, p as getConfiguredDeviceRuntimeState, q as isOpenMeldLockError, qt as resolveOpenMeldPresetOwnedPathInput, r as normalizeGatewayBaseUrl, rn as runtimeAgentControllerLaunchContractSchema, s as resolveDefaultGatewayBaseUrl, st as resolveCliContextId, un as resolveBuiltinAgentControllerConversationKind, ut as resolveOpenMeldLaneDescriptor, v as getRuntimeConfigReadHealth, vn as normalizeKnownBuiltinAgentControllerId, vt as CURRENT_PROCESS_START_IDENTITY, wt as accountProfileWorkspacePath, x as setConfiguredOpenMeldToolsMaintenance, xt as accountProfileLocalMetaPath, y as resolveRuntimeSkillsCustomTargetId, yn as parseAgentControllerRef$1, yt as isProcessIdentityAlive, z as toSpacePasswordUrl, zt as openMeldVersionsDir } from "./base-url-CY_j4bLH.js";
|
|
4
|
+
import { $ as submitAgentControllerTaskLifecycleEventItemSchema, $t as spaceMemberDirectorySchema, A as MAX_TEXT_LENGTH, At as submitFeedbackIssueRequestSchema, B as toErrorMessage$44, Bt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, C as createSpaceApi, Ct as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, D as toStructuredApiClientFailure, Dt as profileCapabilitiesResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as authProfileManagedRoleSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as listCenterAgentRoutinesResponseSchema, Gt as agentActivitySnapshotResponseSchema, H as toErrorMessage$43, It as pauseCenterAgentRoutineResponseSchema, Jt as localProjectControlDiscoverProjectsResponseSchema, Kt as localProjectControlConnectionSchema, L as OPENMELD_HEADER_REQUEST_ID, Lt as resumeCenterAgentRoutineResponseSchema, M as parseIncoming$1, Mt as createCenterAgentRoutineResponseSchema, N as parseServerErrorFrame$1, Nt as deleteCenterAgentRoutineResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as profileErrorResponseSchema, P as resolveCustomMentionAliasOverride, Pt as listCenterAgentRoutineRunsResponseSchema, Qt as spaceMemberDirectoryEntrySchema, R as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Rt as updateCenterAgentRoutineResponseSchema, S as createRuntimeReportingApi, St as organizationDirectoryResponseSchema, T as resolveAccountSpaceIndexGatewayHost, U as getSpaceUpdatesResponseSchema, V as sleep, Vt as agentActivityEventSchema, W as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Xt as postSpaceMembersResponseSchema, Yt as leaveSpaceResponseSchema, Zt as removeSpaceMembersResponseSchema, _t as listOrganizationSkillsResponseSchema, a as buildSpaceAttachmentDownloadPath, an as observedLocalAgentSessionSchema, at as gatewayErrorEnvelopeSchema, bn as agentControllerCollaborationModeSchema, bt as organizationSkillSummarySchema, c as createAgentProfileBindingApi, cn as listProjectsResponseSchema, ct as computerFileAccessDaemonFrameSchema, d as createCurrentDeviceApi, dn as centerAgentToolSpeakerSchema, dt as modelCatalogSchema, fn as openCodePermissionConfigSchema, ft as organizationSpaceDirectoryWithMemberCountsResponseSchema, g as createOrganizationApi, gt as getOrganizationSkillResponseSchema, h as createOpenMeldApiClient, ht as spaceMetaSchema, i as buildProfileSpaceHistoryUpsertPath, j as parseEnvelope$1, jt as submitFeedbackIssueResponseSchema, kt as organizationComputersResponseSchema, ln as projectSchema, lt as computerFileAccessPolicyInputSchema, m as createLocalRuntimeExpectedRoutesApi, mt as spaceCreatorSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as archiveProjectResponseSchema, ot as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, p as createFetchTransport, pt as resolveInitialSpaceAccessMode, qt as localProjectControlDaemonFrameSchema, r as buildProfileSpaceHistoryStatusPath, rn as agentActivitySessionInventoryResponseSchema, s as createAgentActivityApi, sn as createProjectResponseSchema, st as OPENMELD_RUNTIME_CAPABILITIES_HEADER, t as OpenMeldApiClientHttpError, un as updateProjectResponseSchema, ut as computerFileAccessPolicySchema, wt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, xn as toCompatibleSpaceAddressingRequestWireValue, y as createProfileSpaceHistoryApi, yn as agentControllerPermissionModeSchema, yt as organizationSkillReleaseSummarySchema } from "./dist-NJH-sDDB.js";
|
|
5
|
+
import { $r as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, A as runtimeTransportRegisterSessionResponseSchema, Bn as agentInteractionResolutionSchema, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Cn as MESSAGE_MENTION_TYPE_VALUES, D as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Dr as url, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, En as getSpaceMessageAddressingRelationSupportForTargetKind, Fr as runtimeCoordinatorExecutionTokenEnvelopeSchema, Gn as formatLocalSetupActionLabel, H as openMeldDaemonTaskResultEnvelopeWriteSchema, Hn as formatLocalComponentsSummaryDescription, Hr as resolveSpaceMentionLabels, I as runtimeTransportSubmitTaskResultRequestSchema, Ir as runtimeTransportDeliveryExecutionIdentitySchema, J as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, K as openMeldSpaceEgressActionSchema, Kn as installedLocalComponentsSnapshotSchema, Kt as resolveSpaceFileMimeType, L as OPENMELD_ORIGINAL_ERROR_MAX_LENGTH, Ln as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, M as runtimeTransportResumeControllerConversationFramePayloadSchema, N as runtimeTransportResumeControllerConversationResultFramePayloadSchema, O as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, On as normalizeMessageEnvelope, P as runtimeTransportRouteCatalogChangedFramePayloadSchema, Qr as openMeldRequestContextSchema, R as isOriginalErrorSafeForMessageDetails, Rt as SPACE_FILE_MAX_SIZE_BYTES, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, Si as resolveCommandAgentWorkActivity, Sr as string, St as sanitizeSignalTextPreview, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Tn as formatCanonicalMentionLiteral, U as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, Un as formatLocalComponentsSummaryLabel, V as openMeldDaemonProviderAccessEvidenceSchema, Vr as resolveSingleSpaceMentionLabels, W as openMeldDaemonTaskResultPayloadSchema, Wn as formatLocalSetupActionDescription, X as localFolderPickerHelperProtocolResultSchema, Xt as spaceFileNameSchema, Y as localFolderPickerDaemonFrameSchema, Z as localFolderPickerHelperResultSchema, Zn as localServiceComponentUpdateProjectionSchema, Zr as openMeldProfileIdSchema, _ as runtimeTransportHeartbeatRequestSchema, _i as sanitizeDispatchErrorSummary, a as runtimeTransportCapabilitiesSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, bt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, c as runtimeTransportDispatchInteractionRequestSchema, cn as conversationExecutionStateSchema, d as runtimeTransportDispatchPreviewEndRequestSchema, di as trimmedStringFromUnknown, dr as enumFactory, ei as agentProfileIdSchema, er as openMeldToolsUpdateAttemptSchema, f as runtimeTransportDispatchPreviewRequestSchema, fi as MAX_TEXT_LENGTH$1, g as runtimeTransportForkAgentSessionResultSchema, gi as resolvePublicAgentFailureRecovery, h as runtimeTransportErrorCodeSchema, hi as resolvePublicAgentAvailabilityCopy, i as localWakeRouteReportSchema, in as openMeldDaemonControlPlaneResponseSchema, ir as openMeldToolsUpdateRequestSourceSchema, j as runtimeTransportRejectedProfileRegistrationSchema, jr as parseOptionalClientMessageId, k as runtimeTransportRegisterSessionRequestSchema, kn as resolveMessageEnvelopeTargetField, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, lr as discriminatedUnion, m as runtimeTransportDispatchToolActivityRequestSchema, mi as resolveMappedPublicAgentFailureReason, mr as literal, mt as CONVERSATION_CONTINUITY_WARNING_PURPOSE, n as daemonExecutionCompatibilitySchema, ni as openMeldRuntimeProfileIdSchema, o as runtimeTransportDeliverDispatchRequestSchema, oi as profileWorkspaceModeSchema, on as skippedDaemonProfileSchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, pr as iso, q as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, qn as localCliComponentUpdateProjectionSchema, r as daemonStreamFrameSchema, rn as openMeldDaemonControlPlaneRequestSchema, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, sn as providerDispatchRuntimeContextSchema, sr as boolean, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as normalizeOptionalWorkingDirectory, tr as openMeldToolsUpdateOperationPhaseSchema, u as runtimeTransportDispatchLifecycleRequestSchema, v as runtimeTransportHeartbeatResponseSchema, vi as shouldPreferMappedPublicAgentFailureReason, vt as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, wn as collectCanonicalMentionTextFragments, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xr as strictObject, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yt as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, zn as agentInteractionRequestSchema, zr as normalizeSpacePasswordText } from "./runtime-transport-DYzU1lHC.js";
|
|
6
6
|
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-CRyDcIIf.js";
|
|
7
|
-
import { A as getDaemonRuntimeStatus, B as resolveDaemonServiceRuntimeMetadata, C as daemonServiceRepairJournalPath, D as daemonServiceUpdateWorkerBinaryExecutablePath, E as daemonServiceStableLauncherPath, F as readDaemonServiceLifecycleLockMeta, G as withDaemonServiceReconcileLock, H as rotateDaemonControlPlaneTokenIfExpired, I as readDaemonServiceLifecycleLockMetaWithCleanup, J as withDaemonServiceStopLock, K as withDaemonServiceRegistrationMutationLock, L as readDaemonServiceRuntimeSnapshot, M as installDaemon, N as isDaemonServiceRuntimeHeartbeatStale, O as daemonStatePath, P as readDaemonControlPlaneToken, R as releaseDaemonServiceLifecycleLock, S as daemonServiceRecognizedExecutablePaths$1, T as daemonServiceStableExecutableWrapperPath, U as setDaemonServiceRuntimeState, V as restoreDaemonInstallStateSnapshot, W as uninstallDaemon, X as writeDaemonLocalStateFile, Y as readDaemonLocalStateFile, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceExecutableWrapperPaths$1, 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 getDaemonStatus, k as ensureDaemonControlPlaneToken, 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 withDaemonServiceRunLock, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableBinaryExecutablePath, x as daemonServiceLegacyExecutableWrapperPath, y as daemonServiceActiveBundleStatePath, z as resolveDaemonControlPlaneEndpoint } from "./daemon-runtime-lease-
|
|
8
|
-
import { A as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, B as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, C as DAEMON_RUNTIME_CONTRACT_EPOCH$1, D as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, E as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, F as OPENCLAW_CLI_TIMEOUT_MS$1, H as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, I as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, L as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, N as MIN_HEARTBEAT_INTERVAL_MS$2, O as DEFAULT_HEARTBEAT_INTERVAL_MS$1, R as REGISTER_RESPONSE_TIMEOUT_MS$1, S as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, T as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, V as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, a as beginAuthSessionTransition, h as setAuthSession, j as MAX_HEARTBEAT_INTERVAL_MS$2, l as getAuthSessionState, o as clearAuthSession, r as assertAuthSessionMutationAvailable, v as isBinaryDistribution, w as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, x as CATALOG_SYNC_RETRY_INTERVAL_MS$1, y as resolveOpenMeldDistribution } from "./auth-session-
|
|
9
|
-
import { a as AuthRequestCredentialError, c as buildOpenMeldRequestContextHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as buildRequestAuthHeaders, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileIdentityRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldProfileRequestHeadersWithAuth, u as canAttachAuthTokenToRequest } from "./api-client-foundation-
|
|
7
|
+
import { A as getDaemonRuntimeStatus, B as resolveDaemonServiceRuntimeMetadata, C as daemonServiceRepairJournalPath, D as daemonServiceUpdateWorkerBinaryExecutablePath, E as daemonServiceStableLauncherPath, F as readDaemonServiceLifecycleLockMeta, G as withDaemonServiceReconcileLock, H as rotateDaemonControlPlaneTokenIfExpired, I as readDaemonServiceLifecycleLockMetaWithCleanup, J as withDaemonServiceStopLock, K as withDaemonServiceRegistrationMutationLock, L as readDaemonServiceRuntimeSnapshot, M as installDaemon, N as isDaemonServiceRuntimeHeartbeatStale, O as daemonStatePath, P as readDaemonControlPlaneToken, R as releaseDaemonServiceLifecycleLock, S as daemonServiceRecognizedExecutablePaths$1, T as daemonServiceStableExecutableWrapperPath, U as setDaemonServiceRuntimeState, V as restoreDaemonInstallStateSnapshot, W as uninstallDaemon, X as writeDaemonLocalStateFile, Y as readDaemonLocalStateFile, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceExecutableWrapperPaths$1, 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 getDaemonStatus, k as ensureDaemonControlPlaneToken, 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 withDaemonServiceRunLock, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableBinaryExecutablePath, x as daemonServiceLegacyExecutableWrapperPath, y as daemonServiceActiveBundleStatePath, z as resolveDaemonControlPlaneEndpoint } from "./daemon-runtime-lease-6DIprlJy.js";
|
|
8
|
+
import { A as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, B as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, C as DAEMON_RUNTIME_CONTRACT_EPOCH$1, D as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, E as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, F as OPENCLAW_CLI_TIMEOUT_MS$1, H as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, I as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, L as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, N as MIN_HEARTBEAT_INTERVAL_MS$2, O as DEFAULT_HEARTBEAT_INTERVAL_MS$1, R as REGISTER_RESPONSE_TIMEOUT_MS$1, S as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, T as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, V as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, a as beginAuthSessionTransition, h as setAuthSession, j as MAX_HEARTBEAT_INTERVAL_MS$2, l as getAuthSessionState, o as clearAuthSession, r as assertAuthSessionMutationAvailable, v as isBinaryDistribution, w as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, x as CATALOG_SYNC_RETRY_INTERVAL_MS$1, y as resolveOpenMeldDistribution } from "./auth-session-B06nfwnD.js";
|
|
9
|
+
import { a as AuthRequestCredentialError, c as buildOpenMeldRequestContextHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as buildRequestAuthHeaders, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileIdentityRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldProfileRequestHeadersWithAuth, u as canAttachAuthTokenToRequest } from "./api-client-foundation-BPmXnsr9.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";
|
|
@@ -18466,7 +18466,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
18466
18466
|
};
|
|
18467
18467
|
}
|
|
18468
18468
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
18469
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
18469
|
+
const { getAuthSessionMetadata } = await import("./auth-session-B06nfwnD.js").then((n) => n.i);
|
|
18470
18470
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
18471
18471
|
}
|
|
18472
18472
|
function resolveHostKey(baseUrl) {
|
|
@@ -19295,7 +19295,7 @@ async function requireOpenMeldProfilesSession() {
|
|
|
19295
19295
|
}
|
|
19296
19296
|
function resolveOpenMeldProfilesApiTimeoutMs(endpoint) {
|
|
19297
19297
|
const url = parseUrlOrNull$1(endpoint);
|
|
19298
|
-
if (url && isLoopbackHostname
|
|
19298
|
+
if (url && isLoopbackHostname(url.hostname)) return LOOPBACK_OPENMELD_PROFILES_API_TIMEOUT_MS;
|
|
19299
19299
|
return DEFAULT_OPENMELD_PROFILES_API_TIMEOUT_MS;
|
|
19300
19300
|
}
|
|
19301
19301
|
function parseUrlOrNull$1(value) {
|
|
@@ -19305,9 +19305,6 @@ function parseUrlOrNull$1(value) {
|
|
|
19305
19305
|
return null;
|
|
19306
19306
|
}
|
|
19307
19307
|
}
|
|
19308
|
-
function isLoopbackHostname$2(hostname) {
|
|
19309
|
-
return hostname === "localhost" || hostname === "127.0.0.1" || hostname === "::1";
|
|
19310
|
-
}
|
|
19311
19308
|
function isSameStoredAuthSession(a, b) {
|
|
19312
19309
|
return a.authBaseUrl === b.authBaseUrl && a.clientId === b.clientId && a.tokenType === b.tokenType && a.accessToken === b.accessToken && (a.expiresAt ?? null) === (b.expiresAt ?? null);
|
|
19313
19310
|
}
|
|
@@ -19454,11 +19451,11 @@ async function findOpenMeldProfileByNameOrHandle(input) {
|
|
|
19454
19451
|
}
|
|
19455
19452
|
function isLoopbackProfileEndpoint(endpoint) {
|
|
19456
19453
|
const url = parseUrlOrNull$1(endpoint);
|
|
19457
|
-
return Boolean(url && isLoopbackHostname
|
|
19454
|
+
return Boolean(url && isLoopbackHostname(url.hostname) && url.pathname.startsWith("/v1/profiles"));
|
|
19458
19455
|
}
|
|
19459
19456
|
function isHostedProfilesEndpoint(endpoint) {
|
|
19460
19457
|
const url = parseUrlOrNull$1(endpoint);
|
|
19461
|
-
return Boolean(url && !isLoopbackHostname
|
|
19458
|
+
return Boolean(url && !isLoopbackHostname(url.hostname) && url.pathname.startsWith("/v1/profiles"));
|
|
19462
19459
|
}
|
|
19463
19460
|
function isRecord$5(value) {
|
|
19464
19461
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
@@ -19565,7 +19562,11 @@ function isProfileMissingError(error) {
|
|
|
19565
19562
|
//#region src/config/view-profile-key.ts
|
|
19566
19563
|
async function resolveViewProfileKey(inputProfile) {
|
|
19567
19564
|
const explicit = normalizeOptionalString$13(inputProfile);
|
|
19568
|
-
if (explicit)
|
|
19565
|
+
if (explicit) {
|
|
19566
|
+
const profileId = openMeldProfileIdSchema.safeParse(explicit);
|
|
19567
|
+
if (profileId.success) return profileId.data;
|
|
19568
|
+
return (await resolveOpenMeldProfileByIdOrName({ profileIdentifier: explicit }).catch(() => null))?.openMeldProfileId ?? explicit;
|
|
19569
|
+
}
|
|
19569
19570
|
const selected = await getSelectedOpenMeldProfileId();
|
|
19570
19571
|
if (selected) return selected;
|
|
19571
19572
|
return null;
|
|
@@ -19674,7 +19675,7 @@ const HUMAN_MESSAGES = {
|
|
|
19674
19675
|
"connect.closing": (params) => `Closing the connection (${String(params?.why ?? "")})...`,
|
|
19675
19676
|
"connect.watch_ready": () => "Watching the stream. Press Ctrl+C to quit.",
|
|
19676
19677
|
"connect.connected_no_stdio": (params) => formatConnectedNoStdioMessage("human", params),
|
|
19677
|
-
"connect.chat_mention_hint": () => "Press @ to insert
|
|
19678
|
+
"connect.chat_mention_hint": () => "Press @ to insert an Agent Wake, Agent Reference, or Human Mention.",
|
|
19678
19679
|
"connect.chat_ready": () => "Type your message and press Enter to send.",
|
|
19679
19680
|
"connect.chat_exit_hint": () => "Exit with '/quit', ':q', Ctrl+D, or Ctrl+C.",
|
|
19680
19681
|
"connect.chat_prompt_question": () => "What would you like to say in this space?",
|
|
@@ -19732,7 +19733,7 @@ const AGENT_MESSAGES = {
|
|
|
19732
19733
|
"connect.closing": (params) => `closing connection (${String(params?.why ?? "")})`,
|
|
19733
19734
|
"connect.watch_ready": () => "watch mode active; Ctrl+C to quit",
|
|
19734
19735
|
"connect.connected_no_stdio": (params) => formatConnectedNoStdioMessage("agent", params),
|
|
19735
|
-
"connect.chat_mention_hint": () => "use @Name(wake) or @Name(reference)
|
|
19736
|
+
"connect.chat_mention_hint": () => "use @Name(wake) or @Name(reference) for agents, and @Name(mention) for people",
|
|
19736
19737
|
"connect.chat_ready": () => "chat mode active; type a line to send",
|
|
19737
19738
|
"connect.chat_exit_hint": () => "enter sends; line ending with \\ continues draft; exit with /quit, :q, Ctrl+D, or Ctrl+C",
|
|
19738
19739
|
"connect.chat_prompt_question": () => "what would you like to say?",
|
|
@@ -20007,8 +20008,8 @@ function splitSentences(message) {
|
|
|
20007
20008
|
var package_default = {
|
|
20008
20009
|
$schema: "https://www.schemastore.org/package.json",
|
|
20009
20010
|
name: "openmeld",
|
|
20010
|
-
version: "0.3.
|
|
20011
|
-
openMeldReleaseDate: "2026-
|
|
20011
|
+
version: "0.3.137",
|
|
20012
|
+
openMeldReleaseDate: "2026-09-01",
|
|
20012
20013
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
20013
20014
|
license: "MIT",
|
|
20014
20015
|
type: "module",
|
|
@@ -28229,6 +28230,7 @@ const plugin = {
|
|
|
28229
28230
|
additionalProperties: false,
|
|
28230
28231
|
properties: {
|
|
28231
28232
|
message: stringSchema,
|
|
28233
|
+
mentionTargets: stringArraySchema,
|
|
28232
28234
|
referenceTargets: stringArraySchema,
|
|
28233
28235
|
wakeTargets: stringArraySchema,
|
|
28234
28236
|
},
|
|
@@ -28238,9 +28240,11 @@ const plugin = {
|
|
|
28238
28240
|
const message = requiredText(params?.message, "Reply message");
|
|
28239
28241
|
const wakeTargets = optionalStringArray(params?.wakeTargets, "wakeTargets");
|
|
28240
28242
|
const referenceTargets = optionalStringArray(params?.referenceTargets, "referenceTargets");
|
|
28243
|
+
const mentionTargets = optionalStringArray(params?.mentionTargets, "mentionTargets");
|
|
28241
28244
|
const args = ["space", "action", "reply", "--message-file", "-"];
|
|
28242
28245
|
for (const target of wakeTargets) args.push("--wake", target);
|
|
28243
28246
|
for (const target of referenceTargets) args.push("--reference", target);
|
|
28247
|
+
for (const target of mentionTargets) args.push("--mention", target);
|
|
28244
28248
|
return await runAction(args, message);
|
|
28245
28249
|
},
|
|
28246
28250
|
});
|
|
@@ -34201,13 +34205,20 @@ function createPendingAgentInteractionRegistry() {
|
|
|
34201
34205
|
}
|
|
34202
34206
|
//#endregion
|
|
34203
34207
|
//#region ../../runtime/local-service/src/post-message-envelope.ts
|
|
34204
|
-
const TARGET_VALIDATION_RULES = [
|
|
34205
|
-
|
|
34206
|
-
|
|
34207
|
-
|
|
34208
|
-
|
|
34209
|
-
|
|
34210
|
-
|
|
34208
|
+
const TARGET_VALIDATION_RULES = [
|
|
34209
|
+
{
|
|
34210
|
+
fieldName: "activationTargets",
|
|
34211
|
+
relationName: "wake"
|
|
34212
|
+
},
|
|
34213
|
+
{
|
|
34214
|
+
fieldName: "referenceTargets",
|
|
34215
|
+
relationName: "reference"
|
|
34216
|
+
},
|
|
34217
|
+
{
|
|
34218
|
+
fieldName: "mentionTargets",
|
|
34219
|
+
relationName: "mention"
|
|
34220
|
+
}
|
|
34221
|
+
];
|
|
34211
34222
|
function normalizeDispatchPostMessageAction(input) {
|
|
34212
34223
|
const normalizedEnvelope = normalizeMessageEnvelope(input.action.messageEnvelope);
|
|
34213
34224
|
const replyToSignalId = normalizeReplyToSignalId$1({
|
|
@@ -34231,6 +34242,7 @@ function normalizeDispatchPostMessageAction(input) {
|
|
|
34231
34242
|
activationTargetsCount: canonicalAction.messageEnvelope.activationTargets.length,
|
|
34232
34243
|
inputKind: input.inputKind,
|
|
34233
34244
|
memberDirectoryLoaded: input.sendTargetReference.status === "loaded",
|
|
34245
|
+
mentionTargetsCount: canonicalAction.messageEnvelope.mentionTargets?.length ?? 0,
|
|
34234
34246
|
referenceTargetsCount: canonicalAction.messageEnvelope.referenceTargets.length,
|
|
34235
34247
|
replyToSignalIdResolved: Boolean(canonicalAction.messageEnvelope.replyToSignalId)
|
|
34236
34248
|
}
|
|
@@ -34246,11 +34258,12 @@ function normalizeReplyToSignalId$1(input) {
|
|
|
34246
34258
|
}
|
|
34247
34259
|
function validateDispatchPostMessageTargets(input) {
|
|
34248
34260
|
const { activationTargets, referenceTargets } = input.action.messageEnvelope;
|
|
34249
|
-
|
|
34261
|
+
const mentionTargets = input.action.messageEnvelope.mentionTargets ?? [];
|
|
34262
|
+
if (activationTargets.length === 0 && referenceTargets.length === 0 && mentionTargets.length === 0) return;
|
|
34250
34263
|
if (input.sendTargetReference.status !== "loaded") throw new Error("post_message.messageEnvelope targets require a current Space member directory");
|
|
34251
34264
|
const targetByProfileId = new Map(input.sendTargetReference.projection.map((target) => [target.profileId, target]));
|
|
34252
34265
|
for (const rule of TARGET_VALIDATION_RULES) {
|
|
34253
|
-
const targets = input.action.messageEnvelope[rule.fieldName];
|
|
34266
|
+
const targets = input.action.messageEnvelope[rule.fieldName] ?? [];
|
|
34254
34267
|
for (const [index, targetProfileId] of targets.entries()) validateDispatchTargetProfileId({
|
|
34255
34268
|
fieldName: rule.fieldName,
|
|
34256
34269
|
index,
|
|
@@ -34266,6 +34279,7 @@ function validateDispatchTargetProfileId(input) {
|
|
|
34266
34279
|
if (!target) throw new Error(`${fieldPath} must reference an active profile in this space`);
|
|
34267
34280
|
if (input.relationName === "wake" && !target.allowedRelations.wake) throw new Error(`${fieldPath} must reference an agent profile in this space`);
|
|
34268
34281
|
if (input.relationName === "reference" && !target.allowedRelations.reference) throw new Error(`${fieldPath} must reference an active profile in this space`);
|
|
34282
|
+
if (input.relationName === "mention" && !target.allowedRelations.mention) throw new Error(`${fieldPath} must reference a human profile in this space`);
|
|
34269
34283
|
}
|
|
34270
34284
|
//#endregion
|
|
34271
34285
|
//#region ../../runtime/local-service/src/reply-context.ts
|
|
@@ -34367,12 +34381,13 @@ function isDaemonReconcileInProgressError(error) {
|
|
|
34367
34381
|
//#region ../../runtime/local-service/src/space-action-target-guidance.ts
|
|
34368
34382
|
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."];
|
|
34369
34383
|
const SPACE_ACTION_TARGET_GUIDANCE_LINES = [
|
|
34370
|
-
"Use OpenMeld Space Action target fields such as wakeTargets and
|
|
34384
|
+
"Use OpenMeld Space Action target fields such as wakeTargets, referenceTargets, and mentionTargets. With the CLI fallback, use --wake, --reference, and --mention.",
|
|
34371
34385
|
"Any @name text in the body is only prose in the agent path; it does not define OpenMeld targets.",
|
|
34372
34386
|
"activationTargets is only for waking another Agent Profile in this Space.",
|
|
34373
34387
|
"activationTargets must reference an active Agent Profile member in this Space.",
|
|
34374
34388
|
"Never put a Human Profile ID, sender ID, or reply recipient in activationTargets.",
|
|
34375
|
-
"
|
|
34389
|
+
"referenceTargets must reference active Agent Profile members; mentionTargets must reference active Human Profile members.",
|
|
34390
|
+
"For a normal reply to the current Wake, leave activationTargets, referenceTargets, and mentionTargets empty."
|
|
34376
34391
|
];
|
|
34377
34392
|
//#endregion
|
|
34378
34393
|
//#region ../../runtime/local-service/src/startup-command-capability.ts
|
|
@@ -39321,9 +39336,9 @@ function createModelCatalogReadSession(input) {
|
|
|
39321
39336
|
async function readModelCatalogOnce(baseUrl) {
|
|
39322
39337
|
try {
|
|
39323
39338
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
39324
|
-
import("./dist-
|
|
39325
|
-
import("./base-url-
|
|
39326
|
-
import("./api-client-foundation-
|
|
39339
|
+
import("./dist-NJH-sDDB.js").then((n) => n.w),
|
|
39340
|
+
import("./base-url-CY_j4bLH.js").then((n) => n.n),
|
|
39341
|
+
import("./api-client-foundation-BPmXnsr9.js").then((n) => n.t)
|
|
39327
39342
|
]);
|
|
39328
39343
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
39329
39344
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -48984,7 +48999,7 @@ function createSpaceSendInputRequiredGuideError() {
|
|
|
48984
48999
|
notes: [
|
|
48985
49000
|
"Prefer --stdin/--text-file for multiline or shell-sensitive message text.",
|
|
48986
49001
|
"Use repeatable --file options to share up to 10 Space Files with or without message text.",
|
|
48987
|
-
"Use --plain only when @Name(wake) or @Name(
|
|
49002
|
+
"Use --plain only when @Name(wake), @Name(reference), or @Name(mention) should be sent as literal text."
|
|
48988
49003
|
]
|
|
48989
49004
|
}
|
|
48990
49005
|
});
|
|
@@ -49005,7 +49020,7 @@ function createSpaceSendInputConflictGuideError() {
|
|
|
49005
49020
|
notes: [
|
|
49006
49021
|
"Do not combine positional text with --stdin or --text-file.",
|
|
49007
49022
|
"A --file attachment may be combined with any one message text source.",
|
|
49008
|
-
"Use --plain only when @Name(wake) or @Name(
|
|
49023
|
+
"Use --plain only when @Name(wake), @Name(reference), or @Name(mention) should be sent as literal text."
|
|
49009
49024
|
]
|
|
49010
49025
|
}
|
|
49011
49026
|
});
|
|
@@ -51167,6 +51182,8 @@ function resolveBareMentionCandidateAt(input) {
|
|
|
51167
51182
|
function toBareMentionDiagnostic(input) {
|
|
51168
51183
|
const label = input.candidate.entry.primaryMentionLabel;
|
|
51169
51184
|
const suggestedWakeText = input.candidate.entry.profileKind === "agent" && input.candidate.entry.allowedRelations.wake ? `@${label}(wake)` : null;
|
|
51185
|
+
const suggestedReferenceText = input.candidate.entry.profileKind === "agent" && input.candidate.entry.allowedRelations.reference ? `@${label}(reference)` : null;
|
|
51186
|
+
const suggestedMentionText = input.candidate.entry.profileKind === "human" && input.candidate.entry.allowedRelations.mention ? `@${label}(mention)` : null;
|
|
51170
51187
|
return {
|
|
51171
51188
|
end: input.end,
|
|
51172
51189
|
mentionText: input.mentionText,
|
|
@@ -51174,7 +51191,8 @@ function toBareMentionDiagnostic(input) {
|
|
|
51174
51191
|
profileKind: input.candidate.entry.profileKind,
|
|
51175
51192
|
profileName: input.candidate.entry.profileName,
|
|
51176
51193
|
start: input.start,
|
|
51177
|
-
|
|
51194
|
+
suggestedMentionText,
|
|
51195
|
+
suggestedReferenceText,
|
|
51178
51196
|
suggestedWakeText
|
|
51179
51197
|
};
|
|
51180
51198
|
}
|
|
@@ -51187,19 +51205,19 @@ function isBareMentionBoundary(value) {
|
|
|
51187
51205
|
return BARE_MENTION_BOUNDARY_PATTERN.test(value);
|
|
51188
51206
|
}
|
|
51189
51207
|
function isCanonicalMentionRelationSuffix(value) {
|
|
51190
|
-
return value.startsWith("(wake)") || value.startsWith("(reference)") || value.startsWith("(cc)");
|
|
51208
|
+
return value.startsWith("(wake)") || value.startsWith("(reference)") || value.startsWith("(mention)") || value.startsWith("(cc)");
|
|
51191
51209
|
}
|
|
51192
51210
|
function normalizeLabel(value) {
|
|
51193
51211
|
const normalized = String(value ?? "").replaceAll(WHITESPACE_PATTERN, " ").trim();
|
|
51194
51212
|
return normalized.length > 0 ? normalized : null;
|
|
51195
51213
|
}
|
|
51196
51214
|
const CANONICAL_MENTION_TYPES = new Set(MESSAGE_MENTION_TYPE_VALUES);
|
|
51197
|
-
const DUPLICATE_TARGET_ISSUE_PATTERN = /^(activationTargets|referenceTargets) must not contain duplicate profileId$/u;
|
|
51198
|
-
const DISTINCT_TARGET_ISSUE_PATTERN = /^(activationTargets|referenceTargets) must not reuse profileId from (activationTargets|referenceTargets)$/u;
|
|
51215
|
+
const DUPLICATE_TARGET_ISSUE_PATTERN = /^(activationTargets|referenceTargets|mentionTargets) must not contain duplicate profileId$/u;
|
|
51216
|
+
const DISTINCT_TARGET_ISSUE_PATTERN = /^(activationTargets|referenceTargets|mentionTargets) must not reuse profileId from (activationTargets|referenceTargets|mentionTargets)$/u;
|
|
51199
51217
|
const REMOVED_CC_RELATION_SUFFIX_PATTERN = /\(cc\)$/u;
|
|
51200
51218
|
const INVALID_MENTION_GUIDANCE = "That mention is not valid. Type @ and choose a member from the list.";
|
|
51201
51219
|
const MISSING_MENTION_TARGET_GUIDANCE = "That mention does not match a current member. Type @ and choose a member from the list.";
|
|
51202
|
-
const INVALID_MENTION_ACTION_GUIDANCE = "Mention action must be Wake or
|
|
51220
|
+
const INVALID_MENTION_ACTION_GUIDANCE = "Mention action must be Wake, Reference, or Mention. Type @ and choose from the list.";
|
|
51203
51221
|
function formatRemovedCcRelationMessage(replacement) {
|
|
51204
51222
|
return `CC has been removed from Space Message Addressing. Use ${replacement} instead.`;
|
|
51205
51223
|
}
|
|
@@ -51230,6 +51248,7 @@ function prepareSpaceComposerSubmission(input) {
|
|
|
51230
51248
|
messageEnvelope: createMessageEnvelopeOrNull({
|
|
51231
51249
|
activationTargets: [],
|
|
51232
51250
|
referenceTargets: [],
|
|
51251
|
+
mentionTargets: [],
|
|
51233
51252
|
...replyToSignalId ? { replyToSignalId } : {},
|
|
51234
51253
|
text: normalizedText
|
|
51235
51254
|
}),
|
|
@@ -51378,6 +51397,7 @@ function createEnvelopeInput(text, replyToSignalId) {
|
|
|
51378
51397
|
return {
|
|
51379
51398
|
activationTargets: [],
|
|
51380
51399
|
referenceTargets: [],
|
|
51400
|
+
mentionTargets: [],
|
|
51381
51401
|
...replyToSignalId ? { replyToSignalId } : {},
|
|
51382
51402
|
text
|
|
51383
51403
|
};
|
|
@@ -51428,6 +51448,7 @@ function normalizePlainTextOrThrow(text) {
|
|
|
51428
51448
|
return normalizeEnvelopeOrThrow({
|
|
51429
51449
|
activationTargets: [],
|
|
51430
51450
|
referenceTargets: [],
|
|
51451
|
+
mentionTargets: [],
|
|
51431
51452
|
text
|
|
51432
51453
|
}).text;
|
|
51433
51454
|
}
|
|
@@ -51436,7 +51457,7 @@ function normalizeOptionalText$6$1(value) {
|
|
|
51436
51457
|
return normalized.length > 0 ? normalized : null;
|
|
51437
51458
|
}
|
|
51438
51459
|
function createMessageEnvelopeOrNull(input) {
|
|
51439
|
-
if (!(input.activationTargets.length > 0 || input.referenceTargets.length > 0 || input.replyToSignalId)) return null;
|
|
51460
|
+
if (!(input.activationTargets.length > 0 || input.referenceTargets.length > 0 || input.mentionTargets.length > 0 || input.replyToSignalId)) return null;
|
|
51440
51461
|
return normalizeEnvelopeOrThrow(input);
|
|
51441
51462
|
}
|
|
51442
51463
|
function buildInvalidCanonicalMentionSyntaxMessage(mentionText) {
|
|
@@ -51457,7 +51478,7 @@ function buildInvalidCanonicalMentionRelationMessage(input) {
|
|
|
51457
51478
|
}
|
|
51458
51479
|
function describeRelationSupport(relation) {
|
|
51459
51480
|
if (relation === "wake") return "agent targets";
|
|
51460
|
-
return "
|
|
51481
|
+
return relation === "reference" ? "agent targets" : "human targets";
|
|
51461
51482
|
}
|
|
51462
51483
|
function formatCanonicalMentionEnvelopeError(error) {
|
|
51463
51484
|
const issues = extractEnvelopeIssueMessages(error);
|
|
@@ -51467,7 +51488,7 @@ function formatCanonicalMentionEnvelopeError(error) {
|
|
|
51467
51488
|
const distinctMatch = issueMessage.match(DISTINCT_TARGET_ISSUE_PATTERN);
|
|
51468
51489
|
if (distinctMatch?.[1] && distinctMatch[2]) return `same target cannot appear in both ${toRelationName(distinctMatch[2])} and ${toRelationName(distinctMatch[1])}`;
|
|
51469
51490
|
}
|
|
51470
|
-
return (issues[0] ?? (error instanceof Error ? error.message.trim() : "Invalid message envelope.")).replaceAll("activationTargets", "wake").replaceAll("referenceTargets", "reference").replaceAll("profileId", "target");
|
|
51491
|
+
return (issues[0] ?? (error instanceof Error ? error.message.trim() : "Invalid message envelope.")).replaceAll("activationTargets", "wake").replaceAll("referenceTargets", "reference").replaceAll("mentionTargets", "mention").replaceAll("profileId", "target");
|
|
51471
51492
|
}
|
|
51472
51493
|
function resolveCanonicalMentionEnvelopeErrorCode(error) {
|
|
51473
51494
|
const issues = extractEnvelopeIssueMessages(error);
|
|
@@ -51596,7 +51617,11 @@ function listRecentMentionProfileIdsFromText(input) {
|
|
|
51596
51617
|
}
|
|
51597
51618
|
return recentProfileIds;
|
|
51598
51619
|
}
|
|
51599
|
-
const CANONICAL_MENTION_RELATIONS = [
|
|
51620
|
+
const CANONICAL_MENTION_RELATIONS = [
|
|
51621
|
+
"wake",
|
|
51622
|
+
"reference",
|
|
51623
|
+
"mention"
|
|
51624
|
+
];
|
|
51600
51625
|
function buildMentionRelationKey(mentionLabel, relation) {
|
|
51601
51626
|
return `${relation}:${mentionLabel}`;
|
|
51602
51627
|
}
|
|
@@ -51615,14 +51640,20 @@ function normalizeReasonText(value) {
|
|
|
51615
51640
|
const MAX_RECENT_MENTION_PROFILE_IDS = 20;
|
|
51616
51641
|
const MENTION_PREFIX_PATTERN = /^@+/;
|
|
51617
51642
|
const MULTI_SPACE_PATTERN$1 = /\s+/g;
|
|
51618
|
-
const MENTION_RELATION_ORDER = [
|
|
51643
|
+
const MENTION_RELATION_ORDER = [
|
|
51644
|
+
"wake",
|
|
51645
|
+
"reference",
|
|
51646
|
+
"mention"
|
|
51647
|
+
];
|
|
51619
51648
|
const RELATION_LABELS = {
|
|
51620
51649
|
wake: "Wake",
|
|
51621
|
-
reference: "Reference"
|
|
51650
|
+
reference: "Reference",
|
|
51651
|
+
mention: "Mention"
|
|
51622
51652
|
};
|
|
51623
51653
|
const RELATION_DESCRIPTIONS = {
|
|
51624
51654
|
wake: "Ask this agent to reply.",
|
|
51625
|
-
reference: "Add context without asking for a reply."
|
|
51655
|
+
reference: "Add context without asking for a reply.",
|
|
51656
|
+
mention: "Notify this person about the message."
|
|
51626
51657
|
};
|
|
51627
51658
|
function listSpaceMentionSuggestions(input) {
|
|
51628
51659
|
const snapshot = input.snapshot;
|
|
@@ -52092,6 +52123,7 @@ function buildSignalMessageReadProjection(input) {
|
|
|
52092
52123
|
threadRef: input.threadRef ?? null,
|
|
52093
52124
|
wakeTargets: resolveTargetRefs(envelope?.activationTargets, memberIdentityIndex),
|
|
52094
52125
|
referenceTargets: resolveTargetRefs(envelope?.referenceTargets, memberIdentityIndex),
|
|
52126
|
+
mentionTargets: resolveTargetRefs(envelope?.mentionTargets, memberIdentityIndex),
|
|
52095
52127
|
replyToSignalId,
|
|
52096
52128
|
replyToContext: resolveReplyToContext({
|
|
52097
52129
|
replyToSignalId,
|
|
@@ -52111,6 +52143,7 @@ function buildDispatchResultMessageReadProjection(input) {
|
|
|
52111
52143
|
threadRef: input.result.threadContext ?? null,
|
|
52112
52144
|
wakeTargets: resolveTargetRefs(envelope?.activationTargets, memberIdentityIndex),
|
|
52113
52145
|
referenceTargets: resolveTargetRefs(envelope?.referenceTargets, memberIdentityIndex),
|
|
52146
|
+
mentionTargets: resolveTargetRefs(envelope?.mentionTargets, memberIdentityIndex),
|
|
52114
52147
|
replyToSignalId,
|
|
52115
52148
|
replyToContext: resolveReplyToContext({
|
|
52116
52149
|
replyToSignalId,
|
|
@@ -52173,6 +52206,10 @@ function buildSpaceMessageReadRelationSummary(input) {
|
|
|
52173
52206
|
relation: "reference",
|
|
52174
52207
|
targets: input.referenceTargets
|
|
52175
52208
|
});
|
|
52209
|
+
if (input.mentionTargets.length > 0) summary.push({
|
|
52210
|
+
relation: "mention",
|
|
52211
|
+
targets: input.mentionTargets
|
|
52212
|
+
});
|
|
52176
52213
|
return summary;
|
|
52177
52214
|
}
|
|
52178
52215
|
function readSignalMessageEnvelope(signal) {
|
|
@@ -52194,7 +52231,8 @@ function buildSignalRelationSummary(input) {
|
|
|
52194
52231
|
if (!envelope) return null;
|
|
52195
52232
|
const summary = buildSpaceMessageReadRelationSummary({
|
|
52196
52233
|
wakeTargets: resolveTargetRefs(envelope.activationTargets, input.memberIdentityIndex),
|
|
52197
|
-
referenceTargets: resolveTargetRefs(envelope.referenceTargets, input.memberIdentityIndex)
|
|
52234
|
+
referenceTargets: resolveTargetRefs(envelope.referenceTargets, input.memberIdentityIndex),
|
|
52235
|
+
mentionTargets: resolveTargetRefs(envelope.mentionTargets, input.memberIdentityIndex)
|
|
52198
52236
|
});
|
|
52199
52237
|
return summary.length > 0 ? summary : null;
|
|
52200
52238
|
}
|
|
@@ -52286,15 +52324,23 @@ function buildSpaceRoundReadProjection(input) {
|
|
|
52286
52324
|
}
|
|
52287
52325
|
function buildInitialRoundTargets(sourceMessageReadProjection) {
|
|
52288
52326
|
if (!sourceMessageReadProjection) return [];
|
|
52289
|
-
return [
|
|
52290
|
-
|
|
52291
|
-
|
|
52292
|
-
|
|
52293
|
-
|
|
52294
|
-
|
|
52295
|
-
|
|
52296
|
-
|
|
52297
|
-
|
|
52327
|
+
return [
|
|
52328
|
+
...buildRelationTargets({
|
|
52329
|
+
dispatchState: null,
|
|
52330
|
+
relation: "wake",
|
|
52331
|
+
targets: sourceMessageReadProjection.wakeTargets
|
|
52332
|
+
}),
|
|
52333
|
+
...buildRelationTargets({
|
|
52334
|
+
dispatchState: "no_dispatch",
|
|
52335
|
+
relation: "reference",
|
|
52336
|
+
targets: sourceMessageReadProjection.referenceTargets
|
|
52337
|
+
}),
|
|
52338
|
+
...buildRelationTargets({
|
|
52339
|
+
dispatchState: "no_dispatch",
|
|
52340
|
+
relation: "mention",
|
|
52341
|
+
targets: sourceMessageReadProjection.mentionTargets
|
|
52342
|
+
})
|
|
52343
|
+
];
|
|
52298
52344
|
}
|
|
52299
52345
|
function buildRelationTargets(input) {
|
|
52300
52346
|
return input.targets.map((target) => ({
|
|
@@ -58682,7 +58728,10 @@ async function ensureCommandAuthenticationOrCancel(input) {
|
|
|
58682
58728
|
const currentState = getCurrentCommandCheckState();
|
|
58683
58729
|
if (isCurrentCommandCheckScopeActive() && currentState.signIn && currentState.signIn.status === "valid" && currentState.signIn.checkedGatewayUrl === normalizeOptionalString$6(input.gatewayUrl)) return true;
|
|
58684
58730
|
const auth = input.evaluated ?? await evaluateCommandAuthentication({ gatewayUrl: input.gatewayUrl });
|
|
58685
|
-
if (auth.status === "valid" && auth.session)
|
|
58731
|
+
if (auth.status === "valid" && auth.session) {
|
|
58732
|
+
input.onAuthenticatedSession?.(auth.session);
|
|
58733
|
+
return true;
|
|
58734
|
+
}
|
|
58686
58735
|
const canPrompt = input.allowPrompt ?? input.runtime.interactive;
|
|
58687
58736
|
const guidance = resolveAuthenticationGuidance({
|
|
58688
58737
|
reason: auth.status === "mismatch" ? "mismatch" : resolveAuthReason(auth),
|
|
@@ -58735,6 +58784,7 @@ async function ensureCommandAuthenticationOrCancel(input) {
|
|
|
58735
58784
|
cancel("Cancelled.");
|
|
58736
58785
|
return false;
|
|
58737
58786
|
}
|
|
58787
|
+
input.onAuthenticatedSession?.(afterLogin.session);
|
|
58738
58788
|
if (isCurrentCommandCheckScopeActive()) currentState.signIn = {
|
|
58739
58789
|
checkedGatewayUrl: normalizeOptionalString$6(input.gatewayUrl),
|
|
58740
58790
|
status: "valid"
|
|
@@ -59773,7 +59823,7 @@ function buildFailedTaskResultPayload(input) {
|
|
|
59773
59823
|
return payload.data;
|
|
59774
59824
|
}
|
|
59775
59825
|
function sendDaemonFrame$1(inputSocket, input) {
|
|
59776
|
-
inputSocket.send(JSON.stringify(
|
|
59826
|
+
inputSocket.send(JSON.stringify(toCompatibleSpaceAddressingRequestWireValue({
|
|
59777
59827
|
v: 1,
|
|
59778
59828
|
code: input.code,
|
|
59779
59829
|
payload: input.payload
|
|
@@ -69328,11 +69378,14 @@ async function fetchSpaceUpdates(input) {
|
|
|
69328
69378
|
const raw = await readGatewayTextResponse({ response: await fetchSpaceRequestWithTimeout({
|
|
69329
69379
|
url: endpoint.toString(),
|
|
69330
69380
|
operation: "space.updates.read",
|
|
69331
|
-
init: { headers:
|
|
69332
|
-
|
|
69333
|
-
|
|
69334
|
-
|
|
69335
|
-
|
|
69381
|
+
init: { headers: {
|
|
69382
|
+
...await buildOpenMeldRequestContextHeadersWithAuth({
|
|
69383
|
+
requestUrl: endpoint.toString(),
|
|
69384
|
+
requestContext: input.requestContext,
|
|
69385
|
+
spacePassword: input.password
|
|
69386
|
+
}),
|
|
69387
|
+
[OPENMELD_HEADER_SPACE_ADDRESSING_VERSION]: "1"
|
|
69388
|
+
} }
|
|
69336
69389
|
}) });
|
|
69337
69390
|
const parsed = getSpaceUpdatesResponseSchema.safeParse(parseJsonResponse$1(raw));
|
|
69338
69391
|
if (!parsed.success) throw new Error("invalid space updates response");
|
|
@@ -70416,6 +70469,7 @@ function formatAllowedRelations(target) {
|
|
|
70416
70469
|
const relations = [];
|
|
70417
70470
|
if (target.allowedRelations.wake) relations.push("wake");
|
|
70418
70471
|
if (target.allowedRelations.reference) relations.push("reference");
|
|
70472
|
+
if (target.allowedRelations.mention) relations.push("mention");
|
|
70419
70473
|
return relations.join(" | ");
|
|
70420
70474
|
}
|
|
70421
70475
|
function normalizeTargetProfileName(value) {
|
|
@@ -72924,6 +72978,7 @@ function normalizeResolvedPostMessageAction(input) {
|
|
|
72924
72978
|
failureReason,
|
|
72925
72979
|
inputKind: "direct_payload",
|
|
72926
72980
|
memberDirectoryLoaded: input.sendTargetReference.status === "loaded",
|
|
72981
|
+
mentionTargetsCount: action.messageEnvelope.mentionTargets?.length ?? 0,
|
|
72927
72982
|
referenceTargetsCount: action.messageEnvelope.referenceTargets.length,
|
|
72928
72983
|
replyToSignalIdResolved: Boolean(action.messageEnvelope.replyToSignalId),
|
|
72929
72984
|
targetProfileId: input.parsedTask.targetProfileId,
|
|
@@ -84388,14 +84443,10 @@ function buildSpaceWebUrl(baseUrl, organizationSlug, spaceId, options) {
|
|
|
84388
84443
|
}
|
|
84389
84444
|
function resolveGatewayWebOrigin(baseUrl) {
|
|
84390
84445
|
const url = new URL(baseUrl);
|
|
84391
|
-
if (isLoopbackHostname
|
|
84392
|
-
|
|
84393
|
-
|
|
84394
|
-
url.
|
|
84395
|
-
url.protocol = "https:";
|
|
84396
|
-
}
|
|
84397
|
-
if (url.hostname === "gateway.openmeld.invalid") {
|
|
84398
|
-
url.hostname = "openmeld.invalid";
|
|
84446
|
+
if (isLoopbackHostname(url.hostname) && url.port === LOCAL_GATEWAY_PORT) url.port = LOCAL_WEB_PORT;
|
|
84447
|
+
const pair = OPENMELD_ORIGIN_HOST_PAIRS.find(({ gateway }) => gateway === url.hostname);
|
|
84448
|
+
if (pair) {
|
|
84449
|
+
url.hostname = pair.web;
|
|
84399
84450
|
url.port = "";
|
|
84400
84451
|
url.protocol = "https:";
|
|
84401
84452
|
}
|
|
@@ -84404,8 +84455,18 @@ function resolveGatewayWebOrigin(baseUrl) {
|
|
|
84404
84455
|
url.hash = "";
|
|
84405
84456
|
return url.origin;
|
|
84406
84457
|
}
|
|
84407
|
-
function
|
|
84408
|
-
|
|
84458
|
+
function resolveSpaceWebGatewayOrigin(spaceUrl) {
|
|
84459
|
+
const url = new URL(spaceUrl.toString());
|
|
84460
|
+
const pair = OPENMELD_ORIGIN_HOST_PAIRS.find(({ web }) => web === url.hostname);
|
|
84461
|
+
if (pair) {
|
|
84462
|
+
if (url.protocol !== "https:" || url.port.length > 0) throw new Error(TRUSTED_SPACE_WEB_ORIGIN_ERROR);
|
|
84463
|
+
url.hostname = pair.gateway;
|
|
84464
|
+
} else if (isLoopbackHostname(url.hostname) && (url.protocol === "http:" || url.protocol === "https:") && url.port === LOCAL_WEB_PORT) url.port = LOCAL_GATEWAY_PORT;
|
|
84465
|
+
else throw new Error(TRUSTED_SPACE_WEB_ORIGIN_ERROR);
|
|
84466
|
+
url.pathname = "";
|
|
84467
|
+
url.search = "";
|
|
84468
|
+
url.hash = "";
|
|
84469
|
+
return url.origin;
|
|
84409
84470
|
}
|
|
84410
84471
|
function normalizeOptionalText$6(value) {
|
|
84411
84472
|
const normalized = String(value ?? "").trim();
|
|
@@ -84416,6 +84477,23 @@ function requireOrganizationSlug(value) {
|
|
|
84416
84477
|
if (!normalized) throw new Error("Active organization slug is required to build a Space URL.");
|
|
84417
84478
|
return normalized;
|
|
84418
84479
|
}
|
|
84480
|
+
const OPENMELD_ORIGIN_HOST_PAIRS = [
|
|
84481
|
+
{
|
|
84482
|
+
gateway: "gateway.openmeld.ai",
|
|
84483
|
+
web: "openmeld.ai"
|
|
84484
|
+
},
|
|
84485
|
+
{
|
|
84486
|
+
gateway: "gateway.staging.openmeld.ai",
|
|
84487
|
+
web: "staging.openmeld.ai"
|
|
84488
|
+
},
|
|
84489
|
+
{
|
|
84490
|
+
gateway: "gateway.openmeld.invalid",
|
|
84491
|
+
web: "openmeld.invalid"
|
|
84492
|
+
}
|
|
84493
|
+
];
|
|
84494
|
+
const LOCAL_GATEWAY_PORT = "8080";
|
|
84495
|
+
const LOCAL_WEB_PORT = "3000";
|
|
84496
|
+
const TRUSTED_SPACE_WEB_ORIGIN_ERROR = "Space URL must use a trusted OpenMeld Web origin. For a custom local environment, pass --gateway-url explicitly.";
|
|
84419
84497
|
//#endregion
|
|
84420
84498
|
//#region src/ui/brand.ts
|
|
84421
84499
|
const ANSI_RESET = "\x1B[0m";
|
|
@@ -89050,60 +89128,11 @@ function buildAgentPreparationPromptMessage(profiles) {
|
|
|
89050
89128
|
return `${String(profiles.length)} local agent profiles still need setup on this device before they can wake or reply in the background. Set them up now?`;
|
|
89051
89129
|
}
|
|
89052
89130
|
//#endregion
|
|
89053
|
-
//#region src/ui/
|
|
89054
|
-
const
|
|
89055
|
-
function
|
|
89056
|
-
switch (input.accessMode) {
|
|
89057
|
-
case "public": return "anyone_can_join";
|
|
89058
|
-
case "public_view_join_password": return "anyone_can_view";
|
|
89059
|
-
case "members_only":
|
|
89060
|
-
case "protected": return null;
|
|
89061
|
-
default: return input.passwordProtected === false ? "anyone_can_join" : null;
|
|
89062
|
-
}
|
|
89063
|
-
}
|
|
89064
|
-
function buildPublicSpaceWarningLines(exposure) {
|
|
89065
|
-
return [exposure === "anyone_can_join" ? "Anyone with this Space link can read what is shared here and join." : "Anyone with this Space link can read what is shared here. A password is required to join.", "Only bring an agent if you're comfortable sharing anything it posts with people who have the link."];
|
|
89066
|
-
}
|
|
89067
|
-
function buildPublicSpaceJoinConfirmPromptConfig(input) {
|
|
89068
|
-
return {
|
|
89069
|
-
active: "Yes, join this Space",
|
|
89070
|
-
inactive: "No, go back",
|
|
89071
|
-
message: buildPublicSpacePromptMessage("Do you want to join this Space?", input.exposure),
|
|
89072
|
-
vertical: true
|
|
89073
|
-
};
|
|
89074
|
-
}
|
|
89075
|
-
function buildPublicSpaceBringAgentsConfirmPromptConfig(input) {
|
|
89076
|
-
const singular = input.agentCount === 1;
|
|
89077
|
-
return {
|
|
89078
|
-
active: singular ? "Yes, bring this agent" : "Yes, bring these agents",
|
|
89079
|
-
inactive: singular ? "No, join without this agent" : "No, join without these agents",
|
|
89080
|
-
message: buildPublicSpacePromptMessage(singular ? "Bring this agent into a Space that anyone with the link can read?" : "Bring these agents into a Space that anyone with the link can read?", input.exposure),
|
|
89081
|
-
vertical: true
|
|
89082
|
-
};
|
|
89083
|
-
}
|
|
89084
|
-
function buildPublicSpacePasswordPromptConfig(input) {
|
|
89085
|
-
return {
|
|
89086
|
-
message: buildPublicSpacePromptCardMessage({
|
|
89087
|
-
lines: [
|
|
89088
|
-
"Without a password, anyone with this Space link can read what is shared here and join.",
|
|
89089
|
-
"With a password, only people who have it can open and join the Space.",
|
|
89090
|
-
`Passwords must be at least ${input.minimumLength} characters.`
|
|
89091
|
-
],
|
|
89092
|
-
question: "Require a password to open and join?"
|
|
89093
|
-
}),
|
|
89094
|
-
setPasswordLabel: "Yes, require a password to open and join",
|
|
89095
|
-
skipPasswordLabel: "No, anyone with the link can join"
|
|
89096
|
-
};
|
|
89097
|
-
}
|
|
89098
|
-
function buildPublicSpacePromptMessage(question, exposure) {
|
|
89099
|
-
return buildPublicSpacePromptCardMessage({
|
|
89100
|
-
lines: buildPublicSpaceWarningLines(exposure),
|
|
89101
|
-
question
|
|
89102
|
-
});
|
|
89103
|
-
}
|
|
89104
|
-
function buildPublicSpacePromptCardMessage(input) {
|
|
89131
|
+
//#region src/ui/space-access-prompt-card.ts
|
|
89132
|
+
const SPACE_ACCESS_WARNING_TITLE = "⚠️ Check Before You Continue";
|
|
89133
|
+
function buildSpaceAccessPromptCardMessage(input) {
|
|
89105
89134
|
const frame = buildUnifiedCardFrame({
|
|
89106
|
-
title:
|
|
89135
|
+
title: SPACE_ACCESS_WARNING_TITLE,
|
|
89107
89136
|
rowTextList: input.lines,
|
|
89108
89137
|
minContentWidth: 76
|
|
89109
89138
|
});
|
|
@@ -89117,6 +89146,25 @@ function buildPublicSpacePromptCardMessage(input) {
|
|
|
89117
89146
|
].join("\n");
|
|
89118
89147
|
}
|
|
89119
89148
|
//#endregion
|
|
89149
|
+
//#region src/ui/space-create-password-prompt.ts
|
|
89150
|
+
function buildSpaceCreatePasswordPromptConfig(input) {
|
|
89151
|
+
return {
|
|
89152
|
+
message: buildSpaceAccessPromptCardMessage({
|
|
89153
|
+
lines: [
|
|
89154
|
+
resolveSpaceCreatePasswordlessAccessText(input.accessMode),
|
|
89155
|
+
"With a password, only people who have it can open and join the Space.",
|
|
89156
|
+
`Passwords must be at least ${input.minimumLength} characters.`
|
|
89157
|
+
],
|
|
89158
|
+
question: "Require a password to open and join?"
|
|
89159
|
+
}),
|
|
89160
|
+
setPasswordLabel: "Yes, require a password to open and join",
|
|
89161
|
+
skipPasswordLabel: input.accessMode === "public" ? "No, anyone with the link can join" : "No, keep access members-only"
|
|
89162
|
+
};
|
|
89163
|
+
}
|
|
89164
|
+
function resolveSpaceCreatePasswordlessAccessText(accessMode) {
|
|
89165
|
+
return accessMode === "public" ? "Without a password, anyone with this Space link can read what is shared here and join." : "Without a password, only current members can open this Space. New participants must be added explicitly.";
|
|
89166
|
+
}
|
|
89167
|
+
//#endregion
|
|
89120
89168
|
//#region src/space/command-context.ts
|
|
89121
89169
|
const SPACE_ID_HEX_REGEX$1 = /^[0-9a-f]{64}$/i;
|
|
89122
89170
|
const SIGNAL_ID_UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
@@ -91317,7 +91365,8 @@ function parseSpaceCursorResponse(input) {
|
|
|
91317
91365
|
function makeHello(profile) {
|
|
91318
91366
|
return {
|
|
91319
91367
|
type: "hello",
|
|
91320
|
-
profile
|
|
91368
|
+
profile,
|
|
91369
|
+
capabilities: { spaceMessageAddressing: true }
|
|
91321
91370
|
};
|
|
91322
91371
|
}
|
|
91323
91372
|
function makeTextSignal(text, options) {
|
|
@@ -91543,7 +91592,8 @@ function buildHumanMessageRelationLines(projection) {
|
|
|
91543
91592
|
if (!projection) return [];
|
|
91544
91593
|
return buildSpaceMessageReadRelationSummary({
|
|
91545
91594
|
wakeTargets: projection.wakeTargets,
|
|
91546
|
-
referenceTargets: projection.referenceTargets
|
|
91595
|
+
referenceTargets: projection.referenceTargets,
|
|
91596
|
+
mentionTargets: projection.mentionTargets
|
|
91547
91597
|
}).map(formatHumanRelationSummaryLine);
|
|
91548
91598
|
}
|
|
91549
91599
|
function buildHumanReplyContextLine(replyContext) {
|
|
@@ -91617,6 +91667,43 @@ function renderPositiveAccentText(text) {
|
|
|
91617
91667
|
return `\u001B[38;2;${String(POSITIVE_ACCENT_RGB.r)};${String(POSITIVE_ACCENT_RGB.g)};${String(POSITIVE_ACCENT_RGB.b)}m${text}\u001B[39m`;
|
|
91618
91668
|
}
|
|
91619
91669
|
//#endregion
|
|
91670
|
+
//#region src/ui/public-space-warning.ts
|
|
91671
|
+
function resolvePublicSpaceExposure(input) {
|
|
91672
|
+
switch (input.accessMode) {
|
|
91673
|
+
case "public": return "anyone_can_join";
|
|
91674
|
+
case "public_view_join_password": return "anyone_can_view";
|
|
91675
|
+
case "members_only":
|
|
91676
|
+
case "protected": return null;
|
|
91677
|
+
default: return input.passwordProtected === false ? "anyone_can_join" : null;
|
|
91678
|
+
}
|
|
91679
|
+
}
|
|
91680
|
+
function buildPublicSpaceWarningLines(exposure) {
|
|
91681
|
+
return [exposure === "anyone_can_join" ? "Anyone with this Space link can read what is shared here and join." : "Anyone with this Space link can read what is shared here. A password is required to join.", "Only bring an agent if you're comfortable sharing anything it posts with people who have the link."];
|
|
91682
|
+
}
|
|
91683
|
+
function buildPublicSpaceJoinConfirmPromptConfig(input) {
|
|
91684
|
+
return {
|
|
91685
|
+
active: "Yes, join this Space",
|
|
91686
|
+
inactive: "No, go back",
|
|
91687
|
+
message: buildPublicSpacePromptMessage("Do you want to join this Space?", input.exposure),
|
|
91688
|
+
vertical: true
|
|
91689
|
+
};
|
|
91690
|
+
}
|
|
91691
|
+
function buildPublicSpaceBringAgentsConfirmPromptConfig(input) {
|
|
91692
|
+
const singular = input.agentCount === 1;
|
|
91693
|
+
return {
|
|
91694
|
+
active: singular ? "Yes, bring this agent" : "Yes, bring these agents",
|
|
91695
|
+
inactive: singular ? "No, join without this agent" : "No, join without these agents",
|
|
91696
|
+
message: buildPublicSpacePromptMessage(singular ? "Bring this agent into a Space that anyone with the link can read?" : "Bring these agents into a Space that anyone with the link can read?", input.exposure),
|
|
91697
|
+
vertical: true
|
|
91698
|
+
};
|
|
91699
|
+
}
|
|
91700
|
+
function buildPublicSpacePromptMessage(question, exposure) {
|
|
91701
|
+
return buildSpaceAccessPromptCardMessage({
|
|
91702
|
+
lines: buildPublicSpaceWarningLines(exposure),
|
|
91703
|
+
question
|
|
91704
|
+
});
|
|
91705
|
+
}
|
|
91706
|
+
//#endregion
|
|
91620
91707
|
//#region src/ui/space-mention-highlight.ts
|
|
91621
91708
|
function buildSpaceMentionHighlightIndex(snapshot) {
|
|
91622
91709
|
return buildSpaceMentionProfileIndex(snapshot);
|
|
@@ -93036,11 +93123,56 @@ async function prepareCliSpaceComposerSubmission(input) {
|
|
|
93036
93123
|
snapshot: membersSnapshot,
|
|
93037
93124
|
text: input.text
|
|
93038
93125
|
});
|
|
93126
|
+
const publishedMessage = resolvePublishedMessage({
|
|
93127
|
+
membersSnapshot,
|
|
93128
|
+
preparedSubmission
|
|
93129
|
+
});
|
|
93130
|
+
const outboundText = publishedMessage.text;
|
|
93131
|
+
const outboundMessageEnvelope = preparedSubmission.messageEnvelope ? {
|
|
93132
|
+
...preparedSubmission.messageEnvelope,
|
|
93133
|
+
text: outboundText
|
|
93134
|
+
} : void 0;
|
|
93039
93135
|
return {
|
|
93040
|
-
...
|
|
93136
|
+
...outboundMessageEnvelope ? { outboundMessageEnvelope } : {},
|
|
93041
93137
|
...preparedSubmission.replyTo ? { outboundReplyTo: preparedSubmission.replyTo } : {},
|
|
93042
|
-
outboundText
|
|
93043
|
-
preparedSubmission
|
|
93138
|
+
outboundText,
|
|
93139
|
+
preparedSubmission,
|
|
93140
|
+
resolvedAddressingTargets: publishedMessage.resolvedAddressingTargets
|
|
93141
|
+
};
|
|
93142
|
+
}
|
|
93143
|
+
function resolvePublishedMessage(input) {
|
|
93144
|
+
const text = input.preparedSubmission.text;
|
|
93145
|
+
const canonicalMentions = collectCanonicalMentionTextFragments(text).flatMap((fragment) => fragment.parsedLiteral ? [{
|
|
93146
|
+
...fragment,
|
|
93147
|
+
parsedLiteral: fragment.parsedLiteral
|
|
93148
|
+
}] : []);
|
|
93149
|
+
if (canonicalMentions.length === 0) return {
|
|
93150
|
+
resolvedAddressingTargets: [],
|
|
93151
|
+
text
|
|
93152
|
+
};
|
|
93153
|
+
if (!input.membersSnapshot) throw new Error("Space message addressing invariant failed: resolved mentions require the current members snapshot.");
|
|
93154
|
+
const targetCatalog = createSpaceTargetCatalog(input.membersSnapshot);
|
|
93155
|
+
let cursor = 0;
|
|
93156
|
+
const parts = [];
|
|
93157
|
+
for (const mention of canonicalMentions) {
|
|
93158
|
+
const target = targetCatalog.byExactMentionLabel.get(mention.parsedLiteral.name);
|
|
93159
|
+
if (!target) throw new Error(`Space message addressing invariant failed: resolved target ${mention.parsedLiteral.name} is not in the current members snapshot.`);
|
|
93160
|
+
parts.push(text.slice(cursor, mention.start));
|
|
93161
|
+
parts.push(`@${target.primaryMentionLabel}`);
|
|
93162
|
+
cursor = mention.end;
|
|
93163
|
+
}
|
|
93164
|
+
parts.push(text.slice(cursor));
|
|
93165
|
+
return {
|
|
93166
|
+
resolvedAddressingTargets: input.preparedSubmission.canonicalMentionsInTextOrder.map((mention) => {
|
|
93167
|
+
const target = targetCatalog.byProfileId.get(mention.profileId);
|
|
93168
|
+
if (!target) throw new Error(`Space message addressing invariant failed: resolved profile ${mention.profileId} is not in the current members snapshot.`);
|
|
93169
|
+
return {
|
|
93170
|
+
primaryMentionLabel: target.primaryMentionLabel,
|
|
93171
|
+
profileId: target.profileId,
|
|
93172
|
+
relation: mention.type
|
|
93173
|
+
};
|
|
93174
|
+
}),
|
|
93175
|
+
text: parts.join("")
|
|
93044
93176
|
};
|
|
93045
93177
|
}
|
|
93046
93178
|
//#endregion
|
|
@@ -97377,7 +97509,7 @@ var SpaceSessionRuntime = class {
|
|
|
97377
97509
|
}
|
|
97378
97510
|
const clientMessageId = crypto.randomUUID();
|
|
97379
97511
|
try {
|
|
97380
|
-
this.#ws.send(JSON.stringify(
|
|
97512
|
+
this.#ws.send(JSON.stringify(toCompatibleSpaceAddressingRequestWireValue(makeTextSignal(text, {
|
|
97381
97513
|
...input.messageEnvelope ? { messageEnvelope: input.messageEnvelope } : {},
|
|
97382
97514
|
meta: { clientMessageId }
|
|
97383
97515
|
}))));
|
|
@@ -101919,7 +102051,7 @@ async function runConnect(input) {
|
|
|
101919
102051
|
const outboundText = preparedOutboundText.text;
|
|
101920
102052
|
const clientMessageId = crypto.randomUUID();
|
|
101921
102053
|
try {
|
|
101922
|
-
ws.send(JSON.stringify(
|
|
102054
|
+
ws.send(JSON.stringify(toCompatibleSpaceAddressingRequestWireValue(makeTextSignal(outboundText, {
|
|
101923
102055
|
...preparedOutboundText.messageEnvelope ? { messageEnvelope: preparedOutboundText.messageEnvelope } : {},
|
|
101924
102056
|
meta: { clientMessageId }
|
|
101925
102057
|
}))));
|
|
@@ -103918,6 +104050,7 @@ function buildSpaceHistoryBriefMessage(input) {
|
|
|
103918
104050
|
replyTo: messageReadProjection?.replyToSignalId ?? null,
|
|
103919
104051
|
wakeTargets: messageReadProjection?.wakeTargets ?? [],
|
|
103920
104052
|
referenceTargets: messageReadProjection?.referenceTargets ?? [],
|
|
104053
|
+
mentionTargets: messageReadProjection?.mentionTargets ?? [],
|
|
103921
104054
|
thread: input.thread ?? null
|
|
103922
104055
|
};
|
|
103923
104056
|
}
|
|
@@ -105664,9 +105797,10 @@ async function runSend(input) {
|
|
|
105664
105797
|
summary: input.plainText ? "Preparing message text without Space mention parsing." : "Preparing message text and canonical Space mentions.",
|
|
105665
105798
|
spaceId: space
|
|
105666
105799
|
});
|
|
105667
|
-
const { outboundMessageEnvelope, outboundText } = text.value.length === 0 ? {
|
|
105800
|
+
const { outboundMessageEnvelope, outboundText, resolvedAddressingTargets } = text.value.length === 0 ? {
|
|
105668
105801
|
outboundMessageEnvelope: void 0,
|
|
105669
|
-
outboundText: ""
|
|
105802
|
+
outboundText: "",
|
|
105803
|
+
resolvedAddressingTargets: []
|
|
105670
105804
|
} : await resolveOutboundSubmission({
|
|
105671
105805
|
openMeldProfile,
|
|
105672
105806
|
password: input.password,
|
|
@@ -105680,6 +105814,7 @@ async function runSend(input) {
|
|
|
105680
105814
|
emitSendAddressingSummary({
|
|
105681
105815
|
outboundMessageEnvelope,
|
|
105682
105816
|
presenter,
|
|
105817
|
+
resolvedAddressingTargets,
|
|
105683
105818
|
resolvedView: runtime.resolvedView
|
|
105684
105819
|
});
|
|
105685
105820
|
presenter.line({
|
|
@@ -105776,7 +105911,8 @@ async function postReplyIntoThread(input) {
|
|
|
105776
105911
|
async function resolveOutboundSubmission(input) {
|
|
105777
105912
|
if (input.plainText) return {
|
|
105778
105913
|
bareMentionDiagnostics: [],
|
|
105779
|
-
outboundText: input.text
|
|
105914
|
+
outboundText: input.text,
|
|
105915
|
+
resolvedAddressingTargets: []
|
|
105780
105916
|
};
|
|
105781
105917
|
let loadedMembersSnapshot = null;
|
|
105782
105918
|
const preparedSubmission = await prepareCliSpaceComposerSubmission({
|
|
@@ -105823,7 +105959,8 @@ async function resolveOutboundSubmission(input) {
|
|
|
105823
105959
|
return {
|
|
105824
105960
|
bareMentionDiagnostics,
|
|
105825
105961
|
outboundMessageEnvelope: preparedSubmission.outboundMessageEnvelope,
|
|
105826
|
-
outboundText: preparedSubmission.outboundText
|
|
105962
|
+
outboundText: preparedSubmission.outboundText,
|
|
105963
|
+
resolvedAddressingTargets: preparedSubmission.resolvedAddressingTargets
|
|
105827
105964
|
};
|
|
105828
105965
|
}
|
|
105829
105966
|
async function resolveBareMentionDiagnostics(input) {
|
|
@@ -105879,11 +106016,14 @@ function emitSendAddressingSummary(input) {
|
|
|
105879
106016
|
const envelope = input.outboundMessageEnvelope;
|
|
105880
106017
|
const wakeCount = envelope?.activationTargets.length ?? 0;
|
|
105881
106018
|
const referenceCount = envelope?.referenceTargets.length ?? 0;
|
|
106019
|
+
const mentionCount = envelope?.mentionTargets?.length ?? 0;
|
|
105882
106020
|
input.presenter.line({
|
|
105883
106021
|
code: "space.send.addressing_summary",
|
|
105884
|
-
text: `Space Message Addressing: wake=${wakeCount}, reference=${referenceCount}.`,
|
|
106022
|
+
text: `Space Message Addressing: wake=${wakeCount}, reference=${referenceCount}, mention=${mentionCount}.`,
|
|
105885
106023
|
data: {
|
|
106024
|
+
mentionTargetCount: mentionCount,
|
|
105886
106025
|
referenceTargetCount: referenceCount,
|
|
106026
|
+
...input.resolvedAddressingTargets.length > 0 ? { targets: input.resolvedAddressingTargets } : {},
|
|
105887
106027
|
wakeTargetCount: wakeCount
|
|
105888
106028
|
}
|
|
105889
106029
|
});
|
|
@@ -105892,7 +106032,8 @@ function emitBareMentionDiagnostics(input) {
|
|
|
105892
106032
|
if (input.diagnostics.length === 0) return;
|
|
105893
106033
|
const first = input.diagnostics[0];
|
|
105894
106034
|
if (!first) return;
|
|
105895
|
-
const suggestion = first.suggestedWakeText ?? first.suggestedReferenceText;
|
|
106035
|
+
const suggestion = first.suggestedWakeText ?? first.suggestedReferenceText ?? first.suggestedMentionText;
|
|
106036
|
+
if (!suggestion) return;
|
|
105896
106037
|
const text = `Bare mention ${first.mentionText} is plain text and does not create a Wake. Use ${suggestion} when you want OpenMeld to address that profile.`;
|
|
105897
106038
|
if (input.resolvedView === "agent") {
|
|
105898
106039
|
input.presenter.line({
|
|
@@ -105903,6 +106044,7 @@ function emitBareMentionDiagnostics(input) {
|
|
|
105903
106044
|
profileId: diagnostic.profileId,
|
|
105904
106045
|
profileKind: diagnostic.profileKind,
|
|
105905
106046
|
profileName: diagnostic.profileName,
|
|
106047
|
+
suggestedMentionText: diagnostic.suggestedMentionText,
|
|
105906
106048
|
suggestedReferenceText: diagnostic.suggestedReferenceText,
|
|
105907
106049
|
suggestedWakeText: diagnostic.suggestedWakeText
|
|
105908
106050
|
})) }
|
|
@@ -106281,11 +106423,13 @@ async function resolveSpaceCreateInput(input) {
|
|
|
106281
106423
|
openMeldProfileId: input.openMeldProfile.openMeldProfileId,
|
|
106282
106424
|
resolvedView: input.runtime.resolvedView,
|
|
106283
106425
|
providedPassword: input.providedPassword,
|
|
106284
|
-
interactive: input.interactive
|
|
106426
|
+
interactive: input.interactive,
|
|
106427
|
+
visibility
|
|
106285
106428
|
});
|
|
106286
106429
|
const password = await resolveCreateSpacePasswordInput({
|
|
106287
106430
|
providedPassword: input.providedPassword,
|
|
106288
|
-
interactive: input.interactive
|
|
106431
|
+
interactive: input.interactive,
|
|
106432
|
+
visibility
|
|
106289
106433
|
});
|
|
106290
106434
|
if (password === null) return { status: "cancelled" };
|
|
106291
106435
|
const normalizedGuide = normalizeGuideInput(input.providedGuide);
|
|
@@ -106589,9 +106733,6 @@ function parseUrlOrNull(value) {
|
|
|
106589
106733
|
return null;
|
|
106590
106734
|
}
|
|
106591
106735
|
}
|
|
106592
|
-
function isLoopbackHostname(hostname) {
|
|
106593
|
-
return hostname === "localhost" || hostname === "127.0.0.1" || hostname === "::1";
|
|
106594
|
-
}
|
|
106595
106736
|
function requireActiveOrganizationSlug(organization) {
|
|
106596
106737
|
const slug = normalizeOptionalString$1(organization?.slug);
|
|
106597
106738
|
if (!slug) throw new Error("Active organization slug is required to build a Space URL.");
|
|
@@ -106687,7 +106828,7 @@ async function resolveCreateSpacePasswordInput(input) {
|
|
|
106687
106828
|
if (typeof input.providedPassword === "string") return normalizeSpacePasswordText(input.providedPassword);
|
|
106688
106829
|
if (!input.interactive) return;
|
|
106689
106830
|
const shouldSetPassword = await confirm({
|
|
106690
|
-
message: buildCreateSpacePasswordPromptMessage(),
|
|
106831
|
+
message: buildCreateSpacePasswordPromptMessage(input.visibility),
|
|
106691
106832
|
initialValue: false
|
|
106692
106833
|
});
|
|
106693
106834
|
if (isCancel(shouldSetPassword)) {
|
|
@@ -106717,7 +106858,10 @@ async function promptInteractiveSpaceCreateFlow(input) {
|
|
|
106717
106858
|
while (stepIndex < steps.length) {
|
|
106718
106859
|
const step = steps[stepIndex];
|
|
106719
106860
|
if (!step) break;
|
|
106720
|
-
const result = await promptInteractiveSpaceCreateFlowStep(
|
|
106861
|
+
const result = await promptInteractiveSpaceCreateFlowStep({
|
|
106862
|
+
state,
|
|
106863
|
+
step
|
|
106864
|
+
});
|
|
106721
106865
|
const navigation = resolveSpaceCreateFlowStepNavigation({
|
|
106722
106866
|
stepIndex,
|
|
106723
106867
|
result
|
|
@@ -106762,7 +106906,8 @@ function normalizePromptedSpaceGuide(value) {
|
|
|
106762
106906
|
const normalized = value.trim();
|
|
106763
106907
|
return normalized.length > 0 ? normalized : void 0;
|
|
106764
106908
|
}
|
|
106765
|
-
async function promptInteractiveSpaceCreateFlowStep(
|
|
106909
|
+
async function promptInteractiveSpaceCreateFlowStep(input) {
|
|
106910
|
+
const { step } = input;
|
|
106766
106911
|
if (step === "name") {
|
|
106767
106912
|
const result = await promptRequiredInteractiveSpaceName();
|
|
106768
106913
|
return result.status === "submitted" ? {
|
|
@@ -106788,7 +106933,8 @@ async function promptInteractiveSpaceCreateFlowStep(step) {
|
|
|
106788
106933
|
} : result;
|
|
106789
106934
|
}
|
|
106790
106935
|
if (step === "password") {
|
|
106791
|
-
|
|
106936
|
+
if (!input.state.visibility) throw new Error("Space create password prompt requires a selected visibility.");
|
|
106937
|
+
const result = await promptInteractiveSpaceCreatePassword(input.state.visibility);
|
|
106792
106938
|
return result.status === "submitted" ? {
|
|
106793
106939
|
status: "submitted",
|
|
106794
106940
|
step,
|
|
@@ -106897,9 +107043,9 @@ function promptInteractiveSpaceGuide() {
|
|
|
106897
107043
|
backLabel: "Back"
|
|
106898
107044
|
});
|
|
106899
107045
|
}
|
|
106900
|
-
async function promptInteractiveSpaceCreatePassword() {
|
|
107046
|
+
async function promptInteractiveSpaceCreatePassword(visibility) {
|
|
106901
107047
|
for (;;) {
|
|
106902
|
-
const promptConfig = buildCreateSpacePasswordPromptConfig();
|
|
107048
|
+
const promptConfig = buildCreateSpacePasswordPromptConfig(visibility);
|
|
106903
107049
|
const action = await select({
|
|
106904
107050
|
message: promptConfig.message,
|
|
106905
107051
|
options: [
|
|
@@ -106966,7 +107112,7 @@ function emitSpaceCreatePasswordOptionalHint(input) {
|
|
|
106966
107112
|
if (input.interactive) return;
|
|
106967
107113
|
input.presenter.line({
|
|
106968
107114
|
code: "space.create.password.optional_hint",
|
|
106969
|
-
text:
|
|
107115
|
+
text: buildSpaceCreatePasswordOptionalHintText(input.visibility),
|
|
106970
107116
|
data: {
|
|
106971
107117
|
optional: true,
|
|
106972
107118
|
requirements: {
|
|
@@ -106980,11 +107126,17 @@ function emitSpaceCreatePasswordOptionalHint(input) {
|
|
|
106980
107126
|
}
|
|
106981
107127
|
});
|
|
106982
107128
|
}
|
|
106983
|
-
function
|
|
106984
|
-
return
|
|
107129
|
+
function buildSpaceCreatePasswordOptionalHintText(visibility) {
|
|
107130
|
+
return `Password is optional. ${resolveSpaceCreatePasswordlessAccessText(resolveInitialSpaceAccessMode(visibility))} To require a password to open and join, use --password <value>. Password rule: ` + buildSpacePasswordRequirementsText();
|
|
106985
107131
|
}
|
|
106986
|
-
function
|
|
106987
|
-
return
|
|
107132
|
+
function buildCreateSpacePasswordPromptMessage(visibility) {
|
|
107133
|
+
return buildCreateSpacePasswordPromptConfig(visibility).message;
|
|
107134
|
+
}
|
|
107135
|
+
function buildCreateSpacePasswordPromptConfig(visibility) {
|
|
107136
|
+
return buildSpaceCreatePasswordPromptConfig({
|
|
107137
|
+
accessMode: resolveInitialSpaceAccessMode(visibility),
|
|
107138
|
+
minimumLength: 6
|
|
107139
|
+
});
|
|
106988
107140
|
}
|
|
106989
107141
|
function resolveCancelledSpacePasswordPromptResult(input) {
|
|
106990
107142
|
if (input.allowBack) return { status: "back" };
|
|
@@ -110856,6 +111008,6 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
110856
111008
|
return runtime.resolvedView === "human" && canUseInteractivePrompts(runtime);
|
|
110857
111009
|
}
|
|
110858
111010
|
//#endregion
|
|
110859
|
-
export { runAgentsManage as $, LocalProjectConnectionError as $a, resetCurrentCommandCheckState as $i, isCliUpdateCheckApplicable as $n, cliJsonOutputEnvelopeSchema as $o, resolveServiceReadinessFromServiceStatus as $r, ensureLocalSkills as $t, parseEnvelope as A, resolveViewProfileKey as Aa, getAgentControllerPermissionModeFieldLabel as Ai, submitProfileRuntimeAgentControllerReport as An, enqueueAgentActivityHookEvent as Ao, registerSpaceMemberSelectionOptions as Ar, createDelayedSpinner as At, resolveHumanControllerDisplayName as B, updateOpenMeldProfile as Ba, buildOnboardingPlan as Bi, buildDispatchResultMessageReadProjection as Bn, setDefaultProjectConnection as Bo, buildDualViewGuideMessage as Br, toStructuredGatewayFailure as Bt, toSpaceMetaUpsertInput as C, buildHumanErrorCopy as Ca, reconcileNewRunnableBuiltinAgentsForSetup as Ci, resolveCreateProfileName as Cn, upsertDaemonServiceContract as Co, createSpaceTargetGuideError as Cr, runDaemonStop as Ct, formatHumanReadTargetList as D, formatMessage as Da, buildAgentControllerRef as Di, resolveServiceParticipationReadiness as Dn, resolveObservedAgentActivityBinding as Do, createUpgradeConfirmationGuideError as Dr, buildProfileWorkspaceRows as Dt, buildHumanReplyContextSummary as E, createPresenter as Ea, resolveLocalRegistryAgentIdFromAgentControllerRef as Ei, formatServiceParticipationReadinessLabel as En, buildAgentActivityEvent as Eo, createStartAuthenticationGuideError as Er, buildProfileWorkspacePresentation as Et, resolveOpenMeldProfileForSpaceCommand as F, createOpenMeldHumanProfile as Fa, resolveAgentProfileEditCapabilities as Fi, resolveLocalAgentControllerLaunchability as Fn, listProjectBindings as Fo, registerAuthLoginRequestOptions as Fr, createCliSpaceApi as Ft, runAgentsCustomAdd as G, buildAgentAuthenticationGuide as Ga, classifyDaemonServiceWakeability as Gi, buildUpdatesReplyWorkflowProjection as Gn, renderInfoCard as Go, buildAgentFacingPublicationModeGuideLines as Gr, runDaemonServiceParticipationGate as Gt, resolveAgentProfileSetup as H, clearSelectedOpenMeldProfileId as Ha, buildDaemonServiceTargetSpec as Hi, buildSignalIndex as Hn, canonicalizeLocalProjectPath as Ho, OPENMELD_AGENT_MENTAL_MODEL_LINES as Hr, resolveLocalComponentsStatus as Ht, emitSpaceAgentOverview as I, deleteOpenMeldProfile as Ia, resolveEvidenceSyncHealth as Ii, resolveLocalAgentControllerReportDecision as In, listProjectConnectionsWithStatus as Io, registerBuiltinAgentSelectionOptions as Ir, fetchSpaceMeta as It, runAgentsCustomUpdate as J, resolveAuthenticationGuidance as Ja, resolveOpenMeldEnvironmentTarget as Ji, promptSearchMultiselect as Jn, emitCliJsonEnvelope as Jo, runPendingDaemonServiceUpdate as Jr, runSkillsCheck as Jt, runAgentsCustomList as K, buildHumanAuthenticationCard as Ka, resolveServiceUpdateUrgency as Ki, createSpaceMemberIdentityIndex as Kn, renderTextInfoCard as Ko, canonicalizeAllowedActions as Kr, runDaemonStartDecisionPrompt as Kt, emitSpaceCliAgentOverview as L, listOpenMeldProfiles as La, resolveNativeAgentControllerPermissionModeForController as Li, inspectSpaceCacheFile as Ln, migrateProjectBindingStore as Lo, buildAgentOverviewFromContract as Lr, updateSpaceMeta as Lt, assertFullSignalIdArgument as M, requireOpenMeldProfile as Ma, parseAgentControllerRef as Mi, submitRuntimeAgentControllerReports as Mn, readAgentActivityOutboxHealth as Mo, registerSkillsTargetSelectionOptions as Mr, runDaemonStartupPreflight as Mt, assertValidSpaceIdTarget as N, resolveOpenMeldProfileOrNull as Na, resolveAgentControllerPermissionModeForController as Ni, collectLocalAgentControllerInventory as Nn, removeProjectOutbox as No, getCliVersionInfo as Nr, readDaemonStartFailureLogTailLines as Nt, resolveLinkAccessLabel as O, parseCliViewMode as Oa, createAgentExecutionStatusDisplayRows as Oi, assessActionParticipationCandidate as On, normalizeSharedSessionTitle as Oo, getCommandEntryContract as Or, reconcileCliVersionView as Ot, prepareAuthenticatedSpaceCommandContext as P, createOpenMeldAgentProfile as Pa, resolveAgentExecutionStatus as Pi, resolveLocalAgentControllerBlockerReasonCodes as Pn, bindProject as Po, registerDaemonControlTargetOptions as Pr, fetchSpaceUpdates as Pt, runAgentsList as Q, setProfileDefaultView as Qa, isCurrentCommandCheckScopeActive as Qi, assessCliUpdate as Qn, cliBinaryDeltaPatchSchema as Qo, formatDaemonFailureContextText as Qr, runSkillsUpdate as Qt, prepareLocalAgentReadiness as R, primeOpenMeldProfilesSessionCache as Ra, PREPARE_SESSION_RECONNECT_GRACE_MS as Ri, upsertSpaceConfig as Rn, removeProjectConnection as Ro, DualViewGuideError as Rr, readGatewayJsonResponse as Rt, loadSpaceSignalIndexOrNull as S, OPENMELD_VERSION as Sa, listAgentTargetStates as Si, resolveCreateProfileKind as Sn, readDaemonServiceContract as So, createSpaceSubcommandTargetGuideError as Sr, runDaemonStatusFlow as St, buildFormalSignalReadPayload as T, renderHumanTextErrorCard as Ta, notifyDaemonRouteCatalogChanged as Ti, ensureAgentProfileRuntimeBinding as Tn, removeAgentActivityContextCache as To, createStartAgentIdentityGuideError as Tr, runDaemonUninstall as Tt, runAgents as U, getSelectedOpenMeldProfileId as Ua, resolveDaemonServiceAlignmentDecision as Ui, buildSignalMessageReadProjection as Un, enqueueControllerTaskLifecycleEventWhileLocked as Uo, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Ur, writeInstalledLocalComponentsSnapshot as Ut, persistAgentTransportSelection as V, alignSelectedOpenMeldProfileStorage as Va, getSetupFlowCopy as Vi, buildDispatchResultReplyWorkflowProjection as Vn, unbindProject as Vo, formatAgentOverviewPayload as Vr, parseJsonResponse$1 as Vt, runAgentsConfig as W, setSelectedOpenMeldProfileId as Wa, classifyDaemonServiceRunStartability as Wi, buildSpaceRoundReadProjection as Wn, readControllerTaskLifecycleOutboxHealth as Wo, areAllowedActionsEquivalent as Wr, resolveDaemonServiceParticipationStatus as Wt, runAgentsDisable as X, resolveAuthenticationGuidanceFromMessage as Xa, finishCurrentCommandCheckScope as Xi, isReturnKeypress as Xn, outJsonLine as Xo, ensureDaemonRuntimePaths as Xr, runSkillsInstall as Xt, runAgentsDetect as Y, resolveAuthenticationGuidanceFromError as Ya, resolveAuthBaseUrl as Yi, promptSearchSelect as Yn, errLine as Yo, scheduleDaemonServiceUpdate as Yr, runSkillsEnsure as Yt, runAgentsEnable as Z, getProfileDefaultView as Za, getCurrentCommandCheckState as Zi, runInteractivePrompt as Zn, outLine as Zo, resolveDaemonDeviceId as Zr, runSkillsUninstall as Zt, runSpaceWriteWithPasswordRetry as _, readVersionState as _a, validateCustomProfileWorkspacePath as _i, requestDeviceToken as _n, formatOpenMeldCliTextBlock as _o, createSpaceLeaveGuideError as _r, runDaemonInstall as _t, runSpaceDelete as a, getDaemonSystemServiceLogPath as aa, mapAgentReplyReadinessToLegacyAutoReply as ai, ensureCommandAuthenticationOrCancel as an, resolveAgentActivityRouteForPath as ao, resolveElapsedTimeMs as ar, revokeOrganizationJoinLinkResponseSchema as as, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, toStartBackgroundHelperExecutionCompatibility as ba, createPrimaryBindingReadSession as bi, revokeAuthAccessToken as bn, resolveUserFacingCliEntryCommand as bo, createSpaceRemoveMembersGuideError as br, runDaemonRunAfterEntryChecks as bt, runSpaceLeave as c, resolveDaemonServiceManager as ca, syncProfileWorkspaceState as ci, runAuthLogout as cn, defaultManagedIntegrationPaths as co, canUseInteractivePrompts as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, performManagedInstall as da, ensureOpenMeldManagedProfileWorkspace as di, exchangeOneTimeTokenAuthSession as dn, resolveAgentActivityDispatcherCommand as do, createProfileCreateGuideError as dr, resolveSpaceSendText as dt, startCurrentCommandCheckScope as ea, resolveDaemonServiceFreshnessWarning as ei, readBundledOpenMeldCliSkillDocumentByPath as en, validateLocalProjectConnectionPath as eo, assertDispatchOwnedRuntimePublicWriteAllowed as er, cliJsonSkillsListEnvelopeSchema as es, runAgentsRepair as et, runSpaceSend as f, buildNextVersionState as fa, normalizeCustomProfileWorkspacePath as fi, buildAuthStatusRows as fn, uninstallAgentActivityIntegrations as fo, createProfileMenuGuideError as fr, bestEffortStopCurrentLaneDaemonService as ft, runSpaceReadWithPasswordRetry as g, fetchLatestPackageInfo as ga, setOpenMeldManagedProfileWorkspace as gi, fetchAuthUserSnapshot as gn, formatOpenMeldCliLine as go, createSpaceContractSetGuideError as gr, runDaemonCancel as gt, uploadPreparedSpaceFiles as h, fetchLatestCliBinaryRelease as ha, setCustomProfileWorkspace as hi, extractAuthApiErrorMessage as hn, formatOpenMeldCliCommands as ho, createSpaceAliasTargetGuideError as hr, runDaemonBackgroundStartForDecision as ht, runSpaceCreate as i, readCurrentObservedDaemonRuntimeStatus as ia, formatHumanReplyReadinessReason as ii, buildCommandAuthenticationPromptMessage as in, registerAgentActivityRoute as io, formatElapsedTime as ir, organizationJoinLinkErrorResponseSchema as is, colorizeDisplayProfileLabel as it, isSpaceCommandOutputHandledError as j, isSelectedOpenMeldProfileRequiredError as ja, listAgentControllerPermissionModeOptions as ji, submitRuntimeAgentControllerReport as jn, removeProjectInbox as jo, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as jr, shouldEmitAgentOverview as jt, resolveOrganizationVisibilityLabel as k, resolveRuntimeContext as ka, getAgentControllerPermissionModeDisplayMetadata as ki, computeRetryDelayMs as kn, readCodexSessionTitles as ko, getCommandHintsFromContract as kr, emitDaemonAgentOverview as kt, runSpaceList as l, readRecentDaemonLifecycleEvents as la, createModelCatalogReadSession as li, runAuthMenu as ln, installAgentActivityIntegrations as lo, createDoctorFailedGuideError as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, ensureVersionStateReady as ma, resolveConfiguredProfileWorkspacePath as mi, formatActiveOrganizationLabel as mn, formatOpenMeldCliCommand as mo, createSpaceAddMembersGuideError as mr, runDaemonAutostart as mt, promptAndConfirmSpacePassword as n, resolveVersionChangeDirection as na, formatAgentReplyReadinessLabel as ni, readRecentDaemonDispatchJournalEvents as nn, requestLocalAgentActivitySync as no, readDispatchSpaceActionContextFromEnv as nr, cliJsonSkillsShowEnvelopeSchema as ns, formatTransportModeDisplay as nt, runSpaceHistory as o, isDaemonServiceJobNeverSpawned as oa, resolveGatewayChainReadiness as oi, evaluateCommandAuthentication as on, unregisterAgentActivityRoute as oo, formatDaemonServiceDowngradeBlockedRecommendation as or, compareAgentControllerRefsForDisplay as os, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, compareSemver as pa, readProfileWorkspaceConfig as pi, buildAuthStatusSnapshot as pn, formatInlineOpenMeldCliCommands as po, createResetConfirmationGuideError as pr, runDaemon as pt, runAgentsCustomRemove as q, createAuthenticationError as qa, assessServerRequiredVersion as qi, formatRemovedCcRelationMessage as qn, sanitizeTerminalDisplayText as qo, readOpenMeldToolsUpdateContextFromEnv as qr, collectSkillsReadinessSnapshot as qt, runSpaceAddMembers as r, readCurrentDaemonRuntimeContext as ra, formatDeviceReplyReadinessLabel as ri, connectWebSocket as rn, isAgentActivityRouteRegistered as ro, writeDispatchSpaceActionRecord as rr, getOrganizationJoinLinkResponseSchema as rs, colorizeAgentLabel as rt, runSpaceJoin as s, readDaemonServiceJobCrashExitCode as sa, resolveOpenClawLocalDiagnosticsValue as si, runAuthLogin as sn, AGENT_ACTIVITY_INTEGRATION_OWNER as so, formatDaemonServiceMissingRecommendation as sr, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, inspectDaemonServiceInventory as ta, resolveCurrentReplyReadinessSnapshot as ti, readRuntimeReportingHealthState as tn, LocalDaemonControlPlaneClientError as to, readDispatchOwnedRuntimeGuard as tr, cliJsonSkillsLoadEnvelopeSchema as ts, runAgentsShow as tt, runSpacePassword as u, buildInstallSelfJsonPayload as ua, resolveProfileWorkspaceRuntime as ui, runAuthStatus as un, readAgentActivityIntegrationStatus as uo, createProfileActionGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, writeVersionState as va, describeProfileWorkspacePathValidationFailure as vi, resolveDeviceAuthClientId as vn, formatProfileAwareOpenMeldCliCommands as vo, createSpaceMenuGuideError as vr, runDaemonInterrupt as vt, buildFormalDispatchResultReadPayload as w, renderHumanErrorCard as wa, listBuiltinAgentsRegistryEntries as wi, promptTextEntry as wn, readAgentActivityContextForPath as wo, createSpaceUpdatesGuideError as wr, runDaemonTeardownStrict as wt, loadSpaceIdentityDirectoryOrNull as x, resolveCurrentDaemonExpectedVersion as xa, resolveAgentProfilePrimaryAgentControllerReport as xi, createProfileByKind as xn, syncLocalAgentActivity as xo, createSpaceResultGuideError as xr, runDaemonSnapshot as xt, emitHumanReadSignalsTextProjection as y, resolveDaemonRuntimeContractCompatibility as ya, syncDeviceRuntimeStateProjection as yi, resolveDeviceTokenExpiresAt as yn, resolveSetupFollowUpCliEntryCommand as yo, createSpacePublicationSetGuideError as yr, runDaemonReinstall as yt, buildReplyReadinessGuidance as z, resolveOpenMeldProfile as za, buildDaemonRouteObservationPresentation as zi, assertNoRemovedCcSpaceAddressingSyntax as zn, runIfAgentActivityBindingGenerationIsCurrent as zo, formatDualViewGuideForDisplay as zr, readGatewayTextResponse as zt };
|
|
111011
|
+
export { runAgentsManage as $, setProfileDefaultView as $a, isCurrentCommandCheckScopeActive as $i, assessCliUpdate as $n, cliBinaryDeltaPatchSchema as $o, formatDaemonFailureContextText as $r, runSkillsUpdate as $t, parseEnvelope as A, resolveRuntimeContext as Aa, getAgentControllerPermissionModeDisplayMetadata as Ai, computeRetryDelayMs as An, readCodexSessionTitles as Ao, getCommandHintsFromContract as Ar, emitDaemonAgentOverview as At, resolveHumanControllerDisplayName as B, resolveOpenMeldProfile as Ba, buildDaemonRouteObservationPresentation as Bi, assertNoRemovedCcSpaceAddressingSyntax as Bn, runIfAgentActivityBindingGenerationIsCurrent as Bo, formatDualViewGuideForDisplay as Br, readGatewayTextResponse as Bt, toSpaceMetaUpsertInput as C, OPENMELD_VERSION as Ca, listAgentTargetStates as Ci, resolveCreateProfileKind as Cn, readDaemonServiceContract as Co, createSpaceSubcommandTargetGuideError as Cr, runDaemonStatusFlow as Ct, formatHumanReadTargetList as D, createPresenter as Da, resolveLocalRegistryAgentIdFromAgentControllerRef as Di, formatServiceParticipationReadinessLabel as Dn, buildAgentActivityEvent as Do, createStartAuthenticationGuideError as Dr, buildProfileWorkspacePresentation as Dt, buildHumanReplyContextSummary as E, renderHumanTextErrorCard as Ea, notifyDaemonRouteCatalogChanged as Ei, ensureAgentProfileRuntimeBinding as En, removeAgentActivityContextCache as Eo, createStartAgentIdentityGuideError as Er, runDaemonUninstall as Et, resolveOpenMeldProfileForSpaceCommand as F, createOpenMeldAgentProfile as Fa, resolveAgentExecutionStatus as Fi, resolveLocalAgentControllerBlockerReasonCodes as Fn, bindProject as Fo, registerDaemonControlTargetOptions as Fr, fetchSpaceUpdates as Ft, runAgentsCustomAdd as G, setSelectedOpenMeldProfileId as Ga, classifyDaemonServiceRunStartability as Gi, buildSpaceRoundReadProjection as Gn, readControllerTaskLifecycleOutboxHealth as Go, areAllowedActionsEquivalent as Gr, resolveDaemonServiceParticipationStatus as Gt, resolveAgentProfileSetup as H, alignSelectedOpenMeldProfileStorage as Ha, getSetupFlowCopy as Hi, buildDispatchResultReplyWorkflowProjection as Hn, unbindProject as Ho, formatAgentOverviewPayload as Hr, parseJsonResponse$1 as Ht, emitSpaceAgentOverview as I, createOpenMeldHumanProfile as Ia, resolveAgentProfileEditCapabilities as Ii, resolveLocalAgentControllerLaunchability as In, listProjectBindings as Io, registerAuthLoginRequestOptions as Ir, createCliSpaceApi as It, runAgentsCustomUpdate as J, createAuthenticationError as Ja, assessServerRequiredVersion as Ji, formatRemovedCcRelationMessage as Jn, sanitizeTerminalDisplayText as Jo, readOpenMeldToolsUpdateContextFromEnv as Jr, collectSkillsReadinessSnapshot as Jt, runAgentsCustomList as K, buildAgentAuthenticationGuide as Ka, classifyDaemonServiceWakeability as Ki, buildUpdatesReplyWorkflowProjection as Kn, renderInfoCard as Ko, buildAgentFacingPublicationModeGuideLines as Kr, runDaemonServiceParticipationGate as Kt, emitSpaceCliAgentOverview as L, deleteOpenMeldProfile as La, resolveEvidenceSyncHealth as Li, resolveLocalAgentControllerReportDecision as Ln, listProjectConnectionsWithStatus as Lo, registerBuiltinAgentSelectionOptions as Lr, fetchSpaceMeta as Lt, assertFullSignalIdArgument as M, isSelectedOpenMeldProfileRequiredError as Ma, listAgentControllerPermissionModeOptions as Mi, submitRuntimeAgentControllerReport as Mn, removeProjectInbox as Mo, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as Mr, shouldEmitAgentOverview as Mt, assertValidSpaceIdTarget as N, requireOpenMeldProfile as Na, parseAgentControllerRef as Ni, submitRuntimeAgentControllerReports as Nn, readAgentActivityOutboxHealth as No, registerSkillsTargetSelectionOptions as Nr, runDaemonStartupPreflight as Nt, resolveLinkAccessLabel as O, formatMessage as Oa, buildAgentControllerRef as Oi, resolveServiceParticipationReadiness as On, resolveObservedAgentActivityBinding as Oo, createUpgradeConfirmationGuideError as Or, buildProfileWorkspaceRows as Ot, prepareAuthenticatedSpaceCommandContext as P, resolveOpenMeldProfileOrNull as Pa, resolveAgentControllerPermissionModeForController as Pi, collectLocalAgentControllerInventory as Pn, removeProjectOutbox as Po, getCliVersionInfo as Pr, readDaemonStartFailureLogTailLines as Pt, runAgentsList as Q, getProfileDefaultView as Qa, getCurrentCommandCheckState as Qi, runInteractivePrompt as Qn, outLine as Qo, resolveDaemonDeviceId as Qr, runSkillsUninstall as Qt, prepareLocalAgentReadiness as R, listOpenMeldProfiles as Ra, resolveNativeAgentControllerPermissionModeForController as Ri, inspectSpaceCacheFile as Rn, migrateProjectBindingStore as Ro, buildAgentOverviewFromContract as Rr, updateSpaceMeta as Rt, loadSpaceSignalIndexOrNull as S, resolveCurrentDaemonExpectedVersion as Sa, resolveAgentProfilePrimaryAgentControllerReport as Si, createProfileByKind as Sn, syncLocalAgentActivity as So, createSpaceResultGuideError as Sr, runDaemonSnapshot as St, buildFormalSignalReadPayload as T, renderHumanErrorCard as Ta, listBuiltinAgentsRegistryEntries as Ti, promptTextEntry as Tn, readAgentActivityContextForPath as To, createSpaceUpdatesGuideError as Tr, runDaemonTeardownStrict as Tt, runAgents as U, clearSelectedOpenMeldProfileId as Ua, buildDaemonServiceTargetSpec as Ui, buildSignalIndex as Un, canonicalizeLocalProjectPath as Uo, OPENMELD_AGENT_MENTAL_MODEL_LINES as Ur, resolveLocalComponentsStatus as Ut, persistAgentTransportSelection as V, updateOpenMeldProfile as Va, buildOnboardingPlan as Vi, buildDispatchResultMessageReadProjection as Vn, setDefaultProjectConnection as Vo, buildDualViewGuideMessage as Vr, toStructuredGatewayFailure as Vt, runAgentsConfig as W, getSelectedOpenMeldProfileId as Wa, resolveDaemonServiceAlignmentDecision as Wi, buildSignalMessageReadProjection as Wn, enqueueControllerTaskLifecycleEventWhileLocked as Wo, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Wr, writeInstalledLocalComponentsSnapshot as Wt, runAgentsDisable as X, resolveAuthenticationGuidanceFromError as Xa, resolveAuthBaseUrl as Xi, promptSearchSelect as Xn, errLine as Xo, scheduleDaemonServiceUpdate as Xr, runSkillsEnsure as Xt, runAgentsDetect as Y, resolveAuthenticationGuidance as Ya, resolveOpenMeldEnvironmentTarget as Yi, promptSearchMultiselect as Yn, emitCliJsonEnvelope as Yo, runPendingDaemonServiceUpdate as Yr, runSkillsCheck as Yt, runAgentsEnable as Z, resolveAuthenticationGuidanceFromMessage as Za, finishCurrentCommandCheckScope as Zi, isReturnKeypress as Zn, outJsonLine as Zo, ensureDaemonRuntimePaths as Zr, runSkillsInstall as Zt, runSpaceWriteWithPasswordRetry as _, fetchLatestPackageInfo as _a, setOpenMeldManagedProfileWorkspace as _i, fetchAuthUserSnapshot as _n, formatOpenMeldCliLine as _o, createSpaceContractSetGuideError as _r, runDaemonCancel as _t, runSpaceDelete as a, readCurrentObservedDaemonRuntimeStatus as aa, formatHumanReplyReadinessReason as ai, buildCommandAuthenticationPromptMessage as an, registerAgentActivityRoute as ao, formatElapsedTime as ar, organizationJoinLinkErrorResponseSchema as as, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, resolveDaemonRuntimeContractCompatibility as ba, syncDeviceRuntimeStateProjection as bi, resolveDeviceTokenExpiresAt as bn, resolveSetupFollowUpCliEntryCommand as bo, createSpacePublicationSetGuideError as br, runDaemonReinstall as bt, runSpaceLeave as c, readDaemonServiceJobCrashExitCode as ca, resolveOpenClawLocalDiagnosticsValue as ci, runAuthLogin as cn, AGENT_ACTIVITY_INTEGRATION_OWNER as co, formatDaemonServiceMissingRecommendation as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, buildInstallSelfJsonPayload as da, resolveProfileWorkspaceRuntime as di, runAuthStatus as dn, readAgentActivityIntegrationStatus as do, createProfileActionGuideError as dr, resolveSpaceWebGatewayOrigin as dt, resetCurrentCommandCheckState as ea, resolveServiceReadinessFromServiceStatus as ei, ensureLocalSkills as en, LocalProjectConnectionError as eo, isCliUpdateCheckApplicable as er, cliJsonOutputEnvelopeSchema as es, runAgentsRepair as et, runSpaceSend as f, performManagedInstall as fa, ensureOpenMeldManagedProfileWorkspace as fi, exchangeOneTimeTokenAuthSession as fn, resolveAgentActivityDispatcherCommand as fo, createProfileCreateGuideError as fr, resolveSpaceSendText as ft, runSpaceReadWithPasswordRetry as g, fetchLatestCliBinaryRelease as ga, setCustomProfileWorkspace as gi, extractAuthApiErrorMessage as gn, formatOpenMeldCliCommands as go, createSpaceAliasTargetGuideError as gr, runDaemonBackgroundStartForDecision as gt, uploadPreparedSpaceFiles as h, ensureVersionStateReady as ha, resolveConfiguredProfileWorkspacePath as hi, formatActiveOrganizationLabel as hn, formatOpenMeldCliCommand as ho, createSpaceAddMembersGuideError as hr, runDaemonAutostart as ht, runSpaceCreate as i, readCurrentDaemonRuntimeContext as ia, formatDeviceReplyReadinessLabel as ii, connectWebSocket as in, isAgentActivityRouteRegistered as io, writeDispatchSpaceActionRecord as ir, getOrganizationJoinLinkResponseSchema as is, colorizeDisplayProfileLabel as it, isSpaceCommandOutputHandledError as j, resolveViewProfileKey as ja, getAgentControllerPermissionModeFieldLabel as ji, submitProfileRuntimeAgentControllerReport as jn, enqueueAgentActivityHookEvent as jo, registerSpaceMemberSelectionOptions as jr, createDelayedSpinner as jt, resolveOrganizationVisibilityLabel as k, parseCliViewMode as ka, createAgentExecutionStatusDisplayRows as ki, assessActionParticipationCandidate as kn, normalizeSharedSessionTitle as ko, getCommandEntryContract as kr, reconcileCliVersionView as kt, runSpaceList as l, resolveDaemonServiceManager as la, syncProfileWorkspaceState as li, runAuthLogout as ln, defaultManagedIntegrationPaths as lo, canUseInteractivePrompts as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, compareSemver as ma, readProfileWorkspaceConfig as mi, buildAuthStatusSnapshot as mn, formatInlineOpenMeldCliCommands as mo, createResetConfirmationGuideError as mr, runDaemon as mt, promptAndConfirmSpacePassword as n, inspectDaemonServiceInventory as na, resolveCurrentReplyReadinessSnapshot as ni, readRuntimeReportingHealthState as nn, LocalDaemonControlPlaneClientError as no, readDispatchOwnedRuntimeGuard as nr, cliJsonSkillsLoadEnvelopeSchema as ns, formatTransportModeDisplay as nt, runSpaceHistory as o, getDaemonSystemServiceLogPath as oa, mapAgentReplyReadinessToLegacyAutoReply as oi, ensureCommandAuthenticationOrCancel as on, resolveAgentActivityRouteForPath as oo, resolveElapsedTimeMs as or, revokeOrganizationJoinLinkResponseSchema as os, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, buildNextVersionState as pa, normalizeCustomProfileWorkspacePath as pi, buildAuthStatusRows as pn, uninstallAgentActivityIntegrations as po, createProfileMenuGuideError as pr, bestEffortStopCurrentLaneDaemonService as pt, runAgentsCustomRemove as q, buildHumanAuthenticationCard as qa, resolveServiceUpdateUrgency as qi, createSpaceMemberIdentityIndex as qn, renderTextInfoCard as qo, canonicalizeAllowedActions as qr, runDaemonStartDecisionPrompt as qt, runSpaceAddMembers as r, resolveVersionChangeDirection as ra, formatAgentReplyReadinessLabel as ri, readRecentDaemonDispatchJournalEvents as rn, requestLocalAgentActivitySync as ro, readDispatchSpaceActionContextFromEnv as rr, cliJsonSkillsShowEnvelopeSchema as rs, colorizeAgentLabel as rt, runSpaceJoin as s, isDaemonServiceJobNeverSpawned as sa, resolveGatewayChainReadiness as si, evaluateCommandAuthentication as sn, unregisterAgentActivityRoute as so, formatDaemonServiceDowngradeBlockedRecommendation as sr, compareAgentControllerRefsForDisplay as ss, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, startCurrentCommandCheckScope as ta, resolveDaemonServiceFreshnessWarning as ti, readBundledOpenMeldCliSkillDocumentByPath as tn, validateLocalProjectConnectionPath as to, assertDispatchOwnedRuntimePublicWriteAllowed as tr, cliJsonSkillsListEnvelopeSchema as ts, runAgentsShow as tt, runSpacePassword as u, readRecentDaemonLifecycleEvents as ua, createModelCatalogReadSession as ui, runAuthMenu as un, installAgentActivityIntegrations as uo, createDoctorFailedGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, readVersionState as va, validateCustomProfileWorkspacePath as vi, requestDeviceToken as vn, formatOpenMeldCliTextBlock as vo, createSpaceLeaveGuideError as vr, runDaemonInstall as vt, buildFormalDispatchResultReadPayload as w, buildHumanErrorCopy as wa, reconcileNewRunnableBuiltinAgentsForSetup as wi, resolveCreateProfileName as wn, upsertDaemonServiceContract as wo, createSpaceTargetGuideError as wr, runDaemonStop as wt, loadSpaceIdentityDirectoryOrNull as x, toStartBackgroundHelperExecutionCompatibility as xa, createPrimaryBindingReadSession as xi, revokeAuthAccessToken as xn, resolveUserFacingCliEntryCommand as xo, createSpaceRemoveMembersGuideError as xr, runDaemonRunAfterEntryChecks as xt, emitHumanReadSignalsTextProjection as y, writeVersionState as ya, describeProfileWorkspacePathValidationFailure as yi, resolveDeviceAuthClientId as yn, formatProfileAwareOpenMeldCliCommands as yo, createSpaceMenuGuideError as yr, runDaemonInterrupt as yt, buildReplyReadinessGuidance as z, primeOpenMeldProfilesSessionCache as za, PREPARE_SESSION_RECONNECT_GRACE_MS as zi, upsertSpaceConfig as zn, removeProjectConnection as zo, DualViewGuideError as zr, readGatewayJsonResponse as zt };
|
|
110860
111012
|
|
|
110861
|
-
//# sourceMappingURL=command-
|
|
111013
|
+
//# sourceMappingURL=command-CU_3raCS.js.map
|