openmeld 0.3.83 → 0.3.85
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-CsoQDzyh.js} +2 -2
- package/dist/{add-me-membership-B9LeL4Ud.js.map → add-me-membership-CsoQDzyh.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-BjGlkb0g.js} +158 -110
- package/dist/{command-22-KBBsD.js.map → command-BjGlkb0g.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.85",
|
|
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) {
|
|
@@ -34107,7 +34107,7 @@ var registry_default = {
|
|
|
34107
34107
|
//#region ../../release/vendor-models.json
|
|
34108
34108
|
var vendor_models_default = {
|
|
34109
34109
|
schemaVersion: 1,
|
|
34110
|
-
updatedAt: "2026-08-
|
|
34110
|
+
updatedAt: "2026-08-23T09:35:00.000Z",
|
|
34111
34111
|
agentControllers: {
|
|
34112
34112
|
"codex": {
|
|
34113
34113
|
"defaultModelId": "gpt-5.5",
|
|
@@ -34543,6 +34543,17 @@ var vendor_models_default = {
|
|
|
34543
34543
|
"opencode": {
|
|
34544
34544
|
"defaultModelId": "opencode/north-mini-code-free",
|
|
34545
34545
|
"models": [
|
|
34546
|
+
{
|
|
34547
|
+
"id": "opencode/x-preview-f-free",
|
|
34548
|
+
"displayName": "OpenCode Ox Alpha Free",
|
|
34549
|
+
"unavailable": false,
|
|
34550
|
+
"supportedReasoningLevels": [
|
|
34551
|
+
"low",
|
|
34552
|
+
"high",
|
|
34553
|
+
"max"
|
|
34554
|
+
],
|
|
34555
|
+
"minCliVersion": null
|
|
34556
|
+
},
|
|
34546
34557
|
{
|
|
34547
34558
|
"id": "opencode/north-mini-code-free",
|
|
34548
34559
|
"displayName": "OpenCode North Mini Code Free",
|
|
@@ -37139,9 +37150,9 @@ function createModelCatalogReadSession(input) {
|
|
|
37139
37150
|
async function readModelCatalogOnce(baseUrl) {
|
|
37140
37151
|
try {
|
|
37141
37152
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
37142
|
-
import("./dist-
|
|
37153
|
+
import("./dist-CJnq8AgJ.js").then((n) => n.w),
|
|
37143
37154
|
import("./base-url-Cv9x5Es9.js").then((n) => n.n),
|
|
37144
|
-
import("./api-client-foundation-
|
|
37155
|
+
import("./api-client-foundation-9MJAKRpy.js").then((n) => n.t)
|
|
37145
37156
|
]);
|
|
37146
37157
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
37147
37158
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -45901,7 +45912,7 @@ function createSpaceMenuGuideError() {
|
|
|
45901
45912
|
"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
45913
|
"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
45914
|
"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>]",
|
|
45915
|
+
"openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--text-file <path>] [--file <path>...] [--plain] [--password <value>]",
|
|
45905
45916
|
SPACE_HISTORY_USAGE,
|
|
45906
45917
|
"openmeld space [--gateway-url <url>] contract [--profile <profile-id>] <space-id> [--json] [--password <value>]",
|
|
45907
45918
|
SPACE_CONTRACT_SET_USAGE,
|
|
@@ -46184,13 +46195,15 @@ function createSpaceDeleteHumanApprovalGuideError(summary) {
|
|
|
46184
46195
|
}
|
|
46185
46196
|
function createSpaceSubcommandTargetGuideError(command) {
|
|
46186
46197
|
const requiredArgsByCommand = {
|
|
46187
|
-
send: ["<space-id>", "
|
|
46198
|
+
send: ["<space-id>", "message text and/or --file <path>"],
|
|
46188
46199
|
history: ["<space-id>"],
|
|
46189
46200
|
thread: ["<space-id>", "<thread-id>"],
|
|
46190
46201
|
password: ["<space-id>", "one action: --password <value> | --clear"]
|
|
46191
46202
|
};
|
|
46192
46203
|
const optionalArgsByCommand = {
|
|
46193
46204
|
send: [
|
|
46205
|
+
"--file <path> (repeatable, max 10)",
|
|
46206
|
+
"--text-file <path>",
|
|
46194
46207
|
"--password <value>",
|
|
46195
46208
|
SPACE_GATEWAY_PARENT_OPTION_TEXT,
|
|
46196
46209
|
"--profile <profile-id>"
|
|
@@ -46216,7 +46229,7 @@ function createSpaceSubcommandTargetGuideError(command) {
|
|
|
46216
46229
|
password: [SPACE_GATEWAY_PARENT_OPTION_TEXT, "--profile <profile-id>"]
|
|
46217
46230
|
};
|
|
46218
46231
|
const commandByCommand = {
|
|
46219
|
-
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--file <path>] [--plain] [--password <value>]",
|
|
46232
|
+
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--text-file <path>] [--file <path>...] [--plain] [--password <value>]",
|
|
46220
46233
|
history: SPACE_HISTORY_USAGE,
|
|
46221
46234
|
thread: "openmeld space [--gateway-url <url>] thread [--profile <profile-id>] <space-id> <thread-id> [--password <value>]",
|
|
46222
46235
|
password: "openmeld space [--gateway-url <url>] password [--profile <profile-id>] <space-id> (--password <value>|--clear)"
|
|
@@ -46371,21 +46384,27 @@ function createSpaceSendInputRequiredGuideError() {
|
|
|
46371
46384
|
return new DualViewGuideError({
|
|
46372
46385
|
code: "send.input.required",
|
|
46373
46386
|
guide: {
|
|
46374
|
-
summary: "openmeld space send requires
|
|
46387
|
+
summary: "openmeld space send requires message text or at least one --file <path>.",
|
|
46375
46388
|
humanSteps: [
|
|
46376
46389
|
"Use quick text: openmeld space send <space-id> \"hello\"",
|
|
46377
46390
|
"Or pipe stdin: echo 'hello' | openmeld space send <space-id> --stdin",
|
|
46378
|
-
"Or
|
|
46391
|
+
"Or read message text from a file: openmeld space send <space-id> --text-file /tmp/message.txt",
|
|
46392
|
+
"Or share a file without filler text: openmeld space send <space-id> --file /tmp/launch-brief.pdf"
|
|
46379
46393
|
],
|
|
46380
46394
|
agentRequiredArgs: ["exactly one input source"],
|
|
46381
46395
|
agentOptionalArgs: [SPACE_GATEWAY_PARENT_OPTION_TEXT, "--profile <profile-id>"],
|
|
46382
46396
|
agentCommands: [
|
|
46383
46397
|
"openmeld space send --profile <profile-id> <space-id> \"hello\"",
|
|
46384
46398
|
"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",
|
|
46399
|
+
"openmeld space send --profile <profile-id> <space-id> --text-file /tmp/message.txt",
|
|
46400
|
+
"openmeld space send --profile <profile-id> <space-id> --file /tmp/launch-brief.pdf",
|
|
46386
46401
|
"openmeld space send --profile <profile-id> <space-id> --plain \"literal @Agent(wake) text\""
|
|
46387
46402
|
],
|
|
46388
|
-
notes: [
|
|
46403
|
+
notes: [
|
|
46404
|
+
"Prefer --stdin/--text-file for multiline or shell-sensitive message text.",
|
|
46405
|
+
"Use repeatable --file options to share up to 10 Space Files with or without message text.",
|
|
46406
|
+
"Use --plain only when @Name(wake) or @Name(reference) should be sent as literal text."
|
|
46407
|
+
]
|
|
46389
46408
|
}
|
|
46390
46409
|
});
|
|
46391
46410
|
}
|
|
@@ -46393,16 +46412,20 @@ function createSpaceSendInputConflictGuideError() {
|
|
|
46393
46412
|
return new DualViewGuideError({
|
|
46394
46413
|
code: "send.input.conflict",
|
|
46395
46414
|
guide: {
|
|
46396
|
-
summary: "openmeld space send received conflicting
|
|
46415
|
+
summary: "openmeld space send received conflicting message text sources. Use only one of: <text...>, --stdin, --text-file <path>.",
|
|
46397
46416
|
humanSteps: ["Pick only one source per command.", "Remove extra input flags and retry."],
|
|
46398
46417
|
agentRequiredArgs: ["exactly one input source"],
|
|
46399
46418
|
agentCommands: [
|
|
46400
46419
|
"openmeld space send --profile <profile-id> <space-id> \"hello\"",
|
|
46401
46420
|
"openmeld space send --profile <profile-id> <space-id> --stdin",
|
|
46402
|
-
"openmeld space send --profile <profile-id> <space-id> --file /tmp/message.txt",
|
|
46421
|
+
"openmeld space send --profile <profile-id> <space-id> --text-file /tmp/message.txt",
|
|
46403
46422
|
"openmeld space send --profile <profile-id> <space-id> --plain \"literal @Agent(wake) text\""
|
|
46404
46423
|
],
|
|
46405
|
-
notes: [
|
|
46424
|
+
notes: [
|
|
46425
|
+
"Do not combine positional text with --stdin or --text-file.",
|
|
46426
|
+
"A --file attachment may be combined with any one message text source.",
|
|
46427
|
+
"Use --plain only when @Name(wake) or @Name(reference) should be sent as literal text."
|
|
46428
|
+
]
|
|
46406
46429
|
}
|
|
46407
46430
|
});
|
|
46408
46431
|
}
|
|
@@ -46412,11 +46435,11 @@ function createSpaceSendInputFileReadFailedGuideError(path, reason) {
|
|
|
46412
46435
|
guide: {
|
|
46413
46436
|
summary: `failed to read send input file: ${path}`,
|
|
46414
46437
|
humanSteps: ["Check file path and permissions.", "Retry with a readable UTF-8 text file."],
|
|
46415
|
-
agentRequiredArgs: ["--file <path> must exist and be readable"],
|
|
46438
|
+
agentRequiredArgs: ["--text-file <path> must exist and be readable"],
|
|
46416
46439
|
agentCommands: [
|
|
46417
46440
|
"ls -l <path>",
|
|
46418
46441
|
"cat <path>",
|
|
46419
|
-
"openmeld space send --profile <profile-id> <space-id> --file <path>"
|
|
46442
|
+
"openmeld space send --profile <profile-id> <space-id> --text-file <path>"
|
|
46420
46443
|
],
|
|
46421
46444
|
notes: [`read error: ${reason}`]
|
|
46422
46445
|
}
|
|
@@ -46531,7 +46554,7 @@ function normalizeGuideExample(value, fallback) {
|
|
|
46531
46554
|
}
|
|
46532
46555
|
function createSpaceAliasTargetGuideError(command) {
|
|
46533
46556
|
const requiredArgsByCommand = {
|
|
46534
|
-
send: ["--space <space-id>", "
|
|
46557
|
+
send: ["--space <space-id>", "message text and/or --file <path>"],
|
|
46535
46558
|
tail: ["--space <space-id>"]
|
|
46536
46559
|
};
|
|
46537
46560
|
const optionalArgsByCommand = {
|
|
@@ -46540,7 +46563,8 @@ function createSpaceAliasTargetGuideError(command) {
|
|
|
46540
46563
|
"--base-url <url>",
|
|
46541
46564
|
"--password <value>",
|
|
46542
46565
|
"--stdin",
|
|
46543
|
-
"--file <path>"
|
|
46566
|
+
"--text-file <path>",
|
|
46567
|
+
"--file <path> (repeatable, max 10)"
|
|
46544
46568
|
],
|
|
46545
46569
|
tail: [
|
|
46546
46570
|
"--profile <id>",
|
|
@@ -46551,11 +46575,11 @@ function createSpaceAliasTargetGuideError(command) {
|
|
|
46551
46575
|
]
|
|
46552
46576
|
};
|
|
46553
46577
|
const commandByAlias = {
|
|
46554
|
-
send: "openmeld send [<text...>|--stdin|--file <path>] --space <space-id> [--plain] [--password <value>] [--profile <id>] [--base-url <url>]",
|
|
46578
|
+
send: "openmeld send [<text...>|--stdin|--text-file <path>] [--file <path>...] --space <space-id> [--plain] [--password <value>] [--profile <id>] [--base-url <url>]",
|
|
46555
46579
|
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
46580
|
};
|
|
46557
46581
|
const preferredCommand = {
|
|
46558
|
-
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--file <path>] [--plain] [--password <value>]",
|
|
46582
|
+
send: "openmeld space [--gateway-url <url>] send [--profile <profile-id>] <space-id> [<text...>|--stdin|--text-file <path>] [--file <path>...] [--plain] [--password <value>]",
|
|
46559
46583
|
tail: SPACE_HISTORY_USAGE
|
|
46560
46584
|
};
|
|
46561
46585
|
return new DualViewGuideError({
|
|
@@ -57000,7 +57024,7 @@ function parseDispatchTask(input) {
|
|
|
57000
57024
|
return {
|
|
57001
57025
|
...requiredFields,
|
|
57002
57026
|
agentControllerConversationId,
|
|
57003
|
-
|
|
57027
|
+
...resolveDispatchSourceFiles(payload),
|
|
57004
57028
|
...controllerSelection,
|
|
57005
57029
|
deliveryRecoveryReason,
|
|
57006
57030
|
defaultProjectId: normalizeOptionalText$44(payload.defaultProjectId) ?? null,
|
|
@@ -57034,6 +57058,12 @@ function parseDispatchTask(input) {
|
|
|
57034
57058
|
contextIdMappingSpec
|
|
57035
57059
|
};
|
|
57036
57060
|
}
|
|
57061
|
+
function resolveDispatchSourceFiles(payload) {
|
|
57062
|
+
return {
|
|
57063
|
+
attachments: payload.sourceSignalSnapshot?.attachments ?? [],
|
|
57064
|
+
files: payload.sourceSignalSnapshot?.files ?? []
|
|
57065
|
+
};
|
|
57066
|
+
}
|
|
57037
57067
|
function resolveDispatchTaskWorkingLanguage(payload) {
|
|
57038
57068
|
return payload.workingLanguage ?? null;
|
|
57039
57069
|
}
|
|
@@ -57163,10 +57193,23 @@ function renderDispatchPrompt(input) {
|
|
|
57163
57193
|
if (centerAgentRoleSection) sections.push(centerAgentRoleSection);
|
|
57164
57194
|
sections.push(["Current Wake message:", prompt].join("\n"));
|
|
57165
57195
|
if (promptInput.imageAttachmentPromptSection) sections.push(promptInput.imageAttachmentPromptSection);
|
|
57196
|
+
const spaceFilesSection = renderSharedSpaceFilesSection(promptInput);
|
|
57197
|
+
if (spaceFilesSection) sections.push(spaceFilesSection);
|
|
57166
57198
|
const completionSection = renderMandatoryCompletionSection(promptInput);
|
|
57167
57199
|
if (completionSection) sections.push(completionSection);
|
|
57168
57200
|
return sections.filter(Boolean).join("\n\n");
|
|
57169
57201
|
}
|
|
57202
|
+
function renderSharedSpaceFilesSection(input) {
|
|
57203
|
+
const files = input.spaceFiles ?? [];
|
|
57204
|
+
if (files.length === 0) return null;
|
|
57205
|
+
const cliEntry = normalizeOptionalText$44(input.cliEntry) ?? "openmeld";
|
|
57206
|
+
return [
|
|
57207
|
+
"Files shared with this message (canonical Space Files):",
|
|
57208
|
+
...files.map((file) => `- ${JSON.stringify(file.name)} — fileId=${file.fileId}, revision=${file.revision}, type=${file.mimeType}, size=${file.sizeBytes} bytes.`),
|
|
57209
|
+
"- Read or update these through the Space Files tools. The fileId and revision above identify the exact bytes that were sent.",
|
|
57210
|
+
`- 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\`.`
|
|
57211
|
+
].join("\n");
|
|
57212
|
+
}
|
|
57170
57213
|
function renderActivationIntentGate(input) {
|
|
57171
57214
|
if (!resolveSpacePublicationRequirement(input.spaceContractSnapshot).allowedActions.includes("stay_silent")) return null;
|
|
57172
57215
|
return [
|
|
@@ -68346,6 +68389,7 @@ function buildDispatchRuntimePrompt(input) {
|
|
|
68346
68389
|
shouldInjectCenterAgentRoleTemplate: input.parsedTask.targetProfileIsCenterAgent,
|
|
68347
68390
|
dispatchTriggerSource: input.parsedTask.dispatchTriggerSource,
|
|
68348
68391
|
imageAttachmentPromptSection: input.imageAttachmentPreparation.promptSection,
|
|
68392
|
+
spaceFiles: input.parsedTask.files,
|
|
68349
68393
|
mentionSourceProfileId: input.parsedTask.mentionSourceProfileId,
|
|
68350
68394
|
mentionSourceProfileKind: input.parsedTask.mentionSourceProfileKind,
|
|
68351
68395
|
mentionSourceMentionLabel: input.bootstrapContext.mentionSourceMentionLabel,
|
|
@@ -80357,7 +80401,10 @@ async function resolveSpaceSendText(input) {
|
|
|
80357
80401
|
const hasTextSource = textValue.length > 0;
|
|
80358
80402
|
const hasFileSource = filePath.length > 0;
|
|
80359
80403
|
const sourceCount = Number(hasTextSource) + Number(stdinEnabled) + Number(hasFileSource);
|
|
80360
|
-
if (sourceCount === 0)
|
|
80404
|
+
if (sourceCount === 0) {
|
|
80405
|
+
if (input.allowEmpty) return "";
|
|
80406
|
+
throw createSpaceSendInputRequiredGuideError();
|
|
80407
|
+
}
|
|
80361
80408
|
if (sourceCount > 1) throw createSpaceSendInputConflictGuideError();
|
|
80362
80409
|
let resolvedText = textValue;
|
|
80363
80410
|
if (hasFileSource) {
|
|
@@ -80369,7 +80416,7 @@ async function resolveSpaceSendText(input) {
|
|
|
80369
80416
|
}
|
|
80370
80417
|
}
|
|
80371
80418
|
if (stdinEnabled) resolvedText = await (input.readFromStdin ?? readSpaceSendStdin)();
|
|
80372
|
-
if (resolvedText.trim().length === 0) throw createSpaceSendInputEmptyGuideError();
|
|
80419
|
+
if (resolvedText.trim().length === 0 && !input.allowEmpty) throw createSpaceSendInputEmptyGuideError();
|
|
80373
80420
|
return resolvedText;
|
|
80374
80421
|
}
|
|
80375
80422
|
function readSpaceSendFile(path) {
|
|
@@ -101545,57 +101592,61 @@ async function leaveSpace(input) {
|
|
|
101545
101592
|
});
|
|
101546
101593
|
}
|
|
101547
101594
|
//#endregion
|
|
101548
|
-
//#region src/space/send-
|
|
101549
|
-
var
|
|
101595
|
+
//#region src/space/send-files.ts
|
|
101596
|
+
var SpaceSendFileError = class extends Error {
|
|
101550
101597
|
code;
|
|
101551
101598
|
requestId;
|
|
101552
101599
|
status;
|
|
101553
101600
|
upstreamCode;
|
|
101554
101601
|
constructor(input) {
|
|
101555
101602
|
super(input.message, { cause: input.cause });
|
|
101556
|
-
this.name = "
|
|
101603
|
+
this.name = "SpaceSendFileError";
|
|
101557
101604
|
this.code = input.code;
|
|
101558
101605
|
if (input.requestId) this.requestId = input.requestId;
|
|
101559
101606
|
if (input.status !== null && input.status !== void 0) this.status = input.status;
|
|
101560
101607
|
if (input.upstreamCode) this.upstreamCode = input.upstreamCode;
|
|
101561
101608
|
}
|
|
101562
101609
|
};
|
|
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.`
|
|
101610
|
+
async function prepareRequestedSpaceSendFiles(input) {
|
|
101611
|
+
if (input.filePaths.length > 10) throw new SpaceSendFileError({
|
|
101612
|
+
code: "space.file.too_many",
|
|
101613
|
+
message: `A Space message can include at most 10 files. The message was not sent.`
|
|
101571
101614
|
});
|
|
101572
101615
|
const prepared = [];
|
|
101573
|
-
for (const rawPath of input.
|
|
101574
|
-
if (!rawPath.trim()) throw new
|
|
101575
|
-
code: "space.
|
|
101576
|
-
message: "
|
|
101616
|
+
for (const rawPath of input.filePaths) {
|
|
101617
|
+
if (!rawPath.trim()) throw new SpaceSendFileError({
|
|
101618
|
+
code: "space.file.invalid_path",
|
|
101619
|
+
message: "File paths cannot be empty. The message was not sent."
|
|
101577
101620
|
});
|
|
101578
|
-
prepared.push(await
|
|
101621
|
+
prepared.push(await prepareSpaceSendFile(rawPath));
|
|
101579
101622
|
}
|
|
101580
101623
|
return prepared;
|
|
101581
101624
|
}
|
|
101582
|
-
async function
|
|
101625
|
+
async function uploadPreparedSpaceFiles(input) {
|
|
101583
101626
|
const uploaded = [];
|
|
101584
|
-
for (const
|
|
101585
|
-
const descriptor = await input.spaceApi.
|
|
101586
|
-
bytes:
|
|
101587
|
-
|
|
101588
|
-
mimeType:
|
|
101627
|
+
for (const file of input.files) try {
|
|
101628
|
+
const descriptor = await input.spaceApi.uploadFile({
|
|
101629
|
+
bytes: file.bytes,
|
|
101630
|
+
clientMutationId: crypto.randomUUID(),
|
|
101631
|
+
mimeType: file.mimeType,
|
|
101632
|
+
name: file.name,
|
|
101633
|
+
parentId: null,
|
|
101589
101634
|
requestContext: input.requestContext,
|
|
101590
101635
|
spaceId: input.spaceId,
|
|
101591
101636
|
...input.password === void 0 ? {} : { spacePassword: input.password }
|
|
101592
101637
|
});
|
|
101593
|
-
uploaded.push(
|
|
101638
|
+
uploaded.push({
|
|
101639
|
+
fileId: descriptor.id,
|
|
101640
|
+
revision: descriptor.latestRevision.revision,
|
|
101641
|
+
name: descriptor.name,
|
|
101642
|
+
mimeType: descriptor.latestRevision.mimeType,
|
|
101643
|
+
sizeBytes: descriptor.latestRevision.sizeBytes
|
|
101644
|
+
});
|
|
101594
101645
|
} catch (error) {
|
|
101595
101646
|
const failure = toStructuredApiClientFailure(error);
|
|
101596
|
-
throw new
|
|
101597
|
-
code: failure.code ?? "space.
|
|
101598
|
-
message: `Could not
|
|
101647
|
+
throw new SpaceSendFileError({
|
|
101648
|
+
code: failure.code ?? "space.file.upload_failed",
|
|
101649
|
+
message: `Could not add file "${file.name}" to this Space. The message was not sent. ${failure.message}`,
|
|
101599
101650
|
cause: error,
|
|
101600
101651
|
requestId: failure.requestId,
|
|
101601
101652
|
status: failure.status,
|
|
@@ -101604,52 +101655,43 @@ async function uploadPreparedSpaceAttachments(input) {
|
|
|
101604
101655
|
}
|
|
101605
101656
|
return uploaded;
|
|
101606
101657
|
}
|
|
101607
|
-
async function
|
|
101658
|
+
async function prepareSpaceSendFile(sourcePath) {
|
|
101608
101659
|
let bytes;
|
|
101609
101660
|
try {
|
|
101610
101661
|
bytes = await readFile(sourcePath);
|
|
101611
101662
|
} catch (error) {
|
|
101612
|
-
if (readNodeErrorCode(error) === "ENOENT") throw new
|
|
101613
|
-
code: "space.
|
|
101614
|
-
message: `
|
|
101663
|
+
if (readNodeErrorCode(error) === "ENOENT") throw new SpaceSendFileError({
|
|
101664
|
+
code: "space.file.file_not_found",
|
|
101665
|
+
message: `File not found: ${sourcePath}. The message was not sent.`,
|
|
101615
101666
|
cause: error
|
|
101616
101667
|
});
|
|
101617
|
-
throw new
|
|
101618
|
-
code: "space.
|
|
101619
|
-
message: `Could not read
|
|
101668
|
+
throw new SpaceSendFileError({
|
|
101669
|
+
code: "space.file.file_unreadable",
|
|
101670
|
+
message: `Could not read file: ${sourcePath}. The message was not sent.`,
|
|
101620
101671
|
cause: error
|
|
101621
101672
|
});
|
|
101622
101673
|
}
|
|
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.`
|
|
101674
|
+
if (bytes.byteLength > 10485760) throw new SpaceSendFileError({
|
|
101675
|
+
code: "space.file.too_large",
|
|
101676
|
+
message: `File exceeds the ${formatFileSizeLimit()} limit: ${sourcePath}. The message was not sent.`
|
|
101630
101677
|
});
|
|
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.`
|
|
101678
|
+
const parsedName = spaceFileNameSchema.safeParse(basename(sourcePath));
|
|
101679
|
+
if (!parsedName.success) throw new SpaceSendFileError({
|
|
101680
|
+
code: "space.file.invalid_file_name",
|
|
101681
|
+
message: `File name is invalid: ${sourcePath}. The message was not sent.`
|
|
101640
101682
|
});
|
|
101641
101683
|
return {
|
|
101642
101684
|
bytes,
|
|
101643
|
-
|
|
101644
|
-
mimeType
|
|
101685
|
+
name: parsedName.data,
|
|
101686
|
+
mimeType: resolveSpaceFileMimeType({ fileName: parsedName.data })
|
|
101645
101687
|
};
|
|
101646
101688
|
}
|
|
101647
101689
|
function readNodeErrorCode(error) {
|
|
101648
101690
|
if (!(error && typeof error === "object" && "code" in error)) return null;
|
|
101649
101691
|
return typeof error.code === "string" ? error.code : null;
|
|
101650
101692
|
}
|
|
101651
|
-
function
|
|
101652
|
-
return `${
|
|
101693
|
+
function formatFileSizeLimit() {
|
|
101694
|
+
return `${SPACE_FILE_MAX_SIZE_BYTES / (1024 * 1024)} MiB`;
|
|
101653
101695
|
}
|
|
101654
101696
|
//#endregion
|
|
101655
101697
|
//#region src/space/send.ts
|
|
@@ -101672,10 +101714,7 @@ async function runSend(input) {
|
|
|
101672
101714
|
flag: "--reply-to",
|
|
101673
101715
|
resolvedView: runtime.resolvedView
|
|
101674
101716
|
});
|
|
101675
|
-
const
|
|
101676
|
-
attachmentPaths: input.attachmentPaths ?? [],
|
|
101677
|
-
replyToSignalId: input.replyToSignalId
|
|
101678
|
-
});
|
|
101717
|
+
const preparedFiles = await prepareRequestedSpaceSendFiles({ filePaths: input.filePaths ?? [] });
|
|
101679
101718
|
const owner = openMeldProfile.profileKind === "agent" ? String(openMeldProfile.ownerUserId ?? "").trim() : "";
|
|
101680
101719
|
const ownerName = openMeldProfile.profileKind === "agent" ? String(openMeldProfile.ownerName ?? "").trim() : "";
|
|
101681
101720
|
const profileIdentity = {
|
|
@@ -101686,7 +101725,10 @@ async function runSend(input) {
|
|
|
101686
101725
|
...owner ? { owner } : {},
|
|
101687
101726
|
...ownerName ? { ownerName } : {}
|
|
101688
101727
|
};
|
|
101689
|
-
const text =
|
|
101728
|
+
const text = input.text.trim().length === 0 && preparedFiles.length > 0 ? {
|
|
101729
|
+
ok: true,
|
|
101730
|
+
value: ""
|
|
101731
|
+
} : sanitizeText(input.text);
|
|
101690
101732
|
if (!text.ok) throw new Error(text.reason);
|
|
101691
101733
|
assertNoRemovedCcSpaceAddressingSyntax(text.value);
|
|
101692
101734
|
emitAgentSendProgress({
|
|
@@ -101696,7 +101738,10 @@ async function runSend(input) {
|
|
|
101696
101738
|
summary: input.plainText ? "Preparing message text without Space mention parsing." : "Preparing message text and canonical Space mentions.",
|
|
101697
101739
|
spaceId: space
|
|
101698
101740
|
});
|
|
101699
|
-
const { outboundMessageEnvelope, outboundText } =
|
|
101741
|
+
const { outboundMessageEnvelope, outboundText } = text.value.length === 0 ? {
|
|
101742
|
+
outboundMessageEnvelope: void 0,
|
|
101743
|
+
outboundText: ""
|
|
101744
|
+
} : await resolveOutboundSubmission({
|
|
101700
101745
|
openMeldProfile,
|
|
101701
101746
|
password: input.password,
|
|
101702
101747
|
plainText: input.plainText === true,
|
|
@@ -101721,14 +101766,14 @@ async function runSend(input) {
|
|
|
101721
101766
|
}
|
|
101722
101767
|
});
|
|
101723
101768
|
const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile });
|
|
101724
|
-
|
|
101725
|
-
|
|
101769
|
+
emitFileUploadProgress({
|
|
101770
|
+
fileCount: preparedFiles.length,
|
|
101726
101771
|
presenter,
|
|
101727
101772
|
resolvedView: runtime.resolvedView,
|
|
101728
101773
|
spaceId: space
|
|
101729
101774
|
});
|
|
101730
|
-
const
|
|
101731
|
-
|
|
101775
|
+
const files = await uploadPreparedSpaceFiles({
|
|
101776
|
+
files: preparedFiles,
|
|
101732
101777
|
password: input.password,
|
|
101733
101778
|
requestContext,
|
|
101734
101779
|
spaceApi,
|
|
@@ -101751,13 +101796,14 @@ async function runSend(input) {
|
|
|
101751
101796
|
replyToSignalId,
|
|
101752
101797
|
outboundText,
|
|
101753
101798
|
outboundMessageEnvelope,
|
|
101754
|
-
clientMessageId
|
|
101799
|
+
clientMessageId,
|
|
101800
|
+
files
|
|
101755
101801
|
}) : await spaceApi.postNormalMessage({
|
|
101756
101802
|
spaceId: space,
|
|
101757
101803
|
requestContext,
|
|
101758
101804
|
...input.password === void 0 ? {} : { spacePassword: input.password },
|
|
101759
101805
|
text: outboundText,
|
|
101760
|
-
...
|
|
101806
|
+
...toSpaceMessageFilesField(files),
|
|
101761
101807
|
meta: { clientMessageId },
|
|
101762
101808
|
...outboundMessageEnvelope ? { messageEnvelope: outboundMessageEnvelope } : {}
|
|
101763
101809
|
});
|
|
@@ -101765,8 +101811,8 @@ async function runSend(input) {
|
|
|
101765
101811
|
code: "send.response",
|
|
101766
101812
|
payload
|
|
101767
101813
|
});
|
|
101768
|
-
|
|
101769
|
-
|
|
101814
|
+
emitSentFileResult({
|
|
101815
|
+
fileCount: files.length,
|
|
101770
101816
|
presenter,
|
|
101771
101817
|
signalId: payload.id
|
|
101772
101818
|
});
|
|
@@ -101796,6 +101842,7 @@ async function postReplyIntoThread(input) {
|
|
|
101796
101842
|
body: {
|
|
101797
101843
|
text: input.outboundText,
|
|
101798
101844
|
clientMessageId: input.clientMessageId,
|
|
101845
|
+
...toSpaceMessageFilesField(input.files),
|
|
101799
101846
|
...input.outboundMessageEnvelope ? { messageEnvelope: input.outboundMessageEnvelope } : {}
|
|
101800
101847
|
}
|
|
101801
101848
|
})).signal;
|
|
@@ -101952,26 +101999,26 @@ function emitAgentSendProgress(input) {
|
|
|
101952
101999
|
}
|
|
101953
102000
|
});
|
|
101954
102001
|
}
|
|
101955
|
-
function
|
|
101956
|
-
if (input.
|
|
102002
|
+
function emitFileUploadProgress(input) {
|
|
102003
|
+
if (input.fileCount === 0) return;
|
|
101957
102004
|
emitAgentSendProgress({
|
|
101958
102005
|
presenter: input.presenter,
|
|
101959
102006
|
resolvedView: input.resolvedView,
|
|
101960
|
-
stage: "
|
|
101961
|
-
summary: `
|
|
102007
|
+
stage: "upload_files",
|
|
102008
|
+
summary: `Adding ${input.fileCount} file${input.fileCount === 1 ? "" : "s"} to this Space before sending the message.`,
|
|
101962
102009
|
spaceId: input.spaceId
|
|
101963
102010
|
});
|
|
101964
102011
|
}
|
|
101965
|
-
function
|
|
101966
|
-
return
|
|
102012
|
+
function toSpaceMessageFilesField(files) {
|
|
102013
|
+
return files.length > 0 ? { files: [...files] } : {};
|
|
101967
102014
|
}
|
|
101968
|
-
function
|
|
101969
|
-
if (input.
|
|
102015
|
+
function emitSentFileResult(input) {
|
|
102016
|
+
if (input.fileCount === 0) return;
|
|
101970
102017
|
input.presenter.line({
|
|
101971
|
-
code: "send.
|
|
101972
|
-
text: `Sent Space message ${input.signalId} with ${input.
|
|
102018
|
+
code: "send.files_sent",
|
|
102019
|
+
text: `Sent Space message ${input.signalId} with ${input.fileCount} file${input.fileCount === 1 ? "" : "s"}.`,
|
|
101973
102020
|
data: {
|
|
101974
|
-
|
|
102021
|
+
fileCount: input.fileCount,
|
|
101975
102022
|
signalId: input.signalId
|
|
101976
102023
|
}
|
|
101977
102024
|
});
|
|
@@ -106693,9 +106740,10 @@ async function runSpaceSend(input) {
|
|
|
106693
106740
|
text: "Profile guard: keep profile consistent unless intentional switch."
|
|
106694
106741
|
});
|
|
106695
106742
|
const text = await resolveSpaceSendText({
|
|
106743
|
+
allowEmpty: (input.filePaths?.length ?? 0) > 0,
|
|
106696
106744
|
text: input.text,
|
|
106697
106745
|
stdin: input.stdin,
|
|
106698
|
-
file: input.
|
|
106746
|
+
file: input.textFile
|
|
106699
106747
|
});
|
|
106700
106748
|
if (runtime.resolvedView === "agent") {
|
|
106701
106749
|
const workflowAckHint = resolveWorkflowAckHint(text);
|
|
@@ -106709,7 +106757,7 @@ async function runSpaceSend(input) {
|
|
|
106709
106757
|
profile: openMeldProfile.openMeldProfileId,
|
|
106710
106758
|
baseUrl,
|
|
106711
106759
|
space: normalizedSpace,
|
|
106712
|
-
|
|
106760
|
+
filePaths: input.filePaths,
|
|
106713
106761
|
password: input.password,
|
|
106714
106762
|
plainText: input.plainText === true,
|
|
106715
106763
|
replyToSignalId: input.replyToSignalId,
|
|
@@ -106882,6 +106930,6 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
106882
106930
|
return runtime.resolvedView === "human" && canUseInteractivePrompts(runtime);
|
|
106883
106931
|
}
|
|
106884
106932
|
//#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 };
|
|
106933
|
+
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
106934
|
|
|
106887
|
-
//# sourceMappingURL=command-
|
|
106935
|
+
//# sourceMappingURL=command-BjGlkb0g.js.map
|