openmeld 0.3.146 → 0.3.148
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-qgbz9HyG.js → add-me-membership-BdAJFX9k.js} +2 -2
- package/dist/{add-me-membership-qgbz9HyG.js.map → add-me-membership-BdAJFX9k.js.map} +1 -1
- package/dist/{api-client-foundation-BXB-m4ub.js → api-client-foundation-B0g0S0Nx.js} +3 -3
- package/dist/{api-client-foundation-BXB-m4ub.js.map → api-client-foundation-B0g0S0Nx.js.map} +1 -1
- package/dist/{auth-session-BFa5tO5y.js → auth-session-DritlM-R.js} +2 -2
- package/dist/{auth-session-BFa5tO5y.js.map → auth-session-DritlM-R.js.map} +1 -1
- package/dist/{command-DH6wJoZy.js → command-DlRJuAak.js} +123 -20
- package/dist/{command-DH6wJoZy.js.map → command-DlRJuAak.js.map} +1 -1
- package/dist/{dist-Cl9HGiaA.js → dist-C3dsm2wz.js} +63 -3
- package/dist/dist-C3dsm2wz.js.map +1 -0
- package/dist/openmeld.js +383 -127
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-QslOj6uZ.js → runtime-transport-CpOPxSfO.js} +13 -1
- package/dist/runtime-transport-CpOPxSfO.js.map +1 -0
- package/package.json +1 -1
- package/skills/openmeld-cli/SKILL.md +27 -2
- package/skills/openmeld-cli/playbooks/space-ops.md +32 -3
- package/skills/openmeld-cli/references/commands.md +21 -0
- package/dist/dist-Cl9HGiaA.js.map +0 -1
- package/dist/runtime-transport-QslOj6uZ.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
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
|
|
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-
|
|
4
|
+
import { $ as submitAgentControllerTaskLifecycleEventItemSchema, $t as spaceMemberDirectoryAllowedRelationsSchema, A as MAX_TEXT_LENGTH, At as submitFeedbackIssueRequestSchema, B as toErrorMessage$44, Bt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, C as createSpaceApi, Cn as agentControllerCollaborationModeSchema, 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 spaceMemberAgentWakeAvailabilitySchema, R as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Rt as updateCenterAgentRoutineResponseSchema, S as createRuntimeReportingApi, Sn as agentControllerPermissionModeSchema, 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, at as gatewayErrorEnvelopeSchema, bt as organizationSkillSummarySchema, c as createAgentProfileBindingApi, cn as observedLocalAgentSessionSchema, ct as computerFileAccessDaemonFrameSchema, d as createCurrentDeviceApi, dn as listProjectsResponseSchema, dt as modelCatalogSchema, en as spaceMemberDirectoryEntrySchema, fn as projectSchema, ft as organizationSpaceDirectoryWithMemberCountsResponseSchema, g as createOrganizationApi, gt as getOrganizationSkillResponseSchema, h as createOpenMeldApiClient, hn as openCodePermissionConfigSchema, ht as spaceMetaSchema, i as buildProfileSpaceHistoryUpsertPath, j as parseEnvelope$1, jt as submitFeedbackIssueResponseSchema, kt as organizationComputersResponseSchema, ln as archiveProjectResponseSchema, lt as computerFileAccessPolicyInputSchema, m as createLocalRuntimeExpectedRoutesApi, mn as centerAgentToolSpeakerSchema, mt as spaceCreatorSchema, n as OpenMeldApiClientInvalidResponseError, nn as spaceMemberKindSchema, o as createAccountSpaceIndexApi, on as agentActivitySessionInventoryResponseSchema, ot as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, p as createFetchTransport, pn as updateProjectResponseSchema, pt as resolveInitialSpaceAccessMode, qt as localProjectControlDaemonFrameSchema, r as buildProfileSpaceHistoryStatusPath, s as createAgentActivityApi, st as OPENMELD_RUNTIME_CAPABILITIES_HEADER, t as OpenMeldApiClientHttpError, tn as spaceMemberDirectorySchema, un as createProjectResponseSchema, ut as computerFileAccessPolicySchema, wn as toCompatibleSpaceAddressingRequestWireValue, wt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, y as createProfileSpaceHistoryApi, yt as organizationSkillReleaseSummarySchema } from "./dist-C3dsm2wz.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-CpOPxSfO.js";
|
|
6
6
|
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-CRyDcIIf.js";
|
|
7
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-
|
|
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-
|
|
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-DritlM-R.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-B0g0S0Nx.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";
|
|
@@ -506,6 +506,25 @@ const cliJsonRoutinesResumeEnvelopeSchema = defineStrictSuccessEnvelope("routine
|
|
|
506
506
|
const cliJsonRoutinesDeleteEnvelopeSchema = defineStrictSuccessEnvelope("routines.delete", deleteCenterAgentRoutineResponseSchema.shape);
|
|
507
507
|
const cliJsonRoutinesRunsEnvelopeSchema = defineStrictSuccessEnvelope("routines.runs", listCenterAgentRoutineRunsResponseSchema.shape);
|
|
508
508
|
const cliJsonSpaceMembersEnvelopeSchema = defineStrictSuccessEnvelope("space.members", spaceMemberDirectorySchema.shape);
|
|
509
|
+
const cliJsonSpaceMembersBriefEnvelopeSchema = defineStrictSuccessEnvelope("space.members.brief", {
|
|
510
|
+
spaceId: z$1.string().trim().min(1),
|
|
511
|
+
generatedAt: z$1.iso.datetime({ offset: true }),
|
|
512
|
+
members: z$1.array(z$1.strictObject({
|
|
513
|
+
profileId: z$1.string().trim().min(1),
|
|
514
|
+
displayName: z$1.string().trim().min(1),
|
|
515
|
+
profileKind: spaceMemberKindSchema,
|
|
516
|
+
primaryMentionLabel: z$1.string().trim().min(1),
|
|
517
|
+
allowedRelations: spaceMemberDirectoryAllowedRelationsSchema,
|
|
518
|
+
wakeAvailability: spaceMemberAgentWakeAvailabilitySchema.pick({
|
|
519
|
+
action: true,
|
|
520
|
+
phase: true,
|
|
521
|
+
reasonCode: true,
|
|
522
|
+
status: true,
|
|
523
|
+
summary: true
|
|
524
|
+
}).optional(),
|
|
525
|
+
canWakeNow: z$1.boolean().optional()
|
|
526
|
+
}))
|
|
527
|
+
});
|
|
509
528
|
const cliJsonSpaceListOrganizationEnvelopeSchema = defineStrictSuccessEnvelope("space.list.organization", {
|
|
510
529
|
scope: z$1.literal("organization"),
|
|
511
530
|
organizationId: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.organizationId,
|
|
@@ -578,6 +597,7 @@ const cliJsonOutputEnvelopeSchema = z$1.discriminatedUnion("type", [
|
|
|
578
597
|
cliJsonRoutinesDeleteEnvelopeSchema,
|
|
579
598
|
cliJsonRoutinesRunsEnvelopeSchema,
|
|
580
599
|
cliJsonSpaceMembersEnvelopeSchema,
|
|
600
|
+
cliJsonSpaceMembersBriefEnvelopeSchema,
|
|
581
601
|
cliJsonSpaceListOrganizationEnvelopeSchema,
|
|
582
602
|
cliJsonOrganizationDirectoryEnvelopeSchema,
|
|
583
603
|
cliJsonOrganizationComputersEnvelopeSchema,
|
|
@@ -18554,7 +18574,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
18554
18574
|
};
|
|
18555
18575
|
}
|
|
18556
18576
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
18557
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
18577
|
+
const { getAuthSessionMetadata } = await import("./auth-session-DritlM-R.js").then((n) => n.i);
|
|
18558
18578
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
18559
18579
|
}
|
|
18560
18580
|
function resolveHostKey(baseUrl) {
|
|
@@ -20096,7 +20116,7 @@ function splitSentences(message) {
|
|
|
20096
20116
|
var package_default = {
|
|
20097
20117
|
$schema: "https://www.schemastore.org/package.json",
|
|
20098
20118
|
name: "openmeld",
|
|
20099
|
-
version: "0.3.
|
|
20119
|
+
version: "0.3.148",
|
|
20100
20120
|
openMeldReleaseDate: "2026-09-02",
|
|
20101
20121
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
20102
20122
|
license: "MIT",
|
|
@@ -33806,7 +33826,9 @@ function createInflightTaskControlRegistry() {
|
|
|
33806
33826
|
const LOCAL_EXECUTION_LANE_CONCURRENCY_LIMIT = 1;
|
|
33807
33827
|
function createLocalExecutionSlots(input) {
|
|
33808
33828
|
const pendingTasks = [];
|
|
33829
|
+
const activeCountByAdapterId = /* @__PURE__ */ new Map();
|
|
33809
33830
|
const activeCountByLaneKey = /* @__PURE__ */ new Map();
|
|
33831
|
+
const adapterOperationIds = /* @__PURE__ */ new Set();
|
|
33810
33832
|
const ownedAttemptKeys = /* @__PURE__ */ new Set();
|
|
33811
33833
|
const ownedTaskIds = /* @__PURE__ */ new Map();
|
|
33812
33834
|
const drainWaiters = [];
|
|
@@ -33815,6 +33837,11 @@ function createLocalExecutionSlots(input) {
|
|
|
33815
33837
|
const resolveActiveForLane = (localExecutionLaneKey) => {
|
|
33816
33838
|
return activeCountByLaneKey.get(localExecutionLaneKey) ?? 0;
|
|
33817
33839
|
};
|
|
33840
|
+
const resolveAdapterOperationStatus = (adapterId) => {
|
|
33841
|
+
if (adapterOperationIds.has(adapterId)) return "operation_in_progress";
|
|
33842
|
+
if ((activeCountByAdapterId.get(adapterId) ?? 0) > 0 || pendingTasks.some((candidate) => candidate.task.adapterId === adapterId)) return "blocked_by_work";
|
|
33843
|
+
return "available";
|
|
33844
|
+
};
|
|
33818
33845
|
const buildSnapshot = (localExecutionLaneKey) => {
|
|
33819
33846
|
return {
|
|
33820
33847
|
activeForLane: resolveActiveForLane(localExecutionLaneKey),
|
|
@@ -33824,12 +33851,16 @@ function createLocalExecutionSlots(input) {
|
|
|
33824
33851
|
};
|
|
33825
33852
|
};
|
|
33826
33853
|
const resolveWaitReason = (inputWait) => {
|
|
33854
|
+
if (inputWait.adapterId && adapterOperationIds.has(inputWait.adapterId)) return "agent_controller_maintenance";
|
|
33827
33855
|
if (activeGlobal >= input.limits.globalConcurrency) return "global_concurrency";
|
|
33828
33856
|
if (resolveActiveForLane(inputWait.localExecutionLaneKey) >= LOCAL_EXECUTION_LANE_CONCURRENCY_LIMIT) return "local_execution_lane_concurrency";
|
|
33829
33857
|
return "none";
|
|
33830
33858
|
};
|
|
33831
33859
|
const buildLocalQueueDiagnostics = (inputDiagnostics) => {
|
|
33832
|
-
const waitReason = inputDiagnostics.waitReason ?? resolveWaitReason({
|
|
33860
|
+
const waitReason = inputDiagnostics.waitReason ?? resolveWaitReason({
|
|
33861
|
+
adapterId: inputDiagnostics.adapterId,
|
|
33862
|
+
localExecutionLaneKey: inputDiagnostics.localExecutionLaneKey
|
|
33863
|
+
});
|
|
33833
33864
|
const status = inputDiagnostics.status ?? (waitReason === "none" ? "starting_runtime" : "queued");
|
|
33834
33865
|
return {
|
|
33835
33866
|
...buildSnapshot(inputDiagnostics.localExecutionLaneKey),
|
|
@@ -33846,6 +33877,7 @@ function createLocalExecutionSlots(input) {
|
|
|
33846
33877
|
dispatchId: task.dispatchId,
|
|
33847
33878
|
localExecutionLaneKey: task.localExecutionLaneKey,
|
|
33848
33879
|
localQueue: buildLocalQueueDiagnostics({
|
|
33880
|
+
adapterId: task.adapterId,
|
|
33849
33881
|
localExecutionLaneKey: task.localExecutionLaneKey,
|
|
33850
33882
|
queuePosition: inputEvent.queuePosition,
|
|
33851
33883
|
status: inputEvent.status,
|
|
@@ -33878,13 +33910,13 @@ function createLocalExecutionSlots(input) {
|
|
|
33878
33910
|
if (activeOwner && activeOwner.attemptId === task.attemptId && activeOwner.dispatchId === task.dispatchId) ownedTaskIds.delete(task.taskId);
|
|
33879
33911
|
};
|
|
33880
33912
|
const notifyDrainWaitersIfIdle = () => {
|
|
33881
|
-
if (pendingTasks.length > 0 || activeGlobal > 0) return;
|
|
33913
|
+
if (pendingTasks.length > 0 || activeGlobal > 0 || adapterOperationIds.size > 0) return;
|
|
33882
33914
|
while (drainWaiters.length > 0) drainWaiters.shift()?.();
|
|
33883
33915
|
};
|
|
33884
33916
|
const pump = () => {
|
|
33885
33917
|
while (activeGlobal < input.limits.globalConcurrency) {
|
|
33886
33918
|
const nextTaskIndex = pendingTasks.findIndex((candidate) => {
|
|
33887
|
-
return resolveActiveForLane(candidate.task.localExecutionLaneKey) < LOCAL_EXECUTION_LANE_CONCURRENCY_LIMIT;
|
|
33919
|
+
return !(candidate.task.adapterId && adapterOperationIds.has(candidate.task.adapterId)) && resolveActiveForLane(candidate.task.localExecutionLaneKey) < LOCAL_EXECUTION_LANE_CONCURRENCY_LIMIT;
|
|
33888
33920
|
});
|
|
33889
33921
|
if (nextTaskIndex < 0) break;
|
|
33890
33922
|
const selectedPendingTask = pendingTasks.splice(nextTaskIndex, 1)[0];
|
|
@@ -33892,6 +33924,7 @@ function createLocalExecutionSlots(input) {
|
|
|
33892
33924
|
clearQueuedLifecycle(selectedPendingTask);
|
|
33893
33925
|
const selectedTask = selectedPendingTask.task;
|
|
33894
33926
|
activeGlobal += 1;
|
|
33927
|
+
if (selectedTask.adapterId) activeCountByAdapterId.set(selectedTask.adapterId, (activeCountByAdapterId.get(selectedTask.adapterId) ?? 0) + 1);
|
|
33895
33928
|
activeCountByLaneKey.set(selectedTask.localExecutionLaneKey, resolveActiveForLane(selectedTask.localExecutionLaneKey) + 1);
|
|
33896
33929
|
const startedEvent = buildTaskLifecycleEvent(selectedTask, {
|
|
33897
33930
|
queuePosition: null,
|
|
@@ -33928,6 +33961,11 @@ function createLocalExecutionSlots(input) {
|
|
|
33928
33961
|
}).finally(() => {
|
|
33929
33962
|
releaseTaskOwnership(selectedTask);
|
|
33930
33963
|
activeGlobal = Math.max(0, activeGlobal - 1);
|
|
33964
|
+
if (selectedTask.adapterId) {
|
|
33965
|
+
const remainingActiveForAdapter = Math.max(0, (activeCountByAdapterId.get(selectedTask.adapterId) ?? 0) - 1);
|
|
33966
|
+
if (remainingActiveForAdapter === 0) activeCountByAdapterId.delete(selectedTask.adapterId);
|
|
33967
|
+
else activeCountByAdapterId.set(selectedTask.adapterId, remainingActiveForAdapter);
|
|
33968
|
+
}
|
|
33931
33969
|
const remainingActiveForLane = Math.max(0, resolveActiveForLane(selectedTask.localExecutionLaneKey) - 1);
|
|
33932
33970
|
if (remainingActiveForLane === 0) activeCountByLaneKey.delete(selectedTask.localExecutionLaneKey);
|
|
33933
33971
|
else activeCountByLaneKey.set(selectedTask.localExecutionLaneKey, remainingActiveForLane);
|
|
@@ -33937,6 +33975,27 @@ function createLocalExecutionSlots(input) {
|
|
|
33937
33975
|
}
|
|
33938
33976
|
};
|
|
33939
33977
|
return {
|
|
33978
|
+
getAdapterOperationStatus(adapterId) {
|
|
33979
|
+
return resolveAdapterOperationStatus(adapterId);
|
|
33980
|
+
},
|
|
33981
|
+
async runAdapterOperationIfIdle(adapterId, operation) {
|
|
33982
|
+
const status = resolveAdapterOperationStatus(adapterId);
|
|
33983
|
+
if (status !== "available") return {
|
|
33984
|
+
accepted: false,
|
|
33985
|
+
status
|
|
33986
|
+
};
|
|
33987
|
+
adapterOperationIds.add(adapterId);
|
|
33988
|
+
try {
|
|
33989
|
+
return {
|
|
33990
|
+
accepted: true,
|
|
33991
|
+
value: await operation()
|
|
33992
|
+
};
|
|
33993
|
+
} finally {
|
|
33994
|
+
adapterOperationIds.delete(adapterId);
|
|
33995
|
+
notifyDrainWaitersIfIdle();
|
|
33996
|
+
pump();
|
|
33997
|
+
}
|
|
33998
|
+
},
|
|
33940
33999
|
request(task) {
|
|
33941
34000
|
const attemptKey = buildAttemptKey(task.dispatchId, task.attemptId);
|
|
33942
34001
|
if (ownedAttemptKeys.has(attemptKey)) return {
|
|
@@ -34018,7 +34077,7 @@ function createLocalExecutionSlots(input) {
|
|
|
34018
34077
|
return { droppedCount };
|
|
34019
34078
|
},
|
|
34020
34079
|
drain() {
|
|
34021
|
-
if (pendingTasks.length === 0 && activeGlobal === 0) return Promise.resolve();
|
|
34080
|
+
if (pendingTasks.length === 0 && activeGlobal === 0 && adapterOperationIds.size === 0) return Promise.resolve();
|
|
34022
34081
|
return new Promise((resolve) => {
|
|
34023
34082
|
drainWaiters.push(resolve);
|
|
34024
34083
|
});
|
|
@@ -39469,9 +39528,9 @@ function createModelCatalogReadSession(input) {
|
|
|
39469
39528
|
async function readModelCatalogOnce(baseUrl) {
|
|
39470
39529
|
try {
|
|
39471
39530
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
39472
|
-
import("./dist-
|
|
39531
|
+
import("./dist-C3dsm2wz.js").then((n) => n.w),
|
|
39473
39532
|
import("./base-url-CY_j4bLH.js").then((n) => n.n),
|
|
39474
|
-
import("./api-client-foundation-
|
|
39533
|
+
import("./api-client-foundation-B0g0S0Nx.js").then((n) => n.t)
|
|
39475
39534
|
]);
|
|
39476
39535
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
39477
39536
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -67516,6 +67575,7 @@ function resolveDaemonCapabilities(input) {
|
|
|
67516
67575
|
forkSession: true,
|
|
67517
67576
|
interrupt: true,
|
|
67518
67577
|
manageInstallations: true,
|
|
67578
|
+
manageInstallationsSafely: true,
|
|
67519
67579
|
refreshCatalog: true,
|
|
67520
67580
|
resumeControllerConversation: true,
|
|
67521
67581
|
setEnabled: true,
|
|
@@ -75969,7 +76029,16 @@ async function runDaemonSocketSession(input) {
|
|
|
75969
76029
|
};
|
|
75970
76030
|
const applyLocalAgentControlManageInstallation = async (controlInput) => {
|
|
75971
76031
|
try {
|
|
75972
|
-
|
|
76032
|
+
let result;
|
|
76033
|
+
if (controlInput.operation === "select") {
|
|
76034
|
+
const guardedResult = await localExecutionSlots.runAdapterOperationIfIdle(controlInput.agentId, () => manageAgentRegistrationInstallation(controlInput));
|
|
76035
|
+
if (!guardedResult.accepted) {
|
|
76036
|
+
if (guardedResult.status === "operation_in_progress") throw new Error("agents.installation_change_in_progress: this installation is already being changed; check again in a moment");
|
|
76037
|
+
throw new Error("agents.installation_change_blocked_by_work: this agent has work in progress; wait until it finishes before changing installations");
|
|
76038
|
+
}
|
|
76039
|
+
result = guardedResult.value;
|
|
76040
|
+
} else result = await manageAgentRegistrationInstallation(controlInput);
|
|
76041
|
+
const selectionStatus = localExecutionSlots.getAdapterOperationStatus(controlInput.agentId);
|
|
75973
76042
|
let reportSyncStatus = "skipped";
|
|
75974
76043
|
if (result.changed) {
|
|
75975
76044
|
try {
|
|
@@ -75998,6 +76067,7 @@ async function runDaemonSocketSession(input) {
|
|
|
75998
76067
|
installationCount: result.installations.length,
|
|
75999
76068
|
operation: controlInput.operation,
|
|
76000
76069
|
reportSyncStatus,
|
|
76070
|
+
selectionStatus,
|
|
76001
76071
|
selectedInstallationId: result.selectedInstallationId
|
|
76002
76072
|
}
|
|
76003
76073
|
});
|
|
@@ -76008,6 +76078,7 @@ async function runDaemonSocketSession(input) {
|
|
|
76008
76078
|
changed: result.changed,
|
|
76009
76079
|
installations: result.installations,
|
|
76010
76080
|
reportSyncStatus,
|
|
76081
|
+
selectionStatus,
|
|
76011
76082
|
selectedInstallationId: result.selectedInstallationId,
|
|
76012
76083
|
status: result.status
|
|
76013
76084
|
};
|
|
@@ -103937,6 +104008,8 @@ async function runReadonlyPiTuiSession(input) {
|
|
|
103937
104008
|
}
|
|
103938
104009
|
//#endregion
|
|
103939
104010
|
//#region src/space/history.ts
|
|
104011
|
+
const SPACE_HISTORY_BRIEF_TEXT_MAX_CHARACTERS = 1200;
|
|
104012
|
+
const SPACE_HISTORY_BRIEF_TRUNCATION_MARKER = "…";
|
|
103940
104013
|
async function runTail(input) {
|
|
103941
104014
|
if (!Number.isInteger(input.limit) || input.limit < 0) throw new Error("limit must be a non-negative integer");
|
|
103942
104015
|
const runtime = await resolveRuntimeContext({
|
|
@@ -104234,10 +104307,13 @@ function buildSpaceHistoryBriefPayload(input) {
|
|
|
104234
104307
|
checkedBy: "space.history",
|
|
104235
104308
|
note: "This command proves readable conversation access for the acting profile. It does not prove Wake execution success."
|
|
104236
104309
|
},
|
|
104310
|
+
briefTextMaxCharacters: SPACE_HISTORY_BRIEF_TEXT_MAX_CHARACTERS,
|
|
104237
104311
|
messages: input.events.map((event) => buildSpaceHistoryBriefMessage({
|
|
104238
104312
|
event,
|
|
104239
104313
|
identityDirectory: input.identityDirectory,
|
|
104314
|
+
profileId: input.openMeldProfile.openMeldProfileId,
|
|
104240
104315
|
signalIndex: input.signalIndex,
|
|
104316
|
+
spaceId: input.spaceId,
|
|
104241
104317
|
thread: input.threadByRootSignalId.get(event.id) ?? null
|
|
104242
104318
|
})),
|
|
104243
104319
|
...buildThreadNextCommandsField({
|
|
@@ -104257,6 +104333,7 @@ function buildSpaceHistoryBriefMessage(input) {
|
|
|
104257
104333
|
identityDirectory: input.identityDirectory,
|
|
104258
104334
|
signalIndex: input.signalIndex
|
|
104259
104335
|
}) : null;
|
|
104336
|
+
const briefText = buildBriefMessageText(messageReadProjection?.text ?? null);
|
|
104260
104337
|
return {
|
|
104261
104338
|
signalId: input.event.id,
|
|
104262
104339
|
timestamp: input.event.ts,
|
|
@@ -104266,13 +104343,39 @@ function buildSpaceHistoryBriefMessage(input) {
|
|
|
104266
104343
|
profileName: input.event.profile?.profileName ?? null,
|
|
104267
104344
|
profileKind: input.event.profile?.kind ?? null
|
|
104268
104345
|
},
|
|
104269
|
-
text:
|
|
104270
|
-
|
|
104271
|
-
|
|
104272
|
-
|
|
104273
|
-
|
|
104274
|
-
|
|
104346
|
+
text: briefText.text,
|
|
104347
|
+
textOriginalCharacters: briefText.originalCharacters,
|
|
104348
|
+
textTruncated: briefText.truncated,
|
|
104349
|
+
...briefText.truncated ? { fullTextCommand: formatOpenMeldCliCommand(`openmeld space history ${input.spaceId} --around-signal ${input.event.id} --before 0 --after 0 --kind ${toHistoryKindOption(input.event.type)} --profile ${input.profileId} --view agent`) } : {},
|
|
104350
|
+
...messageReadProjection?.replyToSignalId ? { replyTo: messageReadProjection.replyToSignalId } : {},
|
|
104351
|
+
...messageReadProjection?.wakeTargets.length ? { wakeTargets: messageReadProjection.wakeTargets } : {},
|
|
104352
|
+
...messageReadProjection?.referenceTargets.length ? { referenceTargets: messageReadProjection.referenceTargets } : {},
|
|
104353
|
+
...messageReadProjection?.mentionTargets.length ? { mentionTargets: messageReadProjection.mentionTargets } : {},
|
|
104354
|
+
...input.thread ? { thread: input.thread } : {}
|
|
104355
|
+
};
|
|
104356
|
+
}
|
|
104357
|
+
function buildBriefMessageText(text) {
|
|
104358
|
+
if (text === null) return {
|
|
104359
|
+
originalCharacters: null,
|
|
104360
|
+
text: null,
|
|
104361
|
+
truncated: false
|
|
104362
|
+
};
|
|
104363
|
+
const characters = [...text];
|
|
104364
|
+
if (characters.length <= 1200) return {
|
|
104365
|
+
originalCharacters: characters.length,
|
|
104366
|
+
text,
|
|
104367
|
+
truncated: false
|
|
104275
104368
|
};
|
|
104369
|
+
return {
|
|
104370
|
+
originalCharacters: characters.length,
|
|
104371
|
+
text: `${characters.slice(0, SPACE_HISTORY_BRIEF_TEXT_MAX_CHARACTERS - 1).join("").trimEnd()}${SPACE_HISTORY_BRIEF_TRUNCATION_MARKER}`,
|
|
104372
|
+
truncated: true
|
|
104373
|
+
};
|
|
104374
|
+
}
|
|
104375
|
+
function toHistoryKindOption(signalType) {
|
|
104376
|
+
if (signalType === "signal.status") return "status";
|
|
104377
|
+
if (signalType === "signal.system_notice") return "system_notice";
|
|
104378
|
+
return "text";
|
|
104276
104379
|
}
|
|
104277
104380
|
function isMessageSemanticSignal(signal) {
|
|
104278
104381
|
return signal.type === "signal.text" || signal.type === "signal.status" || signal.type === "signal.system_notice";
|
|
@@ -111230,4 +111333,4 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
111230
111333
|
//#endregion
|
|
111231
111334
|
export { runAgentsManage as $, resolveAuthenticationGuidanceFromMessage as $a, getCurrentCommandCheckState as $i, assessCliUpdate as $n, outJsonLine as $o, resolveDaemonDeviceId as $r, runSkillsUpdate as $t, parseEnvelope as A, formatMessage as Aa, createAgentExecutionStatusDisplayRows as Ai, computeRetryDelayMs as An, resolveObservedAgentActivityBinding as Ao, getCommandHintsFromContract as Ar, emitDaemonAgentOverview as At, resolveHumanControllerDisplayName as B, listOpenMeldProfiles as Ba, PREPARE_SESSION_RECONNECT_GRACE_MS as Bi, assertNoRemovedCcSpaceAddressingSyntax as Bn, migrateProjectBindingStore as Bo, formatDualViewGuideForDisplay as Br, readGatewayTextResponse as Bt, toSpaceMetaUpsertInput as C, toStartBackgroundHelperExecutionCompatibility as Ca, resolveAgentProfilePrimaryAgentControllerReport as Ci, resolveCreateProfileKind as Cn, resolveUserFacingCliEntryCommand as Co, createSpaceSubcommandTargetGuideError as Cr, runDaemonStatusFlow as Ct, formatHumanReadTargetList as D, renderHumanErrorCard as Da, notifyDaemonRouteCatalogChanged as Di, formatServiceParticipationReadinessLabel as Dn, readAgentActivityContextForPath as Do, createStartAuthenticationGuideError as Dr, buildProfileWorkspacePresentation as Dt, buildHumanReplyContextSummary as E, buildHumanErrorCopy as Ea, listBuiltinAgentsRegistryEntries as Ei, ensureAgentProfileRuntimeBinding as En, upsertDaemonServiceContract as Eo, createStartAgentIdentityGuideError as Er, runDaemonUninstall as Et, resolveOpenMeldProfileForSpaceCommand as F, requireOpenMeldProfile as Fa, resolveAgentControllerPermissionModeForController as Fi, resolveLocalAgentControllerBlockerReasonCodes as Fn, readAgentActivityOutboxHealth as Fo, registerDaemonControlTargetOptions as Fr, fetchSpaceUpdates as Ft, runAgentsCustomAdd as G, clearSelectedOpenMeldProfileId as Ga, resolveDaemonServiceAlignmentDecision as Gi, buildSpaceRoundReadProjection as Gn, canonicalizeLocalProjectPath as Go, areAllowedActionsEquivalent as Gr, resolveDaemonServiceParticipationStatus as Gt, resolveAgentProfileSetup as H, resolveOpenMeldProfile as Ha, buildOnboardingPlan as Hi, buildDispatchResultReplyWorkflowProjection as Hn, runIfAgentActivityBindingGenerationIsCurrent as Ho, formatAgentOverviewPayload as Hr, parseJsonResponse$1 as Ht, emitSpaceAgentOverview as I, resolveOpenMeldProfileOrNull as Ia, resolveAgentExecutionStatus as Ii, resolveLocalAgentControllerLaunchability as In, removeProjectOutbox as Io, registerAuthLoginRequestOptions as Ir, createCliSpaceApi as It, runAgentsCustomUpdate as J, buildAgentAuthenticationGuide as Ja, resolveServiceUpdateUrgency as Ji, formatRemovedCcRelationMessage as Jn, renderInfoCard as Jo, readPendingOpenMeldToolsUpdateAttempt as Jr, collectSkillsReadinessSnapshot as Jt, runAgentsCustomList as K, getSelectedOpenMeldProfileId as Ka, classifyDaemonServiceRunStartability as Ki, buildUpdatesReplyWorkflowProjection as Kn, enqueueControllerTaskLifecycleEventWhileLocked as Ko, buildAgentFacingPublicationModeGuideLines as Kr, runDaemonServiceParticipationGate as Kt, emitSpaceCliAgentOverview as L, createOpenMeldAgentProfile as La, resolveAgentProfileEditCapabilities as Li, resolveLocalAgentControllerReportDecision as Ln, bindProject as Lo, registerBuiltinAgentSelectionOptions as Lr, fetchSpaceMeta as Lt, assertFullSignalIdArgument as M, resolveRuntimeContext as Ma, getAgentControllerPermissionModeFieldLabel as Mi, submitRuntimeAgentControllerReport as Mn, readCodexSessionTitles as Mo, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as Mr, shouldEmitAgentOverview as Mt, assertValidSpaceIdTarget as N, resolveViewProfileKey as Na, listAgentControllerPermissionModeOptions as Ni, submitRuntimeAgentControllerReports as Nn, enqueueAgentActivityHookEvent as No, registerSkillsTargetSelectionOptions as Nr, runDaemonStartupPreflight as Nt, resolveLinkAccessLabel as O, renderHumanTextErrorCard as Oa, resolveLocalRegistryAgentIdFromAgentControllerRef as Oi, resolveServiceParticipationReadiness as On, removeAgentActivityContextCache as Oo, createUpgradeConfirmationGuideError as Or, buildProfileWorkspaceRows as Ot, prepareAuthenticatedSpaceCommandContext as P, isSelectedOpenMeldProfileRequiredError as Pa, parseAgentControllerRef as Pi, collectLocalAgentControllerInventory as Pn, removeProjectInbox as Po, getCliVersionInfo as Pr, readDaemonStartFailureLogTailLines as Pt, runAgentsList as Q, resolveAuthenticationGuidanceFromError as Qa, finishCurrentCommandCheckScope as Qi, runInteractivePrompt as Qn, errLine as Qo, ensureDaemonRuntimePaths as Qr, runSkillsUninstall as Qt, prepareLocalAgentReadiness as R, createOpenMeldHumanProfile as Ra, resolveEvidenceSyncHealth as Ri, inspectSpaceCacheFile as Rn, listProjectBindings as Ro, buildAgentOverviewFromContract as Rr, updateSpaceMeta as Rt, loadSpaceSignalIndexOrNull as S, resolveDaemonRuntimeContractCompatibility as Sa, createPrimaryBindingReadSession as Si, createProfileByKind as Sn, resolveSetupFollowUpCliEntryCommand as So, createSpaceResultGuideError as Sr, runDaemonSnapshot as St, buildFormalSignalReadPayload as T, OPENMELD_VERSION as Ta, reconcileNewRunnableBuiltinAgentsForSetup as Ti, promptTextEntry as Tn, readDaemonServiceContract as To, createSpaceUpdatesGuideError as Tr, runDaemonTeardownStrict as Tt, runAgents as U, updateOpenMeldProfile as Ua, getSetupFlowCopy as Ui, buildSignalIndex as Un, setDefaultProjectConnection as Uo, OPENMELD_AGENT_MENTAL_MODEL_LINES as Ur, resolveLocalComponentsStatus as Ut, persistAgentTransportSelection as V, primeOpenMeldProfilesSessionCache as Va, buildDaemonRouteObservationPresentation as Vi, buildDispatchResultMessageReadProjection as Vn, removeProjectConnection as Vo, buildDualViewGuideMessage as Vr, toStructuredGatewayFailure as Vt, runAgentsConfig as W, alignSelectedOpenMeldProfileStorage as Wa, buildDaemonServiceTargetSpec as Wi, buildSignalMessageReadProjection as Wn, unbindProject as Wo, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Wr, writeInstalledLocalComponentsSnapshot as Wt, runAgentsDisable as X, createAuthenticationError as Xa, resolveOpenMeldEnvironmentTarget as Xi, promptSearchSelect as Xn, sanitizeTerminalDisplayText as Xo, runPendingDaemonServiceUpdate as Xr, runSkillsEnsure as Xt, runAgentsDetect as Y, buildHumanAuthenticationCard as Ya, assessServerRequiredVersion as Yi, promptSearchMultiselect as Yn, renderTextInfoCard as Yo, readOpenMeldToolsUpdateContextFromEnv as Yr, runSkillsCheck as Yt, runAgentsEnable as Z, resolveAuthenticationGuidance as Za, resolveAuthBaseUrl as Zi, isReturnKeypress as Zn, emitCliJsonEnvelope as Zo, scheduleDaemonServiceUpdate as Zr, runSkillsInstall as Zt, runSpaceWriteWithPasswordRetry as _, ensureVersionStateReady as _a, setCustomProfileWorkspace as _i, fetchAuthUserSnapshot as _n, formatOpenMeldCliCommand as _o, createSpaceContractSetGuideError as _r, runDaemonCancel as _t, runSpaceDelete as a, readCurrentDaemonRuntimeContext as aa, formatDeviceReplyReadinessLabel as ai, buildCommandAuthenticationPromptMessage as an, requestLocalAgentActivitySync as ao, formatElapsedTime as ar, cliJsonSkillsShowEnvelopeSchema as as, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, readVersionState as ba, describeProfileWorkspacePathValidationFailure as bi, resolveDeviceTokenExpiresAt as bn, formatOpenMeldCliTextBlock as bo, createSpacePublicationSetGuideError as br, runDaemonReinstall as bt, runSpaceLeave as c, isDaemonServiceJobNeverSpawned as ca, resolveGatewayChainReadiness as ci, runAuthLogin as cn, resolveAgentActivityRouteForPath as co, formatDaemonServiceMissingRecommendation as cr, revokeOrganizationJoinLinkResponseSchema as cs, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, readRecentDaemonLifecycleEvents as da, createModelCatalogReadSession as di, runAuthStatus as dn, defaultManagedIntegrationPaths as do, createProfileActionGuideError as dr, resolveSpaceWebGatewayOrigin as dt, isCurrentCommandCheckScopeActive as ea, formatDaemonFailureContextText as ei, ensureLocalSkills as en, getProfileDefaultView as eo, isCliUpdateCheckApplicable as er, outLine as es, runAgentsRepair as et, runSpaceSend as f, buildInstallSelfJsonPayload as fa, resolveProfileWorkspaceRuntime as fi, exchangeOneTimeTokenAuthSession as fn, installAgentActivityIntegrations as fo, createProfileCreateGuideError as fr, resolveSpaceSendText as ft, runSpaceReadWithPasswordRetry as g, compareSemver as ga, resolveConfiguredProfileWorkspacePath as gi, extractAuthApiErrorMessage as gn, formatInlineOpenMeldCliCommands as go, createSpaceAliasTargetGuideError as gr, runDaemonBackgroundStartForDecision as gt, uploadPreparedSpaceFiles as h, buildNextVersionState as ha, readProfileWorkspaceConfig as hi, formatActiveOrganizationLabel as hn, uninstallAgentActivityIntegrations as ho, createSpaceAddMembersGuideError as hr, runDaemonAutostart as ht, runSpaceCreate as i, resolveVersionChangeDirection as ia, formatAgentReplyReadinessLabel as ii, connectWebSocket as in, LocalDaemonControlPlaneClientError as io, writeDispatchSpaceActionRecord as ir, cliJsonSkillsLoadEnvelopeSchema as is, colorizeDisplayProfileLabel as it, isSpaceCommandOutputHandledError as j, parseCliViewMode as ja, getAgentControllerPermissionModeDisplayMetadata as ji, submitProfileRuntimeAgentControllerReport as jn, normalizeSharedSessionTitle as jo, registerSpaceMemberSelectionOptions as jr, createDelayedSpinner as jt, resolveOrganizationVisibilityLabel as k, createPresenter as ka, buildAgentControllerRef as ki, assessActionParticipationCandidate as kn, buildAgentActivityEvent as ko, getCommandEntryContract as kr, reconcileCliVersionView as kt, runSpaceList as l, readDaemonServiceJobCrashExitCode as la, resolveOpenClawLocalDiagnosticsValue as li, runAuthLogout as ln, unregisterAgentActivityRoute as lo, canUseInteractivePrompts as lr, compareAgentControllerRefsForDisplay as ls, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, readPendingDaemonServiceUpdate as ma, normalizeCustomProfileWorkspacePath as mi, buildAuthStatusSnapshot as mn, resolveAgentActivityDispatcherCommand as mo, createResetConfirmationGuideError as mr, runDaemon as mt, promptAndConfirmSpacePassword as n, startCurrentCommandCheckScope as na, resolveDaemonServiceFreshnessWarning as ni, readRuntimeReportingHealthState as nn, LocalProjectConnectionError as no, readDispatchOwnedRuntimeGuard as nr, cliJsonOutputEnvelopeSchema as ns, formatTransportModeDisplay as nt, runSpaceHistory as o, readCurrentObservedDaemonRuntimeStatus as oa, formatHumanReplyReadinessReason as oi, ensureCommandAuthenticationOrCancel as on, isAgentActivityRouteRegistered as oo, resolveElapsedTimeMs as or, getOrganizationJoinLinkResponseSchema as os, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, performManagedInstall as pa, ensureOpenMeldManagedProfileWorkspace as pi, buildAuthStatusRows as pn, readAgentActivityIntegrationStatus as po, createProfileMenuGuideError as pr, bestEffortStopCurrentLaneDaemonService as pt, runAgentsCustomRemove as q, setSelectedOpenMeldProfileId as qa, classifyDaemonServiceWakeability as qi, createSpaceMemberIdentityIndex as qn, readControllerTaskLifecycleOutboxHealth as qo, canonicalizeAllowedActions as qr, runDaemonStartDecisionPrompt as qt, runSpaceAddMembers as r, inspectDaemonServiceInventory as ra, resolveCurrentReplyReadinessSnapshot as ri, readRecentDaemonDispatchJournalEvents as rn, validateLocalProjectConnectionPath as ro, readDispatchSpaceActionContextFromEnv as rr, cliJsonSkillsListEnvelopeSchema as rs, colorizeAgentLabel as rt, runSpaceJoin as s, getDaemonSystemServiceLogPath as sa, mapAgentReplyReadinessToLegacyAutoReply as si, evaluateCommandAuthentication as sn, registerAgentActivityRoute as so, formatDaemonServiceDowngradeBlockedRecommendation as sr, organizationJoinLinkErrorResponseSchema as ss, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, resetCurrentCommandCheckState as ta, resolveServiceReadinessFromServiceStatus as ti, readBundledOpenMeldCliSkillDocumentByPath as tn, setProfileDefaultView as to, assertDispatchOwnedRuntimePublicWriteAllowed as tr, cliBinaryDeltaPatchSchema as ts, runAgentsShow as tt, runSpacePassword as u, resolveDaemonServiceManager as ua, syncProfileWorkspaceState as ui, runAuthMenu as un, AGENT_ACTIVITY_INTEGRATION_OWNER as uo, createDoctorFailedGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, fetchLatestCliBinaryRelease as va, setOpenMeldManagedProfileWorkspace as vi, requestDeviceToken as vn, formatOpenMeldCliCommands as vo, createSpaceLeaveGuideError as vr, runDaemonInstall as vt, buildFormalDispatchResultReadPayload as w, resolveCurrentDaemonExpectedVersion as wa, listAgentTargetStates as wi, resolveCreateProfileName as wn, syncLocalAgentActivity as wo, createSpaceTargetGuideError as wr, runDaemonStop as wt, loadSpaceIdentityDirectoryOrNull as x, writeVersionState as xa, syncDeviceRuntimeStateProjection as xi, revokeAuthAccessToken as xn, formatProfileAwareOpenMeldCliCommands as xo, createSpaceRemoveMembersGuideError as xr, runDaemonRunAfterEntryChecks as xt, emitHumanReadSignalsTextProjection as y, fetchLatestPackageInfo as ya, validateCustomProfileWorkspacePath as yi, resolveDeviceAuthClientId as yn, formatOpenMeldCliLine as yo, createSpaceMenuGuideError as yr, runDaemonInterrupt as yt, buildReplyReadinessGuidance as z, deleteOpenMeldProfile as za, resolveNativeAgentControllerPermissionModeForController as zi, upsertSpaceConfig as zn, listProjectConnectionsWithStatus as zo, DualViewGuideError as zr, readGatewayJsonResponse as zt };
|
|
111232
111335
|
|
|
111233
|
-
//# sourceMappingURL=command-
|
|
111336
|
+
//# sourceMappingURL=command-DlRJuAak.js.map
|