openmeld 0.3.83 → 0.3.84
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-B9LeL4Ud.js → add-me-membership-DC8Kvpem.js} +2 -2
- package/dist/{add-me-membership-B9LeL4Ud.js.map → add-me-membership-DC8Kvpem.js.map} +1 -1
- package/dist/{api-client-foundation-Chryr5BZ.js → api-client-foundation-9MJAKRpy.js} +3 -3
- package/dist/{api-client-foundation-Chryr5BZ.js.map → api-client-foundation-9MJAKRpy.js.map} +1 -1
- package/dist/{auth-session-BJZuJ2bM.js → auth-session-vFtLpWjB.js} +2 -2
- package/dist/{auth-session-BJZuJ2bM.js.map → auth-session-vFtLpWjB.js.map} +1 -1
- package/dist/{command-22-KBBsD.js → command-CYApmFQW.js} +146 -109
- package/dist/{command-22-KBBsD.js.map → command-CYApmFQW.js.map} +1 -1
- package/dist/{dist-Cm4BbP8Y.js → dist-CJnq8AgJ.js} +263 -11
- package/dist/dist-CJnq8AgJ.js.map +1 -0
- package/dist/openmeld.js +794 -20
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-DI97Fndy.js → runtime-transport-DEj52An9.js} +225 -40
- package/dist/runtime-transport-DEj52An9.js.map +1 -0
- package/package.json +1 -1
- package/skills/openmeld-cli/SKILL.md +21 -0
- package/skills/openmeld-cli/references/commands.md +17 -0
- package/dist/dist-Cm4BbP8Y.js.map +0 -1
- package/dist/runtime-transport-DI97Fndy.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as toSpaceCursorUrl, At as openMeldManagedBinaryPath, B as toSpaceUpdatesUrl, C as updateConfiguredSkillsConfig, Ct as deviceOpenClawProfileWorkspaceDir, Dt as normalizeOpenMeldProfileId, E as toDaemonRouteObservationUrl, Et as normalizeAccountKey, F as toSpaceMembersUrl, G as isOpenMeldOrphanedLockError, Gt as runtimeLogsDir, H as acquireLock, Ht as resolveOpenMeldPresetOwnedPathInput, I as toSpaceMetaUrl, Jt as systemDir, Kt as skillsDir, L as toSpacePasswordUrl, Mt as openMeldManagedVersionDir, Nt as openMeldRootDir, Ot as openMeldBackupsDir, P as toSpaceLeaveUrl, Pt as openMeldVersionsDir, Qt as runtimeAgentControllerLaunchContractSchema, R as toSpaceRemoveMembersUrl, Rt as resolveDefaultOpenMeldHomeDirname, St as deviceOpenClawProfileDir, T as normalizeBaseUrl, Tt as legacyAccountProfileSpacesDir, Ut as resolveOpenMeldRootDir, V as toSpaceWsUrl, Vt as resolveOpenMeldEnvPreset, W as isOpenMeldLockError, Wt as runtimeDir, X as resolveOpenMeldOrphanedLockIssue, Yt as formatLocalMachineIssueMessage, Z as runWithHeldLock, Zt as runtimeAgentControllerConversationIdMappingSpecSchema, _ as getRuntimeConfigReadHealth, _t as accountProfileSpaceCacheDir, a as resolveBaseUrl, an as resolveBuiltinAgentControllerConversationKind, at as writeCliContextState, b as setConfiguredSkillsConfig, bt as accountsDir, c as resolveExplicitGatewayUrlOrThrow, d as createDefaultRuntimeAgentControllerSettings, dn as canonicalizeBuiltinAgentControllerRef, dt as createBackgroundExecutionBlockedIssue, en as runtimeStreamingModeSchema, f as getConfiguredDaemonDispatchLimits, fn as normalizeBuiltinAgentControllerId, g as getConfiguredViewCustomization, gt as accountProfileLocalMetaPath, h as getConfiguredSkillsConfig, ht as OPENMELD_HOME_ENV_KEY, i as normalizeGatewayBaseUrlOrNull, in as conversationPolicySchema, it as resolveCliContextId, j as toSpaceDeleteUrl, jt as openMeldManagedVersionBinaryPath, k as toSpaceCreateUrl, kt as openMeldBinDir, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, ln as buildAgentControllerRoutingKey, lt as assessLocalMachineFailure, mn as parseAgentControllerRef$1, nt as readCliContextState, o as resolveBaseUrlOrNull, on as HOSTED_CENTER_AGENT_CONTROLLER_REF, p as getConfiguredDeviceRuntimeState, pn as normalizeKnownBuiltinAgentControllerId, r as normalizeGatewayBaseUrl, rn as buildAgentControllerConversationRef, rt as resolveCliContext, s as resolveDefaultGatewayBaseUrl, sn as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, st as resolveOpenMeldLaneDescriptor, tn as runtimeTransportModeSchema, tt as listCliContextStates, un as canonicalizeAgentControllerRef, v as resolveRuntimeSkillsCustomTargetId, vt as accountProfileViewPath, wt as isPublishedOpenMeldHome, x as updateConfiguredDeviceRuntimeState, xt as deviceOpenClawProfileBootstrapPath, yt as accountProfileWorkspacePath, zt as resolveExplicitOpenMeldEnvPreset } from "./base-url-Cv9x5Es9.js";
|
|
4
|
-
import { A as MAX_TEXT_LENGTH, At as createCenterAgentRoutineResponseSchema, B as sleep, C as createSpaceApi, D as toStructuredApiClientFailure, Dt as organizationComputersResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as profileErrorResponseSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as resumeCenterAgentRoutineResponseSchema, Gt as localProjectControlDaemonFrameSchema, H as getSpaceUpdatesResponseSchema, It as updateCenterAgentRoutineResponseSchema, Jt as postSpaceMembersResponseSchema, Kt as localProjectControlDiscoverProjectsResponseSchema, L as OPENMELD_HEADER_REQUEST_ID, M as parseIncoming$1, Mt as listCenterAgentRoutineRunsResponseSchema, N as parseServerErrorFrame$1, Nt as listCenterAgentRoutinesResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as submitFeedbackIssueRequestSchema, P as resolveCustomMentionAliasOverride, Pt as pauseCenterAgentRoutineResponseSchema, Q as submitAgentControllerTaskLifecycleEventItemSchema, Rt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, S as createRuntimeReportingApi, St as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, T as resolveAccountSpaceIndexGatewayHost, Tt as profileCapabilitiesResponseSchema, U as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Ut as agentActivitySnapshotResponseSchema, V as toErrorMessage$41, Wt as localProjectControlConnectionSchema, Xt as spaceMemberDirectoryEntrySchema, Yt as removeSpaceMembersResponseSchema, Zt as spaceMemberDirectorySchema, _n as agentControllerPermissionModeSchema, _t as organizationSkillReleaseSummarySchema, a as buildSpaceAttachmentDownloadPath, an as createProjectResponseSchema, at as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, bt as organizationDirectoryResponseSchema, c as createAgentProfileBindingApi, cn as updateProjectResponseSchema, ct as computerFileAccessPolicyInputSchema, d as createCurrentDeviceApi, dt as organizationSpaceDirectoryWithMemberCountsResponseSchema, ft as spaceCreatorSchema, g as createOrganizationApi, h as createOpenMeldApiClient, ht as listOrganizationSkillsResponseSchema, i as buildProfileSpaceHistoryUpsertPath, in as archiveProjectResponseSchema, it as gatewayErrorEnvelopeSchema, j as parseEnvelope$1, jt as deleteCenterAgentRoutineResponseSchema, kt as submitFeedbackIssueResponseSchema, ln as centerAgentToolSpeakerSchema, lt as computerFileAccessPolicySchema, m as createLocalRuntimeExpectedRoutesApi, mt as getOrganizationSkillResponseSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as listProjectsResponseSchema, ot as OPENMELD_RUNTIME_CAPABILITIES_HEADER, p as createFetchTransport, pt as spaceMetaSchema, qt as leaveSpaceResponseSchema, r as buildProfileSpaceHistoryStatusPath, rn as observedLocalAgentSessionSchema, s as createAgentActivityApi, sn as projectSchema, st as computerFileAccessDaemonFrameSchema, t as OpenMeldApiClientHttpError, tn as agentActivitySessionInventoryResponseSchema, un as openCodePermissionConfigSchema, ut as modelCatalogSchema, vn as agentControllerCollaborationModeSchema, vt as organizationSkillSummarySchema, wt as authProfileManagedRoleSchema, xt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, y as createProfileSpaceHistoryApi, yn as toLegacySpaceAddressingWireValue, z as toErrorMessage$42, zt as agentActivityEventSchema } from "./dist-
|
|
5
|
-
import {
|
|
4
|
+
import { A as MAX_TEXT_LENGTH, At as createCenterAgentRoutineResponseSchema, B as sleep, C as createSpaceApi, D as toStructuredApiClientFailure, Dt as organizationComputersResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as profileErrorResponseSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as resumeCenterAgentRoutineResponseSchema, Gt as localProjectControlDaemonFrameSchema, H as getSpaceUpdatesResponseSchema, It as updateCenterAgentRoutineResponseSchema, Jt as postSpaceMembersResponseSchema, Kt as localProjectControlDiscoverProjectsResponseSchema, L as OPENMELD_HEADER_REQUEST_ID, M as parseIncoming$1, Mt as listCenterAgentRoutineRunsResponseSchema, N as parseServerErrorFrame$1, Nt as listCenterAgentRoutinesResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as submitFeedbackIssueRequestSchema, P as resolveCustomMentionAliasOverride, Pt as pauseCenterAgentRoutineResponseSchema, Q as submitAgentControllerTaskLifecycleEventItemSchema, Rt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, S as createRuntimeReportingApi, St as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, T as resolveAccountSpaceIndexGatewayHost, Tt as profileCapabilitiesResponseSchema, U as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Ut as agentActivitySnapshotResponseSchema, V as toErrorMessage$41, Wt as localProjectControlConnectionSchema, Xt as spaceMemberDirectoryEntrySchema, Yt as removeSpaceMembersResponseSchema, Zt as spaceMemberDirectorySchema, _n as agentControllerPermissionModeSchema, _t as organizationSkillReleaseSummarySchema, a as buildSpaceAttachmentDownloadPath, an as createProjectResponseSchema, at as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, bt as organizationDirectoryResponseSchema, c as createAgentProfileBindingApi, cn as updateProjectResponseSchema, ct as computerFileAccessPolicyInputSchema, d as createCurrentDeviceApi, dt as organizationSpaceDirectoryWithMemberCountsResponseSchema, ft as spaceCreatorSchema, g as createOrganizationApi, h as createOpenMeldApiClient, ht as listOrganizationSkillsResponseSchema, i as buildProfileSpaceHistoryUpsertPath, in as archiveProjectResponseSchema, it as gatewayErrorEnvelopeSchema, j as parseEnvelope$1, jt as deleteCenterAgentRoutineResponseSchema, kt as submitFeedbackIssueResponseSchema, ln as centerAgentToolSpeakerSchema, lt as computerFileAccessPolicySchema, m as createLocalRuntimeExpectedRoutesApi, mt as getOrganizationSkillResponseSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as listProjectsResponseSchema, ot as OPENMELD_RUNTIME_CAPABILITIES_HEADER, p as createFetchTransport, pt as spaceMetaSchema, qt as leaveSpaceResponseSchema, r as buildProfileSpaceHistoryStatusPath, rn as observedLocalAgentSessionSchema, s as createAgentActivityApi, sn as projectSchema, st as computerFileAccessDaemonFrameSchema, t as OpenMeldApiClientHttpError, tn as agentActivitySessionInventoryResponseSchema, un as openCodePermissionConfigSchema, ut as modelCatalogSchema, vn as agentControllerCollaborationModeSchema, vt as organizationSkillSummarySchema, wt as authProfileManagedRoleSchema, xt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, y as createProfileSpaceHistoryApi, yn as toLegacySpaceAddressingWireValue, z as toErrorMessage$42, zt as agentActivityEventSchema } from "./dist-CJnq8AgJ.js";
|
|
5
|
+
import { $t as conversationExecutionStateSchema, A as runtimeTransportResumeControllerConversationFramePayloadSchema, An as agentInteractionRequestSchema, Ar as resolvePublicAgentAvailabilityCopy, B as openMeldSpaceEgressActionSchema, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, D as runtimeTransportRegisterSessionRequestSchema, Dr as MAX_TEXT_LENGTH$1, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as trimmedStringFromUnknown, Fn as formatLocalSetupActionDescription, G as localFolderPickerHelperResultSchema, H as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Hn as localServiceComponentUpdateProjectionSchema, Ht as spaceFileNameSchema, I as openMeldDaemonTaskResultEnvelopeWriteSchema, In as formatLocalSetupActionLabel, Ir as resolveCommandAgentWorkActivity, Jt as openMeldDaemonControlPlaneRequestSchema, Kn as parseOptionalClientMessageId, L as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, Ln as installedLocalComponentsSnapshotSchema, M as runtimeTransportRouteCatalogChangedFramePayloadSchema, Mr as shouldPreferMappedPublicAgentFailureReason, Mt as SPACE_FILE_MAX_SIZE_BYTES, Nn as formatLocalComponentsSummaryDescription, O as runtimeTransportRegisterSessionResponseSchema, On as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Or as resolveDetailedPublicAgentFailureReason$1, P as runtimeTransportSubmitTaskResultRequestSchema, Pn as formatLocalComponentsSummaryLabel, Qt as providerDispatchRuntimeContextSchema, R as openMeldDaemonTaskResultPayloadSchema, Rn as localCliComponentUpdateProjectionSchema, Rt as resolveSpaceFileMimeType, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, U as localFolderPickerDaemonFrameSchema, V as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, W as localFolderPickerHelperProtocolResultSchema, Xn as runtimeCoordinatorExecutionTokenEnvelopeSchema, Yt as openMeldDaemonControlPlaneResponseSchema, Zn as runtimeTransportDeliveryExecutionIdentitySchema, Zt as skippedDaemonProfileSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as getSpaceMessageAddressingRelationSupportForTargetKind, _r as openMeldRuntimeProfileIdSchema, a as runtimeTransportCapabilitiesSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, bn as resolveMessageEnvelopeTargetField, c as runtimeTransportDispatchInteractionRequestSchema, ct as CONVERSATION_CONTINUITY_WARNING_PURPOSE, d as runtimeTransportDispatchPreviewEndRequestSchema, er as normalizeSpacePasswordText, f as runtimeTransportDispatchPreviewRequestSchema, ft as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, g as runtimeTransportForkAgentSessionResultSchema, gn as formatCanonicalMentionLiteral, gr as normalizeOptionalWorkingDirectory, gt as sanitizeSignalTextPreview, h as runtimeTransportErrorCodeSchema, hn as collectCanonicalMentionTextFragments, hr as agentProfileIdSchema, i as localWakeRouteReportSchema, j as runtimeTransportResumeControllerConversationResultFramePayloadSchema, jn as agentInteractionResolutionSchema, jr as resolvePublicAgentFailureRecovery, k as runtimeTransportRejectedProfileRegistrationSchema, kr as resolveMappedPublicAgentFailureReason, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, m as runtimeTransportDispatchToolActivityRequestSchema, mn as MESSAGE_MENTION_TYPE_VALUES, mr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, mt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, nr as resolveSingleSpaceMentionLabels, o as runtimeTransportDeliverDispatchRequestSchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, pr as openMeldRequestContextSchema, pt as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, r as daemonStreamFrameSchema, rr as resolveSpaceMentionLabels, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, u as runtimeTransportDispatchLifecycleRequestSchema, v as runtimeTransportHeartbeatResponseSchema, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xr as profileWorkspaceModeSchema, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as normalizeMessageEnvelope } from "./runtime-transport-DEj52An9.js";
|
|
6
6
|
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-DZWQdPz5.js";
|
|
7
7
|
import { A as isDaemonServiceRuntimeHeartbeatStale, B as setDaemonServiceRuntimeState, C as daemonServiceStableExecutableWrapperPath, D as getDaemonRuntimeStatus, E as ensureDaemonControlPlaneToken, F as releaseDaemonServiceLifecycleLock, G as withDaemonServiceStopLock, H as withDaemonServiceReconcileLock, I as resolveDaemonControlPlaneEndpoint, K as readDaemonLocalStateFile, L as resolveDaemonServiceRuntimeMetadata, M as readDaemonServiceLifecycleLockMeta, N as readDaemonServiceLifecycleLockMetaWithCleanup, O as getDaemonStatus, P as readDaemonServiceRuntimeSnapshot, R as restoreDaemonInstallStateSnapshot, S as daemonServiceRepairJournalPath, T as daemonStatePath, U as withDaemonServiceRegistrationMutationLock, V as uninstallDaemon, W as withDaemonServiceRunLock, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceLegacyExecutableWrapperPath, c as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, d as clearDaemonServiceRuntimeState, f as daemonDispatchJournalPath, g as daemonRuntimeRootPath, h as daemonRuntimeDataPath, i as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, j as readDaemonControlPlaneToken, k as installDaemon, l as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV, m as daemonRuntimeBundlesPath, n as writeDaemonRuntimeLease, o as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, p as daemonLifecycleJournalPath, q as writeDaemonLocalStateFile, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableLauncherPath, x as daemonServiceRecognizedExecutableWrapperPaths, y as daemonServiceActiveBundleStatePath, z as rotateDaemonControlPlaneTokenIfExpired } from "./daemon-runtime-lease-DiRoGxhm.js";
|
|
8
|
-
import { A as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, D as REGISTER_RESPONSE_TIMEOUT_MS$1, E as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MIN_HEARTBEAT_INTERVAL_MS$2, T as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, _ as DEFAULT_HEARTBEAT_INTERVAL_MS$1, a as getAuthSessionState, b as MAX_HEARTBEAT_INTERVAL_MS$2, c as setAuthSession, d as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, f as DAEMON_RUNTIME_CONTRACT_EPOCH$1, g as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, h as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, j as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, k as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, m as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, n as clearAuthSession, p as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, r as getAuthSession, u as CATALOG_SYNC_RETRY_INTERVAL_MS$1, w as OPENCLAW_CLI_TIMEOUT_MS$1, y as HEARTBEAT_RESPONSE_TIMEOUT_MS$1 } from "./auth-session-
|
|
9
|
-
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-
|
|
8
|
+
import { A as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, D as REGISTER_RESPONSE_TIMEOUT_MS$1, E as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MIN_HEARTBEAT_INTERVAL_MS$2, T as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, _ as DEFAULT_HEARTBEAT_INTERVAL_MS$1, a as getAuthSessionState, b as MAX_HEARTBEAT_INTERVAL_MS$2, c as setAuthSession, d as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, f as DAEMON_RUNTIME_CONTRACT_EPOCH$1, g as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, h as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, j as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, k as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, m as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, n as clearAuthSession, p as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, r as getAuthSession, u as CATALOG_SYNC_RETRY_INTERVAL_MS$1, w as OPENCLAW_CLI_TIMEOUT_MS$1, y as HEARTBEAT_RESPONSE_TIMEOUT_MS$1 } from "./auth-session-vFtLpWjB.js";
|
|
9
|
+
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-9MJAKRpy.js";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { homedir, tmpdir, userInfo } from "node:os";
|
|
12
12
|
import { z } from "zod/v4";
|
|
@@ -34,7 +34,7 @@ import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybi
|
|
|
34
34
|
var package_default = {
|
|
35
35
|
$schema: "https://www.schemastore.org/package.json",
|
|
36
36
|
name: "openmeld",
|
|
37
|
-
version: "0.3.
|
|
37
|
+
version: "0.3.84",
|
|
38
38
|
openMeldReleaseDate: "2026-08-23",
|
|
39
39
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
40
40
|
license: "MIT",
|
|
@@ -17507,7 +17507,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
17507
17507
|
};
|
|
17508
17508
|
}
|
|
17509
17509
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
17510
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
17510
|
+
const { getAuthSessionMetadata } = await import("./auth-session-vFtLpWjB.js").then((n) => n.t);
|
|
17511
17511
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
17512
17512
|
}
|
|
17513
17513
|
function resolveHostKey(baseUrl) {
|
|
@@ -37139,9 +37139,9 @@ function createModelCatalogReadSession(input) {
|
|
|
37139
37139
|
async function readModelCatalogOnce(baseUrl) {
|
|
37140
37140
|
try {
|
|
37141
37141
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
37142
|
-
import("./dist-
|
|
37142
|
+
import("./dist-CJnq8AgJ.js").then((n) => n.w),
|
|
37143
37143
|
import("./base-url-Cv9x5Es9.js").then((n) => n.n),
|
|
37144
|
-
import("./api-client-foundation-
|
|
37144
|
+
import("./api-client-foundation-9MJAKRpy.js").then((n) => n.t)
|
|
37145
37145
|
]);
|
|
37146
37146
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
37147
37147
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -45901,7 +45901,7 @@ function createSpaceMenuGuideError() {
|
|
|
45901
45901
|
"openmeld space [--gateway-url <url>] create [--profile <profile-id>] --name <name> --visibility <public|private> [--guide <text>] [--password <value>] [--join|--no-join] [--output text|ndjson]",
|
|
45902
45902
|
"openmeld space [--gateway-url <url>] join [--profile <profile-id>] <space-id> [--password <value>] [--local-echo|--no-local-echo] [--history-limit <n>] [--role <text>] [--mention-alias <token>] [--output text|ndjson]",
|
|
45903
45903
|
"openmeld space [--gateway-url <url>] watch [--profile <profile-id>] <space-id> [--password <value>] [--history-limit <n>] [--output text|ndjson]",
|
|
45904
|
-
"openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--file <path>] [--plain] [--password <value>]",
|
|
45904
|
+
"openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--text-file <path>] [--file <path>...] [--plain] [--password <value>]",
|
|
45905
45905
|
SPACE_HISTORY_USAGE,
|
|
45906
45906
|
"openmeld space [--gateway-url <url>] contract [--profile <profile-id>] <space-id> [--json] [--password <value>]",
|
|
45907
45907
|
SPACE_CONTRACT_SET_USAGE,
|
|
@@ -46184,13 +46184,15 @@ function createSpaceDeleteHumanApprovalGuideError(summary) {
|
|
|
46184
46184
|
}
|
|
46185
46185
|
function createSpaceSubcommandTargetGuideError(command) {
|
|
46186
46186
|
const requiredArgsByCommand = {
|
|
46187
|
-
send: ["<space-id>", "
|
|
46187
|
+
send: ["<space-id>", "message text and/or --file <path>"],
|
|
46188
46188
|
history: ["<space-id>"],
|
|
46189
46189
|
thread: ["<space-id>", "<thread-id>"],
|
|
46190
46190
|
password: ["<space-id>", "one action: --password <value> | --clear"]
|
|
46191
46191
|
};
|
|
46192
46192
|
const optionalArgsByCommand = {
|
|
46193
46193
|
send: [
|
|
46194
|
+
"--file <path> (repeatable, max 10)",
|
|
46195
|
+
"--text-file <path>",
|
|
46194
46196
|
"--password <value>",
|
|
46195
46197
|
SPACE_GATEWAY_PARENT_OPTION_TEXT,
|
|
46196
46198
|
"--profile <profile-id>"
|
|
@@ -46216,7 +46218,7 @@ function createSpaceSubcommandTargetGuideError(command) {
|
|
|
46216
46218
|
password: [SPACE_GATEWAY_PARENT_OPTION_TEXT, "--profile <profile-id>"]
|
|
46217
46219
|
};
|
|
46218
46220
|
const commandByCommand = {
|
|
46219
|
-
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--file <path>] [--plain] [--password <value>]",
|
|
46221
|
+
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--text-file <path>] [--file <path>...] [--plain] [--password <value>]",
|
|
46220
46222
|
history: SPACE_HISTORY_USAGE,
|
|
46221
46223
|
thread: "openmeld space [--gateway-url <url>] thread [--profile <profile-id>] <space-id> <thread-id> [--password <value>]",
|
|
46222
46224
|
password: "openmeld space [--gateway-url <url>] password [--profile <profile-id>] <space-id> (--password <value>|--clear)"
|
|
@@ -46371,21 +46373,27 @@ function createSpaceSendInputRequiredGuideError() {
|
|
|
46371
46373
|
return new DualViewGuideError({
|
|
46372
46374
|
code: "send.input.required",
|
|
46373
46375
|
guide: {
|
|
46374
|
-
summary: "openmeld space send requires
|
|
46376
|
+
summary: "openmeld space send requires message text or at least one --file <path>.",
|
|
46375
46377
|
humanSteps: [
|
|
46376
46378
|
"Use quick text: openmeld space send <space-id> \"hello\"",
|
|
46377
46379
|
"Or pipe stdin: echo 'hello' | openmeld space send <space-id> --stdin",
|
|
46378
|
-
"Or
|
|
46380
|
+
"Or read message text from a file: openmeld space send <space-id> --text-file /tmp/message.txt",
|
|
46381
|
+
"Or share a file without filler text: openmeld space send <space-id> --file /tmp/launch-brief.pdf"
|
|
46379
46382
|
],
|
|
46380
46383
|
agentRequiredArgs: ["exactly one input source"],
|
|
46381
46384
|
agentOptionalArgs: [SPACE_GATEWAY_PARENT_OPTION_TEXT, "--profile <profile-id>"],
|
|
46382
46385
|
agentCommands: [
|
|
46383
46386
|
"openmeld space send --profile <profile-id> <space-id> \"hello\"",
|
|
46384
46387
|
"cat /tmp/message.txt | openmeld space send --profile <profile-id> <space-id> --stdin",
|
|
46385
|
-
"openmeld space send --profile <profile-id> <space-id> --file /tmp/message.txt",
|
|
46388
|
+
"openmeld space send --profile <profile-id> <space-id> --text-file /tmp/message.txt",
|
|
46389
|
+
"openmeld space send --profile <profile-id> <space-id> --file /tmp/launch-brief.pdf",
|
|
46386
46390
|
"openmeld space send --profile <profile-id> <space-id> --plain \"literal @Agent(wake) text\""
|
|
46387
46391
|
],
|
|
46388
|
-
notes: [
|
|
46392
|
+
notes: [
|
|
46393
|
+
"Prefer --stdin/--text-file for multiline or shell-sensitive message text.",
|
|
46394
|
+
"Use repeatable --file options to share up to 10 Space Files with or without message text.",
|
|
46395
|
+
"Use --plain only when @Name(wake) or @Name(reference) should be sent as literal text."
|
|
46396
|
+
]
|
|
46389
46397
|
}
|
|
46390
46398
|
});
|
|
46391
46399
|
}
|
|
@@ -46393,16 +46401,20 @@ function createSpaceSendInputConflictGuideError() {
|
|
|
46393
46401
|
return new DualViewGuideError({
|
|
46394
46402
|
code: "send.input.conflict",
|
|
46395
46403
|
guide: {
|
|
46396
|
-
summary: "openmeld space send received conflicting
|
|
46404
|
+
summary: "openmeld space send received conflicting message text sources. Use only one of: <text...>, --stdin, --text-file <path>.",
|
|
46397
46405
|
humanSteps: ["Pick only one source per command.", "Remove extra input flags and retry."],
|
|
46398
46406
|
agentRequiredArgs: ["exactly one input source"],
|
|
46399
46407
|
agentCommands: [
|
|
46400
46408
|
"openmeld space send --profile <profile-id> <space-id> \"hello\"",
|
|
46401
46409
|
"openmeld space send --profile <profile-id> <space-id> --stdin",
|
|
46402
|
-
"openmeld space send --profile <profile-id> <space-id> --file /tmp/message.txt",
|
|
46410
|
+
"openmeld space send --profile <profile-id> <space-id> --text-file /tmp/message.txt",
|
|
46403
46411
|
"openmeld space send --profile <profile-id> <space-id> --plain \"literal @Agent(wake) text\""
|
|
46404
46412
|
],
|
|
46405
|
-
notes: [
|
|
46413
|
+
notes: [
|
|
46414
|
+
"Do not combine positional text with --stdin or --text-file.",
|
|
46415
|
+
"A --file attachment may be combined with any one message text source.",
|
|
46416
|
+
"Use --plain only when @Name(wake) or @Name(reference) should be sent as literal text."
|
|
46417
|
+
]
|
|
46406
46418
|
}
|
|
46407
46419
|
});
|
|
46408
46420
|
}
|
|
@@ -46412,11 +46424,11 @@ function createSpaceSendInputFileReadFailedGuideError(path, reason) {
|
|
|
46412
46424
|
guide: {
|
|
46413
46425
|
summary: `failed to read send input file: ${path}`,
|
|
46414
46426
|
humanSteps: ["Check file path and permissions.", "Retry with a readable UTF-8 text file."],
|
|
46415
|
-
agentRequiredArgs: ["--file <path> must exist and be readable"],
|
|
46427
|
+
agentRequiredArgs: ["--text-file <path> must exist and be readable"],
|
|
46416
46428
|
agentCommands: [
|
|
46417
46429
|
"ls -l <path>",
|
|
46418
46430
|
"cat <path>",
|
|
46419
|
-
"openmeld space send --profile <profile-id> <space-id> --file <path>"
|
|
46431
|
+
"openmeld space send --profile <profile-id> <space-id> --text-file <path>"
|
|
46420
46432
|
],
|
|
46421
46433
|
notes: [`read error: ${reason}`]
|
|
46422
46434
|
}
|
|
@@ -46531,7 +46543,7 @@ function normalizeGuideExample(value, fallback) {
|
|
|
46531
46543
|
}
|
|
46532
46544
|
function createSpaceAliasTargetGuideError(command) {
|
|
46533
46545
|
const requiredArgsByCommand = {
|
|
46534
|
-
send: ["--space <space-id>", "
|
|
46546
|
+
send: ["--space <space-id>", "message text and/or --file <path>"],
|
|
46535
46547
|
tail: ["--space <space-id>"]
|
|
46536
46548
|
};
|
|
46537
46549
|
const optionalArgsByCommand = {
|
|
@@ -46540,7 +46552,8 @@ function createSpaceAliasTargetGuideError(command) {
|
|
|
46540
46552
|
"--base-url <url>",
|
|
46541
46553
|
"--password <value>",
|
|
46542
46554
|
"--stdin",
|
|
46543
|
-
"--file <path>"
|
|
46555
|
+
"--text-file <path>",
|
|
46556
|
+
"--file <path> (repeatable, max 10)"
|
|
46544
46557
|
],
|
|
46545
46558
|
tail: [
|
|
46546
46559
|
"--profile <id>",
|
|
@@ -46551,11 +46564,11 @@ function createSpaceAliasTargetGuideError(command) {
|
|
|
46551
46564
|
]
|
|
46552
46565
|
};
|
|
46553
46566
|
const commandByAlias = {
|
|
46554
|
-
send: "openmeld send [<text...>|--stdin|--file <path>] --space <space-id> [--plain] [--password <value>] [--profile <id>] [--base-url <url>]",
|
|
46567
|
+
send: "openmeld send [<text...>|--stdin|--text-file <path>] [--file <path>...] --space <space-id> [--plain] [--password <value>] [--profile <id>] [--base-url <url>]",
|
|
46555
46568
|
tail: "openmeld tail --space <space-id> [--limit <n>] [--after-signal <signal-id>] [--around-signal <signal-id> --before <n> --after <n>] [--from-profile <profile-id>] [--kind <text|status|system_notice>] [--json] [--password <value>] [--profile <id>] [--base-url <url>]"
|
|
46556
46569
|
};
|
|
46557
46570
|
const preferredCommand = {
|
|
46558
|
-
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--file <path>] [--plain] [--password <value>]",
|
|
46571
|
+
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--text-file <path>] [--file <path>...] [--plain] [--password <value>]",
|
|
46559
46572
|
tail: SPACE_HISTORY_USAGE
|
|
46560
46573
|
};
|
|
46561
46574
|
return new DualViewGuideError({
|
|
@@ -57000,7 +57013,7 @@ function parseDispatchTask(input) {
|
|
|
57000
57013
|
return {
|
|
57001
57014
|
...requiredFields,
|
|
57002
57015
|
agentControllerConversationId,
|
|
57003
|
-
|
|
57016
|
+
...resolveDispatchSourceFiles(payload),
|
|
57004
57017
|
...controllerSelection,
|
|
57005
57018
|
deliveryRecoveryReason,
|
|
57006
57019
|
defaultProjectId: normalizeOptionalText$44(payload.defaultProjectId) ?? null,
|
|
@@ -57034,6 +57047,12 @@ function parseDispatchTask(input) {
|
|
|
57034
57047
|
contextIdMappingSpec
|
|
57035
57048
|
};
|
|
57036
57049
|
}
|
|
57050
|
+
function resolveDispatchSourceFiles(payload) {
|
|
57051
|
+
return {
|
|
57052
|
+
attachments: payload.sourceSignalSnapshot?.attachments ?? [],
|
|
57053
|
+
files: payload.sourceSignalSnapshot?.files ?? []
|
|
57054
|
+
};
|
|
57055
|
+
}
|
|
57037
57056
|
function resolveDispatchTaskWorkingLanguage(payload) {
|
|
57038
57057
|
return payload.workingLanguage ?? null;
|
|
57039
57058
|
}
|
|
@@ -57163,10 +57182,23 @@ function renderDispatchPrompt(input) {
|
|
|
57163
57182
|
if (centerAgentRoleSection) sections.push(centerAgentRoleSection);
|
|
57164
57183
|
sections.push(["Current Wake message:", prompt].join("\n"));
|
|
57165
57184
|
if (promptInput.imageAttachmentPromptSection) sections.push(promptInput.imageAttachmentPromptSection);
|
|
57185
|
+
const spaceFilesSection = renderSharedSpaceFilesSection(promptInput);
|
|
57186
|
+
if (spaceFilesSection) sections.push(spaceFilesSection);
|
|
57166
57187
|
const completionSection = renderMandatoryCompletionSection(promptInput);
|
|
57167
57188
|
if (completionSection) sections.push(completionSection);
|
|
57168
57189
|
return sections.filter(Boolean).join("\n\n");
|
|
57169
57190
|
}
|
|
57191
|
+
function renderSharedSpaceFilesSection(input) {
|
|
57192
|
+
const files = input.spaceFiles ?? [];
|
|
57193
|
+
if (files.length === 0) return null;
|
|
57194
|
+
const cliEntry = normalizeOptionalText$44(input.cliEntry) ?? "openmeld";
|
|
57195
|
+
return [
|
|
57196
|
+
"Files shared with this message (canonical Space Files):",
|
|
57197
|
+
...files.map((file) => `- ${JSON.stringify(file.name)} — fileId=${file.fileId}, revision=${file.revision}, type=${file.mimeType}, size=${file.sizeBytes} bytes.`),
|
|
57198
|
+
"- Read or update these through the Space Files tools. The fileId and revision above identify the exact bytes that were sent.",
|
|
57199
|
+
`- For text, use \`${cliEntry} space files read ${input.spaceId} <file-id> --revision <revision> --profile ${input.targetProfileId} --view agent\`. For binary files, use \`${cliEntry} space files download ${input.spaceId} <file-id> --revision <revision> --output <path> --profile ${input.targetProfileId} --view agent\`.`
|
|
57200
|
+
].join("\n");
|
|
57201
|
+
}
|
|
57170
57202
|
function renderActivationIntentGate(input) {
|
|
57171
57203
|
if (!resolveSpacePublicationRequirement(input.spaceContractSnapshot).allowedActions.includes("stay_silent")) return null;
|
|
57172
57204
|
return [
|
|
@@ -68346,6 +68378,7 @@ function buildDispatchRuntimePrompt(input) {
|
|
|
68346
68378
|
shouldInjectCenterAgentRoleTemplate: input.parsedTask.targetProfileIsCenterAgent,
|
|
68347
68379
|
dispatchTriggerSource: input.parsedTask.dispatchTriggerSource,
|
|
68348
68380
|
imageAttachmentPromptSection: input.imageAttachmentPreparation.promptSection,
|
|
68381
|
+
spaceFiles: input.parsedTask.files,
|
|
68349
68382
|
mentionSourceProfileId: input.parsedTask.mentionSourceProfileId,
|
|
68350
68383
|
mentionSourceProfileKind: input.parsedTask.mentionSourceProfileKind,
|
|
68351
68384
|
mentionSourceMentionLabel: input.bootstrapContext.mentionSourceMentionLabel,
|
|
@@ -80357,7 +80390,10 @@ async function resolveSpaceSendText(input) {
|
|
|
80357
80390
|
const hasTextSource = textValue.length > 0;
|
|
80358
80391
|
const hasFileSource = filePath.length > 0;
|
|
80359
80392
|
const sourceCount = Number(hasTextSource) + Number(stdinEnabled) + Number(hasFileSource);
|
|
80360
|
-
if (sourceCount === 0)
|
|
80393
|
+
if (sourceCount === 0) {
|
|
80394
|
+
if (input.allowEmpty) return "";
|
|
80395
|
+
throw createSpaceSendInputRequiredGuideError();
|
|
80396
|
+
}
|
|
80361
80397
|
if (sourceCount > 1) throw createSpaceSendInputConflictGuideError();
|
|
80362
80398
|
let resolvedText = textValue;
|
|
80363
80399
|
if (hasFileSource) {
|
|
@@ -80369,7 +80405,7 @@ async function resolveSpaceSendText(input) {
|
|
|
80369
80405
|
}
|
|
80370
80406
|
}
|
|
80371
80407
|
if (stdinEnabled) resolvedText = await (input.readFromStdin ?? readSpaceSendStdin)();
|
|
80372
|
-
if (resolvedText.trim().length === 0) throw createSpaceSendInputEmptyGuideError();
|
|
80408
|
+
if (resolvedText.trim().length === 0 && !input.allowEmpty) throw createSpaceSendInputEmptyGuideError();
|
|
80373
80409
|
return resolvedText;
|
|
80374
80410
|
}
|
|
80375
80411
|
function readSpaceSendFile(path) {
|
|
@@ -101545,57 +101581,61 @@ async function leaveSpace(input) {
|
|
|
101545
101581
|
});
|
|
101546
101582
|
}
|
|
101547
101583
|
//#endregion
|
|
101548
|
-
//#region src/space/send-
|
|
101549
|
-
var
|
|
101584
|
+
//#region src/space/send-files.ts
|
|
101585
|
+
var SpaceSendFileError = class extends Error {
|
|
101550
101586
|
code;
|
|
101551
101587
|
requestId;
|
|
101552
101588
|
status;
|
|
101553
101589
|
upstreamCode;
|
|
101554
101590
|
constructor(input) {
|
|
101555
101591
|
super(input.message, { cause: input.cause });
|
|
101556
|
-
this.name = "
|
|
101592
|
+
this.name = "SpaceSendFileError";
|
|
101557
101593
|
this.code = input.code;
|
|
101558
101594
|
if (input.requestId) this.requestId = input.requestId;
|
|
101559
101595
|
if (input.status !== null && input.status !== void 0) this.status = input.status;
|
|
101560
101596
|
if (input.upstreamCode) this.upstreamCode = input.upstreamCode;
|
|
101561
101597
|
}
|
|
101562
101598
|
};
|
|
101563
|
-
async function
|
|
101564
|
-
if (input.
|
|
101565
|
-
code: "space.
|
|
101566
|
-
message:
|
|
101567
|
-
});
|
|
101568
|
-
if (input.attachmentPaths.length > 4) throw new SpaceAttachmentCommandError({
|
|
101569
|
-
code: "space.attachment.too_many",
|
|
101570
|
-
message: `A Space message can include at most 4 attachments. The message was not sent.`
|
|
101599
|
+
async function prepareRequestedSpaceSendFiles(input) {
|
|
101600
|
+
if (input.filePaths.length > 10) throw new SpaceSendFileError({
|
|
101601
|
+
code: "space.file.too_many",
|
|
101602
|
+
message: `A Space message can include at most 10 files. The message was not sent.`
|
|
101571
101603
|
});
|
|
101572
101604
|
const prepared = [];
|
|
101573
|
-
for (const rawPath of input.
|
|
101574
|
-
if (!rawPath.trim()) throw new
|
|
101575
|
-
code: "space.
|
|
101576
|
-
message: "
|
|
101605
|
+
for (const rawPath of input.filePaths) {
|
|
101606
|
+
if (!rawPath.trim()) throw new SpaceSendFileError({
|
|
101607
|
+
code: "space.file.invalid_path",
|
|
101608
|
+
message: "File paths cannot be empty. The message was not sent."
|
|
101577
101609
|
});
|
|
101578
|
-
prepared.push(await
|
|
101610
|
+
prepared.push(await prepareSpaceSendFile(rawPath));
|
|
101579
101611
|
}
|
|
101580
101612
|
return prepared;
|
|
101581
101613
|
}
|
|
101582
|
-
async function
|
|
101614
|
+
async function uploadPreparedSpaceFiles(input) {
|
|
101583
101615
|
const uploaded = [];
|
|
101584
|
-
for (const
|
|
101585
|
-
const descriptor = await input.spaceApi.
|
|
101586
|
-
bytes:
|
|
101587
|
-
|
|
101588
|
-
mimeType:
|
|
101616
|
+
for (const file of input.files) try {
|
|
101617
|
+
const descriptor = await input.spaceApi.uploadFile({
|
|
101618
|
+
bytes: file.bytes,
|
|
101619
|
+
clientMutationId: crypto.randomUUID(),
|
|
101620
|
+
mimeType: file.mimeType,
|
|
101621
|
+
name: file.name,
|
|
101622
|
+
parentId: null,
|
|
101589
101623
|
requestContext: input.requestContext,
|
|
101590
101624
|
spaceId: input.spaceId,
|
|
101591
101625
|
...input.password === void 0 ? {} : { spacePassword: input.password }
|
|
101592
101626
|
});
|
|
101593
|
-
uploaded.push(
|
|
101627
|
+
uploaded.push({
|
|
101628
|
+
fileId: descriptor.id,
|
|
101629
|
+
revision: descriptor.latestRevision.revision,
|
|
101630
|
+
name: descriptor.name,
|
|
101631
|
+
mimeType: descriptor.latestRevision.mimeType,
|
|
101632
|
+
sizeBytes: descriptor.latestRevision.sizeBytes
|
|
101633
|
+
});
|
|
101594
101634
|
} catch (error) {
|
|
101595
101635
|
const failure = toStructuredApiClientFailure(error);
|
|
101596
|
-
throw new
|
|
101597
|
-
code: failure.code ?? "space.
|
|
101598
|
-
message: `Could not
|
|
101636
|
+
throw new SpaceSendFileError({
|
|
101637
|
+
code: failure.code ?? "space.file.upload_failed",
|
|
101638
|
+
message: `Could not add file "${file.name}" to this Space. The message was not sent. ${failure.message}`,
|
|
101599
101639
|
cause: error,
|
|
101600
101640
|
requestId: failure.requestId,
|
|
101601
101641
|
status: failure.status,
|
|
@@ -101604,52 +101644,43 @@ async function uploadPreparedSpaceAttachments(input) {
|
|
|
101604
101644
|
}
|
|
101605
101645
|
return uploaded;
|
|
101606
101646
|
}
|
|
101607
|
-
async function
|
|
101647
|
+
async function prepareSpaceSendFile(sourcePath) {
|
|
101608
101648
|
let bytes;
|
|
101609
101649
|
try {
|
|
101610
101650
|
bytes = await readFile(sourcePath);
|
|
101611
101651
|
} catch (error) {
|
|
101612
|
-
if (readNodeErrorCode(error) === "ENOENT") throw new
|
|
101613
|
-
code: "space.
|
|
101614
|
-
message: `
|
|
101652
|
+
if (readNodeErrorCode(error) === "ENOENT") throw new SpaceSendFileError({
|
|
101653
|
+
code: "space.file.file_not_found",
|
|
101654
|
+
message: `File not found: ${sourcePath}. The message was not sent.`,
|
|
101615
101655
|
cause: error
|
|
101616
101656
|
});
|
|
101617
|
-
throw new
|
|
101618
|
-
code: "space.
|
|
101619
|
-
message: `Could not read
|
|
101657
|
+
throw new SpaceSendFileError({
|
|
101658
|
+
code: "space.file.file_unreadable",
|
|
101659
|
+
message: `Could not read file: ${sourcePath}. The message was not sent.`,
|
|
101620
101660
|
cause: error
|
|
101621
101661
|
});
|
|
101622
101662
|
}
|
|
101623
|
-
if (bytes.byteLength
|
|
101624
|
-
code: "space.
|
|
101625
|
-
message: `
|
|
101626
|
-
});
|
|
101627
|
-
if (bytes.byteLength > 5242880) throw new SpaceAttachmentCommandError({
|
|
101628
|
-
code: "space.attachment.too_large",
|
|
101629
|
-
message: `Attachment exceeds the ${formatAttachmentSizeLimit()} limit: ${sourcePath}. The message was not sent.`
|
|
101663
|
+
if (bytes.byteLength > 10485760) throw new SpaceSendFileError({
|
|
101664
|
+
code: "space.file.too_large",
|
|
101665
|
+
message: `File exceeds the ${formatFileSizeLimit()} limit: ${sourcePath}. The message was not sent.`
|
|
101630
101666
|
});
|
|
101631
|
-
const
|
|
101632
|
-
if (!
|
|
101633
|
-
code: "space.
|
|
101634
|
-
message: `
|
|
101635
|
-
});
|
|
101636
|
-
const fileNameResult = spaceAttachmentFileNameSchema.safeParse(sourcePath);
|
|
101637
|
-
if (!fileNameResult.success) throw new SpaceAttachmentCommandError({
|
|
101638
|
-
code: "space.attachment.invalid_file_name",
|
|
101639
|
-
message: `Attachment file name is invalid: ${sourcePath}. The message was not sent.`
|
|
101667
|
+
const parsedName = spaceFileNameSchema.safeParse(basename(sourcePath));
|
|
101668
|
+
if (!parsedName.success) throw new SpaceSendFileError({
|
|
101669
|
+
code: "space.file.invalid_file_name",
|
|
101670
|
+
message: `File name is invalid: ${sourcePath}. The message was not sent.`
|
|
101640
101671
|
});
|
|
101641
101672
|
return {
|
|
101642
101673
|
bytes,
|
|
101643
|
-
|
|
101644
|
-
mimeType
|
|
101674
|
+
name: parsedName.data,
|
|
101675
|
+
mimeType: resolveSpaceFileMimeType({ fileName: parsedName.data })
|
|
101645
101676
|
};
|
|
101646
101677
|
}
|
|
101647
101678
|
function readNodeErrorCode(error) {
|
|
101648
101679
|
if (!(error && typeof error === "object" && "code" in error)) return null;
|
|
101649
101680
|
return typeof error.code === "string" ? error.code : null;
|
|
101650
101681
|
}
|
|
101651
|
-
function
|
|
101652
|
-
return `${
|
|
101682
|
+
function formatFileSizeLimit() {
|
|
101683
|
+
return `${SPACE_FILE_MAX_SIZE_BYTES / (1024 * 1024)} MiB`;
|
|
101653
101684
|
}
|
|
101654
101685
|
//#endregion
|
|
101655
101686
|
//#region src/space/send.ts
|
|
@@ -101672,10 +101703,7 @@ async function runSend(input) {
|
|
|
101672
101703
|
flag: "--reply-to",
|
|
101673
101704
|
resolvedView: runtime.resolvedView
|
|
101674
101705
|
});
|
|
101675
|
-
const
|
|
101676
|
-
attachmentPaths: input.attachmentPaths ?? [],
|
|
101677
|
-
replyToSignalId: input.replyToSignalId
|
|
101678
|
-
});
|
|
101706
|
+
const preparedFiles = await prepareRequestedSpaceSendFiles({ filePaths: input.filePaths ?? [] });
|
|
101679
101707
|
const owner = openMeldProfile.profileKind === "agent" ? String(openMeldProfile.ownerUserId ?? "").trim() : "";
|
|
101680
101708
|
const ownerName = openMeldProfile.profileKind === "agent" ? String(openMeldProfile.ownerName ?? "").trim() : "";
|
|
101681
101709
|
const profileIdentity = {
|
|
@@ -101686,7 +101714,10 @@ async function runSend(input) {
|
|
|
101686
101714
|
...owner ? { owner } : {},
|
|
101687
101715
|
...ownerName ? { ownerName } : {}
|
|
101688
101716
|
};
|
|
101689
|
-
const text =
|
|
101717
|
+
const text = input.text.trim().length === 0 && preparedFiles.length > 0 ? {
|
|
101718
|
+
ok: true,
|
|
101719
|
+
value: ""
|
|
101720
|
+
} : sanitizeText(input.text);
|
|
101690
101721
|
if (!text.ok) throw new Error(text.reason);
|
|
101691
101722
|
assertNoRemovedCcSpaceAddressingSyntax(text.value);
|
|
101692
101723
|
emitAgentSendProgress({
|
|
@@ -101696,7 +101727,10 @@ async function runSend(input) {
|
|
|
101696
101727
|
summary: input.plainText ? "Preparing message text without Space mention parsing." : "Preparing message text and canonical Space mentions.",
|
|
101697
101728
|
spaceId: space
|
|
101698
101729
|
});
|
|
101699
|
-
const { outboundMessageEnvelope, outboundText } =
|
|
101730
|
+
const { outboundMessageEnvelope, outboundText } = text.value.length === 0 ? {
|
|
101731
|
+
outboundMessageEnvelope: void 0,
|
|
101732
|
+
outboundText: ""
|
|
101733
|
+
} : await resolveOutboundSubmission({
|
|
101700
101734
|
openMeldProfile,
|
|
101701
101735
|
password: input.password,
|
|
101702
101736
|
plainText: input.plainText === true,
|
|
@@ -101721,14 +101755,14 @@ async function runSend(input) {
|
|
|
101721
101755
|
}
|
|
101722
101756
|
});
|
|
101723
101757
|
const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile });
|
|
101724
|
-
|
|
101725
|
-
|
|
101758
|
+
emitFileUploadProgress({
|
|
101759
|
+
fileCount: preparedFiles.length,
|
|
101726
101760
|
presenter,
|
|
101727
101761
|
resolvedView: runtime.resolvedView,
|
|
101728
101762
|
spaceId: space
|
|
101729
101763
|
});
|
|
101730
|
-
const
|
|
101731
|
-
|
|
101764
|
+
const files = await uploadPreparedSpaceFiles({
|
|
101765
|
+
files: preparedFiles,
|
|
101732
101766
|
password: input.password,
|
|
101733
101767
|
requestContext,
|
|
101734
101768
|
spaceApi,
|
|
@@ -101751,13 +101785,14 @@ async function runSend(input) {
|
|
|
101751
101785
|
replyToSignalId,
|
|
101752
101786
|
outboundText,
|
|
101753
101787
|
outboundMessageEnvelope,
|
|
101754
|
-
clientMessageId
|
|
101788
|
+
clientMessageId,
|
|
101789
|
+
files
|
|
101755
101790
|
}) : await spaceApi.postNormalMessage({
|
|
101756
101791
|
spaceId: space,
|
|
101757
101792
|
requestContext,
|
|
101758
101793
|
...input.password === void 0 ? {} : { spacePassword: input.password },
|
|
101759
101794
|
text: outboundText,
|
|
101760
|
-
...
|
|
101795
|
+
...toSpaceMessageFilesField(files),
|
|
101761
101796
|
meta: { clientMessageId },
|
|
101762
101797
|
...outboundMessageEnvelope ? { messageEnvelope: outboundMessageEnvelope } : {}
|
|
101763
101798
|
});
|
|
@@ -101765,8 +101800,8 @@ async function runSend(input) {
|
|
|
101765
101800
|
code: "send.response",
|
|
101766
101801
|
payload
|
|
101767
101802
|
});
|
|
101768
|
-
|
|
101769
|
-
|
|
101803
|
+
emitSentFileResult({
|
|
101804
|
+
fileCount: files.length,
|
|
101770
101805
|
presenter,
|
|
101771
101806
|
signalId: payload.id
|
|
101772
101807
|
});
|
|
@@ -101796,6 +101831,7 @@ async function postReplyIntoThread(input) {
|
|
|
101796
101831
|
body: {
|
|
101797
101832
|
text: input.outboundText,
|
|
101798
101833
|
clientMessageId: input.clientMessageId,
|
|
101834
|
+
...toSpaceMessageFilesField(input.files),
|
|
101799
101835
|
...input.outboundMessageEnvelope ? { messageEnvelope: input.outboundMessageEnvelope } : {}
|
|
101800
101836
|
}
|
|
101801
101837
|
})).signal;
|
|
@@ -101952,26 +101988,26 @@ function emitAgentSendProgress(input) {
|
|
|
101952
101988
|
}
|
|
101953
101989
|
});
|
|
101954
101990
|
}
|
|
101955
|
-
function
|
|
101956
|
-
if (input.
|
|
101991
|
+
function emitFileUploadProgress(input) {
|
|
101992
|
+
if (input.fileCount === 0) return;
|
|
101957
101993
|
emitAgentSendProgress({
|
|
101958
101994
|
presenter: input.presenter,
|
|
101959
101995
|
resolvedView: input.resolvedView,
|
|
101960
|
-
stage: "
|
|
101961
|
-
summary: `
|
|
101996
|
+
stage: "upload_files",
|
|
101997
|
+
summary: `Adding ${input.fileCount} file${input.fileCount === 1 ? "" : "s"} to this Space before sending the message.`,
|
|
101962
101998
|
spaceId: input.spaceId
|
|
101963
101999
|
});
|
|
101964
102000
|
}
|
|
101965
|
-
function
|
|
101966
|
-
return
|
|
102001
|
+
function toSpaceMessageFilesField(files) {
|
|
102002
|
+
return files.length > 0 ? { files: [...files] } : {};
|
|
101967
102003
|
}
|
|
101968
|
-
function
|
|
101969
|
-
if (input.
|
|
102004
|
+
function emitSentFileResult(input) {
|
|
102005
|
+
if (input.fileCount === 0) return;
|
|
101970
102006
|
input.presenter.line({
|
|
101971
|
-
code: "send.
|
|
101972
|
-
text: `Sent Space message ${input.signalId} with ${input.
|
|
102007
|
+
code: "send.files_sent",
|
|
102008
|
+
text: `Sent Space message ${input.signalId} with ${input.fileCount} file${input.fileCount === 1 ? "" : "s"}.`,
|
|
101973
102009
|
data: {
|
|
101974
|
-
|
|
102010
|
+
fileCount: input.fileCount,
|
|
101975
102011
|
signalId: input.signalId
|
|
101976
102012
|
}
|
|
101977
102013
|
});
|
|
@@ -106693,9 +106729,10 @@ async function runSpaceSend(input) {
|
|
|
106693
106729
|
text: "Profile guard: keep profile consistent unless intentional switch."
|
|
106694
106730
|
});
|
|
106695
106731
|
const text = await resolveSpaceSendText({
|
|
106732
|
+
allowEmpty: (input.filePaths?.length ?? 0) > 0,
|
|
106696
106733
|
text: input.text,
|
|
106697
106734
|
stdin: input.stdin,
|
|
106698
|
-
file: input.
|
|
106735
|
+
file: input.textFile
|
|
106699
106736
|
});
|
|
106700
106737
|
if (runtime.resolvedView === "agent") {
|
|
106701
106738
|
const workflowAckHint = resolveWorkflowAckHint(text);
|
|
@@ -106709,7 +106746,7 @@ async function runSpaceSend(input) {
|
|
|
106709
106746
|
profile: openMeldProfile.openMeldProfileId,
|
|
106710
106747
|
baseUrl,
|
|
106711
106748
|
space: normalizedSpace,
|
|
106712
|
-
|
|
106749
|
+
filePaths: input.filePaths,
|
|
106713
106750
|
password: input.password,
|
|
106714
106751
|
plainText: input.plainText === true,
|
|
106715
106752
|
replyToSignalId: input.replyToSignalId,
|
|
@@ -106882,6 +106919,6 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
106882
106919
|
return runtime.resolvedView === "human" && canUseInteractivePrompts(runtime);
|
|
106883
106920
|
}
|
|
106884
106921
|
//#endregion
|
|
106885
|
-
export { formatTransportModeDisplay as $, uninstallAgentActivityIntegrations as $a, compareSemver as $i, canUseInteractivePrompts as $n, normalizeCustomProfileWorkspacePath as $r, readRecentDaemonDispatchJournalEvents as $t, prepareAuthenticatedSpaceCommandContext as A, getSelectedOpenMeldProfileId as Aa, listAgentControllerPermissionModeOptions as Ai, assertNoRemovedCcSpaceAddressingSyntax as An, enqueueControllerTaskLifecycleEventWhileLocked as Ao, formatDualViewGuideForDisplay as Ar, readDaemonStartFailureLogTailLines as At, runAgents as B, LocalProjectConnectionError as Ba, resetCurrentCommandCheckState as Bi, promptSearchSelect as Bn, cliJsonOutputEnvelopeSchema as Bo, resolveServiceReadinessFromServiceStatus as Br, writeInstalledLocalComponentsSnapshot as Bt, buildFormalSignalReadPayload as C, deleteOpenMeldProfile as Ca, ensureDaemonRuntimePaths as Ci, submitRuntimeAgentControllerReports as Cn, listProjectConnectionsWithStatus as Co, registerSkillsTargetSelectionOptions as Cr, buildProfileWorkspacePresentation as Ct, isSpaceCommandOutputHandledError as D, updateOpenMeldProfile as Da, createAgentExecutionStatusDisplayRows as Di, resolveLocalAgentControllerReportDecision as Dn, setDefaultProjectConnection as Do, registerBuiltinAgentSelectionOptions as Dr, createDelayedSpinner as Dt, parseEnvelope as E, resolveOpenMeldProfile as Ea, buildAgentControllerRef as Ei, resolveLocalAgentControllerLaunchability as En, runIfAgentActivityBindingGenerationIsCurrent as Eo, registerAuthLoginRequestOptions as Er, emitDaemonAgentOverview as Et, prepareLocalAgentReadiness as F, resolveAuthenticationGuidance as Fa, resolveEvidenceSyncHealth as Fi, buildSpaceRoundReadProjection as Fn, emitCliJsonEnvelope as Fo, areAllowedActionsEquivalent as Fr, readGatewayJsonResponse as Ft, runAgentsCustomUpdate as G, registerAgentActivityRoute as Ga, readCurrentObservedDaemonRuntimeStatus as Gi, assertDispatchOwnedRuntimePublicWriteAllowed as Gn, organizationJoinLinkErrorResponseSchema as Go, formatHumanReplyReadinessReason as Gr, runSkillsCheck as Gt, runAgentsCustomAdd as H, LocalDaemonControlPlaneClientError as Ha, inspectDaemonServiceInventory as Hi, runInteractivePrompt as Hn, cliJsonSkillsLoadEnvelopeSchema as Ho, resolveCurrentReplyReadinessSnapshot as Hr, runDaemonServiceParticipationGate as Ht, buildReplyReadinessGuidance as I, resolveAuthenticationGuidanceFromError as Ia, resolveNativeAgentControllerPermissionModeForController as Ii, buildUpdatesReplyWorkflowProjection as In, errLine as Io, buildAgentFacingPublicationModeGuideLines as Ir, readGatewayTextResponse as It, runAgentsEnable as J, AGENT_ACTIVITY_INTEGRATION_OWNER as Ja, readDaemonServiceJobCrashExitCode as Ji, writeDispatchSpaceActionRecord as Jn, package_default as Jo, resolveOpenClawLocalDiagnosticsValue as Jr, runSkillsUninstall as Jt, runAgentsDetect as K, resolveAgentActivityRouteForPath as Ka, getDaemonSystemServiceLogPath as Ki, readDispatchOwnedRuntimeGuard as Kn, revokeOrganizationJoinLinkResponseSchema as Ko, mapAgentReplyReadinessToLegacyAutoReply as Kr, runSkillsEnsure as Kt, resolveHumanControllerDisplayName as L, resolveAuthenticationGuidanceFromMessage as La, finishCurrentCommandCheckScope as Li, createSpaceMemberIdentityIndex as Ln, outJsonLine as Lo, canonicalizeAllowedActions as Lr, toStructuredGatewayFailure as Lt, resolveSpaceAccessLabel as M, buildAgentAuthenticationGuide as Ma, resolveAgentControllerPermissionModeForController as Mi, buildDispatchResultReplyWorkflowProjection as Mn, renderInfoCard as Mo, formatAgentOverviewPayload as Mr, createCliSpaceApi as Mt, emitSpaceAgentOverview as N, buildHumanAuthenticationCard as Na, resolveAgentExecutionStatus as Ni, buildSignalIndex as Nn, renderTextInfoCard as No, OPENMELD_AGENT_MENTAL_MODEL_LINES as Nr, fetchSpaceMeta as Nt, assertFullSignalIdArgument as O, alignSelectedOpenMeldProfileStorage as Oa, getAgentControllerPermissionModeDisplayMetadata as Oi, inspectSpaceCacheFile as On, unbindProject as Oo, buildAgentOverviewFromContract as Or, shouldEmitAgentOverview as Ot, emitSpaceCliAgentOverview as P, createAuthenticationError as Pa, resolveAgentProfileEditCapabilities as Pi, buildSignalMessageReadProjection as Pn, sanitizeTerminalDisplayText as Po, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Pr, updateSpaceMeta as Pt, runAgentsShow as Q, resolveAgentActivityDispatcherCommand as Qa, buildNextVersionState as Qi, formatDaemonServiceMissingRecommendation as Qn, ensureOpenMeldManagedProfileWorkspace as Qr, readRuntimeReportingHealthState as Qt, persistAgentTransportSelection as R, getProfileDefaultView as Ra, getCurrentCommandCheckState as Ri, formatRemovedCcRelationMessage as Rn, outLine as Ro, runDaemonServiceFullAlignment as Rr, parseJsonResponse$1 as Rt, buildFormalDispatchResultReadPayload as S, createOpenMeldHumanProfile as Sa, readRecentDaemonLifecycleEvents as Si, submitRuntimeAgentControllerReport as Sn, listProjectBindings as So, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as Sr, runDaemonUninstall as St, formatHumanReadTargetList as T, primeOpenMeldProfilesSessionCache as Ta, resolveOpenMeldEnvironmentTarget as Ti, resolveLocalAgentControllerBlockerReasonCodes as Tn, removeProjectConnection as To, registerDaemonControlTargetOptions as Tr, reconcileCliVersionView as Tt, runAgentsCustomList as U, requestLocalAgentActivitySync as Ua, resolveVersionChangeDirection as Ui, assessCliUpdate as Un, cliJsonSkillsShowEnvelopeSchema as Uo, formatAgentReplyReadinessLabel as Ur, runDaemonStartDecisionPrompt as Ut, runAgentsConfig as V, validateLocalProjectConnectionPath as Va, startCurrentCommandCheckScope as Vi, isReturnKeypress as Vn, cliJsonSkillsListEnvelopeSchema as Vo, resolveDaemonServiceFreshnessWarning as Vr, resolveDaemonServiceParticipationStatus as Vt, runAgentsCustomRemove as W, isAgentActivityRouteRegistered as Wa, readCurrentDaemonRuntimeContext as Wi, isCliUpdateCheckApplicable as Wn, getOrganizationJoinLinkResponseSchema as Wo, formatDeviceReplyReadinessLabel as Wr, collectSkillsReadinessSnapshot as Wt, runAgentsManage as X, installAgentActivityIntegrations as Xa, buildInstallSelfJsonPayload as Xi, resolveElapsedTimeMs as Xn, createModelCatalogReadSession as Xr, ensureLocalSkills as Xt, runAgentsList as Y, defaultManagedIntegrationPaths as Ya, resolveDaemonServiceManager as Yi, formatElapsedTime as Yn, syncProfileWorkspaceState as Yr, runSkillsUpdate as Yt, runAgentsRepair as Z, readAgentActivityIntegrationStatus as Za, performManagedInstall as Zi, formatDaemonServiceDowngradeBlockedRecommendation as Zn, resolveProfileWorkspaceRuntime as Zr, readBundledOpenMeldCliSkillDocumentByPath as Zt, emitHumanReadSignalsTextProjection as _, resolveViewProfileKey as _a, getSetupFlowCopy as _i, formatServiceParticipationReadinessLabel as _n, enqueueAgentActivityHookEvent as _o, createStartAuthenticationGuideError as _r, runDaemonRunAfterEntryChecks as _t, runSpaceDelete as a, isBinaryDistribution as aa, describeProfileWorkspacePathValidationFailure as ai, runAuthLogin as an, formatProfileAwareOpenMeldCliCommands as ao, createSpaceAddMembersGuideError as ar, renderOpenMeldHeader as at, loadSpaceSignalIndexOrNull as b, resolveOpenMeldProfileOrNull as ba, classifyDaemonServiceRunStartability as bi, computeRetryDelayMs as bn, removeProjectOutbox as bo, getCommandHintsFromContract as br, runDaemonStop as bt, runSpaceLeave as c, toStartBackgroundHelperExecutionCompatibility as ca, resolveAgentProfilePrimaryAgentControllerReport as ci, runAuthStatus as cn, syncLocalAgentActivity as co, createSpaceLeaveGuideError as cr, resolveGatewayWebOrigin as ct, runSpaceRemoveMembers as d, renderHumanErrorCard as da, listBuiltinAgentsRegistryEntries as di, formatActiveOrganizationLabel as dn, readAgentActivityContextForPath as do, createSpaceRemoveMembersGuideError as dr, runDaemonAutostart as dt, ensureVersionStateReady as ea, readProfileWorkspaceConfig as ei, connectWebSocket as en, formatInlineOpenMeldCliCommands as eo, createDoctorFailedGuideError as er, postLocalParticipationMutationReconcile as et, runSpaceSend as f, renderHumanTextErrorCard as fa, notifyDaemonRouteCatalogChanged as fi, createProfileByKind as fn, removeAgentActivityContextCache as fo, createSpaceResultGuideError as fr, runDaemonBackgroundStartForDecision as ft, buildHumanReadSignalsTranscriptItems as g, resolveRuntimeContext as ga, buildOnboardingPlan as gi, ensureAgentProfileRuntimeBinding as gn, readCodexSessionTitles as go, createStartAgentIdentityGuideError as gr, runDaemonReinstall as gt, runSpaceWriteWithPasswordRetry as h, parseCliViewMode as ha, buildDaemonRouteObservationPresentation as hi, promptTextEntry as hn, normalizeSharedSessionTitle as ho, createSpaceUpdatesGuideError as hr, runDaemonInterrupt as ht, runSpaceCreate as i, writeVersionState as ia, validateCustomProfileWorkspacePath as ii, evaluateCommandAuthentication as in, formatOpenMeldCliTextBlock as io, createResetConfirmationGuideError as ir, renderOpenMeldBrandBlockLines as it, resolveOpenMeldProfileForSpaceCommand as j, setSelectedOpenMeldProfileId as ja, parseAgentControllerRef as ji, buildDispatchResultMessageReadProjection as jn, readControllerTaskLifecycleOutboxHealth as jo, buildDualViewGuideMessage as jr, fetchSpaceUpdates as jt, assertValidSpaceIdTarget as k, clearSelectedOpenMeldProfileId as ka, getAgentControllerPermissionModeFieldLabel as ki, upsertSpaceConfig as kn, canonicalizeLocalProjectPath as ko, DualViewGuideError as kr, runDaemonStartupPreflight as kt, runSpaceList as l, resolveCurrentDaemonExpectedVersion as la, listAgentTargetStates as li, buildAuthStatusRows as ln, readDaemonServiceContract as lo, createSpaceMenuGuideError as lr, resolveSpaceSendText as lt, runSpaceReadWithPasswordRetry as m, formatMessage as ma, PREPARE_SESSION_RECONNECT_GRACE_MS as mi, resolveCreateProfileName as mn, resolveObservedAgentActivityBinding as mo, createSpaceTargetGuideError as mr, runDaemonInstall as mt, promptAndConfirmSpacePassword as n, fetchLatestPackageInfo as na, setCustomProfileWorkspace as ni, buildCommandAuthenticationPromptMessage as nn, formatOpenMeldCliCommands as no, createProfileCreateGuideError as nr, colorizeDisplayProfileLabel as nt, runSpaceHistory as o, resolveOpenMeldDistribution as oa, syncDeviceRuntimeStateProjection as oi, runAuthLogout as on, resolveSetupFollowUpCliEntryCommand as oo, createSpaceAliasTargetGuideError as or, renderOpenMeldLogo as ot, runSpaceWatch as p, createPresenter as pa, resolveLocalRegistryAgentIdFromAgentControllerRef as pi, resolveCreateProfileKind as pn, buildAgentActivityEvent as po, createSpaceSubcommandTargetGuideError as pr, runDaemonCancel as pt, runAgentsDisable as q, unregisterAgentActivityRoute as qa, isDaemonServiceJobNeverSpawned as qi, readDispatchSpaceActionContextFromEnv as qn, compareAgentControllerRefsForDisplay as qo, resolveGatewayChainReadiness as qr, runSkillsInstall as qt, runSpaceAddMembers as r, readVersionState as ra, setOpenMeldManagedProfileWorkspace as ri, ensureCommandAuthenticationOrCancel as rn, formatOpenMeldCliLine as ro, createProfileMenuGuideError as rr, printOpenMeldBanner as rt, runSpaceJoin as s, resolveDaemonRuntimeContractCompatibility as sa, createPrimaryBindingReadSession as si, runAuthMenu as sn, resolveUserFacingCliEntryCommand as so, createSpaceContractSetGuideError as sr, renderOpenMeldTagline as st, buildCreateSpacePasswordPromptConfig as t, fetchLatestCliBinaryRelease as ta, resolveConfiguredProfileWorkspacePath as ti, assessServerRequiredVersion as tn, formatOpenMeldCliCommand as to, createProfileActionGuideError as tr, colorizeAgentLabel as tt, runSpacePassword as u, buildHumanErrorCopy as ua, reconcileNewRunnableBuiltinAgentsForSetup as ui, buildAuthStatusSnapshot as un, upsertDaemonServiceContract as uo, createSpacePublicationSetGuideError as ur, runDaemon as ut, buildIdentityOnlyMembersSnapshotForReadProjection as v, isSelectedOpenMeldProfileRequiredError as va, buildDaemonServiceTargetSpec as vi, resolveServiceParticipationReadiness as vn, removeProjectInbox as vo, createUpgradeConfirmationGuideError as vr, runDaemonSnapshot as vt, buildHumanReplyContextSummary as w, listOpenMeldProfiles as wa, resolveDaemonDeviceId as wi, collectLocalAgentControllerInventory as wn, migrateProjectBindingStore as wo, getCliVersionInfo as wr, buildProfileWorkspaceRows as wt, toSpaceMetaUpsertInput as x, createOpenMeldAgentProfile as xa, classifyDaemonServiceWakeability as xi, submitProfileRuntimeAgentControllerReport as xn, bindProject as xo, registerSpaceMemberSelectionOptions as xr, runDaemonTeardownStrict as xt, loadSpaceIdentityDirectoryOrNull as y, requireOpenMeldProfile as ya, resolveDaemonServiceAlignmentDecision as yi, assessActionParticipationCandidate as yn, readAgentActivityOutboxHealth as yo, getCommandEntryContract as yr, runDaemonStatusFlow as yt, resolveAgentProfileSetup as z, setProfileDefaultView as za, isCurrentCommandCheckScopeActive as zi, promptSearchMultiselect as zn, cliBinaryDeltaPatchSchema as zo, formatDaemonFailureContextText as zr, resolveLocalComponentsStatus as zt };
|
|
106922
|
+
export { runAgentsRepair as $, readAgentActivityIntegrationStatus as $a, performManagedInstall as $i, formatDaemonServiceDowngradeBlockedRecommendation as $n, resolveProfileWorkspaceRuntime as $r, readBundledOpenMeldCliSkillDocumentByPath as $t, assertFullSignalIdArgument as A, alignSelectedOpenMeldProfileStorage as Aa, getAgentControllerPermissionModeDisplayMetadata as Ai, inspectSpaceCacheFile as An, unbindProject as Ao, buildAgentOverviewFromContract as Ar, shouldEmitAgentOverview as At, persistAgentTransportSelection as B, getProfileDefaultView as Ba, getCurrentCommandCheckState as Bi, formatRemovedCcRelationMessage as Bn, outLine as Bo, runDaemonServiceFullAlignment as Br, parseJsonResponse$1 as Bt, toSpaceMetaUpsertInput as C, createOpenMeldAgentProfile as Ca, classifyDaemonServiceWakeability as Ci, submitProfileRuntimeAgentControllerReport as Cn, bindProject as Co, registerSpaceMemberSelectionOptions as Cr, runDaemonTeardownStrict as Ct, formatHumanReadTargetList as D, primeOpenMeldProfilesSessionCache as Da, resolveOpenMeldEnvironmentTarget as Di, resolveLocalAgentControllerBlockerReasonCodes as Dn, removeProjectConnection as Do, registerDaemonControlTargetOptions as Dr, reconcileCliVersionView as Dt, buildHumanReplyContextSummary as E, listOpenMeldProfiles as Ea, resolveDaemonDeviceId as Ei, collectLocalAgentControllerInventory as En, migrateProjectBindingStore as Eo, getCliVersionInfo as Er, buildProfileWorkspaceRows as Et, emitSpaceAgentOverview as F, buildHumanAuthenticationCard as Fa, resolveAgentExecutionStatus as Fi, buildSignalIndex as Fn, renderTextInfoCard as Fo, OPENMELD_AGENT_MENTAL_MODEL_LINES as Fr, fetchSpaceMeta as Ft, runAgentsCustomList as G, requestLocalAgentActivitySync as Ga, resolveVersionChangeDirection as Gi, assessCliUpdate as Gn, cliJsonSkillsShowEnvelopeSchema as Go, formatAgentReplyReadinessLabel as Gr, runDaemonStartDecisionPrompt as Gt, runAgents as H, LocalProjectConnectionError as Ha, resetCurrentCommandCheckState as Hi, promptSearchSelect as Hn, cliJsonOutputEnvelopeSchema as Ho, resolveServiceReadinessFromServiceStatus as Hr, writeInstalledLocalComponentsSnapshot as Ht, emitSpaceCliAgentOverview as I, createAuthenticationError as Ia, resolveAgentProfileEditCapabilities as Ii, buildSignalMessageReadProjection as In, sanitizeTerminalDisplayText as Io, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Ir, updateSpaceMeta as It, runAgentsDetect as J, resolveAgentActivityRouteForPath as Ja, getDaemonSystemServiceLogPath as Ji, readDispatchOwnedRuntimeGuard as Jn, revokeOrganizationJoinLinkResponseSchema as Jo, mapAgentReplyReadinessToLegacyAutoReply as Jr, runSkillsEnsure as Jt, runAgentsCustomRemove as K, isAgentActivityRouteRegistered as Ka, readCurrentDaemonRuntimeContext as Ki, isCliUpdateCheckApplicable as Kn, getOrganizationJoinLinkResponseSchema as Ko, formatDeviceReplyReadinessLabel as Kr, collectSkillsReadinessSnapshot as Kt, prepareLocalAgentReadiness as L, resolveAuthenticationGuidance as La, resolveEvidenceSyncHealth as Li, buildSpaceRoundReadProjection as Ln, emitCliJsonEnvelope as Lo, areAllowedActionsEquivalent as Lr, readGatewayJsonResponse as Lt, prepareAuthenticatedSpaceCommandContext as M, getSelectedOpenMeldProfileId as Ma, listAgentControllerPermissionModeOptions as Mi, assertNoRemovedCcSpaceAddressingSyntax as Mn, enqueueControllerTaskLifecycleEventWhileLocked as Mo, formatDualViewGuideForDisplay as Mr, readDaemonStartFailureLogTailLines as Mt, resolveOpenMeldProfileForSpaceCommand as N, setSelectedOpenMeldProfileId as Na, parseAgentControllerRef as Ni, buildDispatchResultMessageReadProjection as Nn, readControllerTaskLifecycleOutboxHealth as No, buildDualViewGuideMessage as Nr, fetchSpaceUpdates as Nt, parseEnvelope as O, resolveOpenMeldProfile as Oa, buildAgentControllerRef as Oi, resolveLocalAgentControllerLaunchability as On, runIfAgentActivityBindingGenerationIsCurrent as Oo, registerAuthLoginRequestOptions as Or, emitDaemonAgentOverview as Ot, resolveSpaceAccessLabel as P, buildAgentAuthenticationGuide as Pa, resolveAgentControllerPermissionModeForController as Pi, buildDispatchResultReplyWorkflowProjection as Pn, renderInfoCard as Po, formatAgentOverviewPayload as Pr, createCliSpaceApi as Pt, runAgentsManage as Q, installAgentActivityIntegrations as Qa, buildInstallSelfJsonPayload as Qi, resolveElapsedTimeMs as Qn, createModelCatalogReadSession as Qr, ensureLocalSkills as Qt, buildReplyReadinessGuidance as R, resolveAuthenticationGuidanceFromError as Ra, resolveNativeAgentControllerPermissionModeForController as Ri, buildUpdatesReplyWorkflowProjection as Rn, errLine as Ro, buildAgentFacingPublicationModeGuideLines as Rr, readGatewayTextResponse as Rt, loadSpaceSignalIndexOrNull as S, resolveOpenMeldProfileOrNull as Sa, classifyDaemonServiceRunStartability as Si, computeRetryDelayMs as Sn, removeProjectOutbox as So, getCommandHintsFromContract as Sr, runDaemonStop as St, buildFormalSignalReadPayload as T, deleteOpenMeldProfile as Ta, ensureDaemonRuntimePaths as Ti, submitRuntimeAgentControllerReports as Tn, listProjectConnectionsWithStatus as To, registerSkillsTargetSelectionOptions as Tr, buildProfileWorkspacePresentation as Tt, runAgentsConfig as U, validateLocalProjectConnectionPath as Ua, startCurrentCommandCheckScope as Ui, isReturnKeypress as Un, cliJsonSkillsListEnvelopeSchema as Uo, resolveDaemonServiceFreshnessWarning as Ur, resolveDaemonServiceParticipationStatus as Ut, resolveAgentProfileSetup as V, setProfileDefaultView as Va, isCurrentCommandCheckScopeActive as Vi, promptSearchMultiselect as Vn, cliBinaryDeltaPatchSchema as Vo, formatDaemonFailureContextText as Vr, resolveLocalComponentsStatus as Vt, runAgentsCustomAdd as W, LocalDaemonControlPlaneClientError as Wa, inspectDaemonServiceInventory as Wi, runInteractivePrompt as Wn, cliJsonSkillsLoadEnvelopeSchema as Wo, resolveCurrentReplyReadinessSnapshot as Wr, runDaemonServiceParticipationGate as Wt, runAgentsEnable as X, AGENT_ACTIVITY_INTEGRATION_OWNER as Xa, readDaemonServiceJobCrashExitCode as Xi, writeDispatchSpaceActionRecord as Xn, package_default as Xo, resolveOpenClawLocalDiagnosticsValue as Xr, runSkillsUninstall as Xt, runAgentsDisable as Y, unregisterAgentActivityRoute as Ya, isDaemonServiceJobNeverSpawned as Yi, readDispatchSpaceActionContextFromEnv as Yn, compareAgentControllerRefsForDisplay as Yo, resolveGatewayChainReadiness as Yr, runSkillsInstall as Yt, runAgentsList as Z, defaultManagedIntegrationPaths as Za, resolveDaemonServiceManager as Zi, formatElapsedTime as Zn, syncProfileWorkspaceState as Zr, runSkillsUpdate as Zt, runSpaceWriteWithPasswordRetry as _, parseCliViewMode as _a, buildDaemonRouteObservationPresentation as _i, promptTextEntry as _n, normalizeSharedSessionTitle as _o, createSpaceUpdatesGuideError as _r, runDaemonInterrupt as _t, runSpaceDelete as a, readVersionState as aa, setOpenMeldManagedProfileWorkspace as ai, ensureCommandAuthenticationOrCancel as an, formatOpenMeldCliLine as ao, createProfileMenuGuideError as ar, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, isSelectedOpenMeldProfileRequiredError as ba, buildDaemonServiceTargetSpec as bi, resolveServiceParticipationReadiness as bn, removeProjectInbox as bo, createUpgradeConfirmationGuideError as br, runDaemonSnapshot as bt, runSpaceLeave as c, resolveOpenMeldDistribution as ca, syncDeviceRuntimeStateProjection as ci, runAuthLogout as cn, resolveSetupFollowUpCliEntryCommand as co, createSpaceAliasTargetGuideError as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, resolveCurrentDaemonExpectedVersion as da, listAgentTargetStates as di, buildAuthStatusRows as dn, readDaemonServiceContract as do, createSpaceMenuGuideError as dr, resolveSpaceSendText as dt, buildNextVersionState as ea, ensureOpenMeldManagedProfileWorkspace as ei, readRuntimeReportingHealthState as en, resolveAgentActivityDispatcherCommand as eo, formatDaemonServiceMissingRecommendation as er, runAgentsShow as et, runSpaceSend as f, buildHumanErrorCopy as fa, reconcileNewRunnableBuiltinAgentsForSetup as fi, buildAuthStatusSnapshot as fn, upsertDaemonServiceContract as fo, createSpacePublicationSetGuideError as fr, runDaemon as ft, runSpaceReadWithPasswordRetry as g, formatMessage as ga, PREPARE_SESSION_RECONNECT_GRACE_MS as gi, resolveCreateProfileName as gn, resolveObservedAgentActivityBinding as go, createSpaceTargetGuideError as gr, runDaemonInstall as gt, uploadPreparedSpaceFiles as h, createPresenter as ha, resolveLocalRegistryAgentIdFromAgentControllerRef as hi, resolveCreateProfileKind as hn, buildAgentActivityEvent as ho, createSpaceSubcommandTargetGuideError as hr, runDaemonCancel as ht, runSpaceCreate as i, fetchLatestPackageInfo as ia, setCustomProfileWorkspace as ii, buildCommandAuthenticationPromptMessage as in, formatOpenMeldCliCommands as io, createProfileCreateGuideError as ir, colorizeDisplayProfileLabel as it, assertValidSpaceIdTarget as j, clearSelectedOpenMeldProfileId as ja, getAgentControllerPermissionModeFieldLabel as ji, upsertSpaceConfig as jn, canonicalizeLocalProjectPath as jo, DualViewGuideError as jr, runDaemonStartupPreflight as jt, isSpaceCommandOutputHandledError as k, updateOpenMeldProfile as ka, createAgentExecutionStatusDisplayRows as ki, resolveLocalAgentControllerReportDecision as kn, setDefaultProjectConnection as ko, registerBuiltinAgentSelectionOptions as kr, createDelayedSpinner as kt, runSpaceList as l, resolveDaemonRuntimeContractCompatibility as la, createPrimaryBindingReadSession as li, runAuthMenu as ln, resolveUserFacingCliEntryCommand as lo, createSpaceContractSetGuideError as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, renderHumanTextErrorCard as ma, notifyDaemonRouteCatalogChanged as mi, createProfileByKind as mn, removeAgentActivityContextCache as mo, createSpaceResultGuideError as mr, runDaemonBackgroundStartForDecision as mt, promptAndConfirmSpacePassword as n, ensureVersionStateReady as na, readProfileWorkspaceConfig as ni, connectWebSocket as nn, formatInlineOpenMeldCliCommands as no, createDoctorFailedGuideError as nr, postLocalParticipationMutationReconcile as nt, runSpaceHistory as o, writeVersionState as oa, validateCustomProfileWorkspacePath as oi, evaluateCommandAuthentication as on, formatOpenMeldCliTextBlock as oo, createResetConfirmationGuideError as or, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, renderHumanErrorCard as pa, listBuiltinAgentsRegistryEntries as pi, formatActiveOrganizationLabel as pn, readAgentActivityContextForPath as po, createSpaceRemoveMembersGuideError as pr, runDaemonAutostart as pt, runAgentsCustomUpdate as q, registerAgentActivityRoute as qa, readCurrentObservedDaemonRuntimeStatus as qi, assertDispatchOwnedRuntimePublicWriteAllowed as qn, organizationJoinLinkErrorResponseSchema as qo, formatHumanReplyReadinessReason as qr, runSkillsCheck as qt, runSpaceAddMembers as r, fetchLatestCliBinaryRelease as ra, resolveConfiguredProfileWorkspacePath as ri, assessServerRequiredVersion as rn, formatOpenMeldCliCommand as ro, createProfileActionGuideError as rr, colorizeAgentLabel as rt, runSpaceJoin as s, isBinaryDistribution as sa, describeProfileWorkspacePathValidationFailure as si, runAuthLogin as sn, formatProfileAwareOpenMeldCliCommands as so, createSpaceAddMembersGuideError as sr, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, compareSemver as ta, normalizeCustomProfileWorkspacePath as ti, readRecentDaemonDispatchJournalEvents as tn, uninstallAgentActivityIntegrations as to, canUseInteractivePrompts as tr, formatTransportModeDisplay as tt, runSpacePassword as u, toStartBackgroundHelperExecutionCompatibility as ua, resolveAgentProfilePrimaryAgentControllerReport as ui, runAuthStatus as un, syncLocalAgentActivity as uo, createSpaceLeaveGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, resolveRuntimeContext as va, buildOnboardingPlan as vi, ensureAgentProfileRuntimeBinding as vn, readCodexSessionTitles as vo, createStartAgentIdentityGuideError as vr, runDaemonReinstall as vt, buildFormalDispatchResultReadPayload as w, createOpenMeldHumanProfile as wa, readRecentDaemonLifecycleEvents as wi, submitRuntimeAgentControllerReport as wn, listProjectBindings as wo, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as wr, runDaemonUninstall as wt, loadSpaceIdentityDirectoryOrNull as x, requireOpenMeldProfile as xa, resolveDaemonServiceAlignmentDecision as xi, assessActionParticipationCandidate as xn, readAgentActivityOutboxHealth as xo, getCommandEntryContract as xr, runDaemonStatusFlow as xt, emitHumanReadSignalsTextProjection as y, resolveViewProfileKey as ya, getSetupFlowCopy as yi, formatServiceParticipationReadinessLabel as yn, enqueueAgentActivityHookEvent as yo, createStartAuthenticationGuideError as yr, runDaemonRunAfterEntryChecks as yt, resolveHumanControllerDisplayName as z, resolveAuthenticationGuidanceFromMessage as za, finishCurrentCommandCheckScope as zi, createSpaceMemberIdentityIndex as zn, outJsonLine as zo, canonicalizeAllowedActions as zr, toStructuredGatewayFailure as zt };
|
|
106886
106923
|
|
|
106887
|
-
//# sourceMappingURL=command-
|
|
106924
|
+
//# sourceMappingURL=command-CYApmFQW.js.map
|