openmeld 0.3.206 → 0.3.208
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-BkHWMxE4.js → add-me-membership-CZS8PbYL.js} +2 -2
- package/dist/{add-me-membership-BkHWMxE4.js.map → add-me-membership-CZS8PbYL.js.map} +1 -1
- package/dist/{agents-BOTlKiwS.js → agents-pHCyQoFw.js} +1327 -283
- package/dist/agents-pHCyQoFw.js.map +1 -0
- package/dist/{api-client-foundation-DpgDs0rw.js → api-client-foundation-BdBSoby4.js} +3 -3
- package/dist/{api-client-foundation-DpgDs0rw.js.map → api-client-foundation-BdBSoby4.js.map} +1 -1
- package/dist/{api-client-foundation-6ms5gSu8.js → api-client-foundation-JiKYZcZI.js} +1 -1
- package/dist/auth-session-DDsceN-R.js +4 -0
- package/dist/{auth-session-BjSqMLTz.js → auth-session-ijcuaSsZ.js} +266 -75
- package/dist/auth-session-ijcuaSsZ.js.map +1 -0
- package/dist/{base-url-CRAYNW-4.js → base-url-BE3pFiOZ.js} +1 -1
- package/dist/{base-url-9A557X2K.js → base-url-C6sHRNGu.js} +2 -2
- package/dist/{base-url-9A557X2K.js.map → base-url-C6sHRNGu.js.map} +1 -1
- package/dist/cli-binary-manifest-DiUulkp0.js +117 -0
- package/dist/cli-binary-manifest-DiUulkp0.js.map +1 -0
- package/dist/{command-CkbzbvXy.js → command-CewWTp57.js} +53 -12
- package/dist/command-CewWTp57.js.map +1 -0
- package/dist/computer-connection-DK6L1_LF.js +54 -0
- package/dist/computer-connection-DK6L1_LF.js.map +1 -0
- package/dist/computer-connection-review-Dx4svB-T.js +39 -0
- package/dist/computer-connection-review-Dx4svB-T.js.map +1 -0
- package/dist/{computer-setup-continuation-Cd9nhLQ-.js → computer-setup-continuation-Bc0Tb7fi.js} +4 -4
- package/dist/{computer-setup-continuation-Cd9nhLQ-.js.map → computer-setup-continuation-Bc0Tb7fi.js.map} +1 -1
- package/dist/control-plane-D9jDcbMZ.js +1211 -0
- package/dist/control-plane-D9jDcbMZ.js.map +1 -0
- package/dist/daemon-local-state-file-jOXuXrky.js +45 -0
- package/dist/daemon-local-state-file-jOXuXrky.js.map +1 -0
- package/dist/daemon-runtime-lease-Dd4hdHNo.js +50 -0
- package/dist/daemon-runtime-lease-Dd4hdHNo.js.map +1 -0
- package/dist/{daemon-runtime-lease-BG9g0a6Z.js → daemon-runtime-lease-y3n1K0-C.js} +1 -1
- package/dist/{daemon-service-manager-DqVtRLBY.js → daemon-service-manager-Bh0LoLed.js} +1 -1
- package/dist/{daemon-service-manager-BVipiZwK.js → daemon-service-manager-GiMCiTmu.js} +99 -85
- package/dist/daemon-service-manager-GiMCiTmu.js.map +1 -0
- package/dist/daemon-service-runtime-D0LhAIGx.js +3642 -0
- package/dist/daemon-service-runtime-D0LhAIGx.js.map +1 -0
- package/dist/{daemon-state-BwIoDq7_.js → daemon-state-C37ZtIZK.js} +11 -5
- package/dist/daemon-state-C37ZtIZK.js.map +1 -0
- package/dist/{dist-CxadJClH.js → dist-B8I8inkY.js} +768 -579
- package/dist/dist-B8I8inkY.js.map +1 -0
- package/dist/dist-Dtdw34oo.js +4 -0
- package/dist/distribution-DY2fBeSW.js +72 -0
- package/dist/distribution-DY2fBeSW.js.map +1 -0
- package/dist/{elapsed-time-C7P-nWIO.js → elapsed-time-DZLKdEno.js} +7 -4
- package/dist/{elapsed-time-C7P-nWIO.js.map → elapsed-time-DZLKdEno.js.map} +1 -1
- package/dist/{installation-inventory-P49sTjhe.js → installation-inventory-_fMZas6v.js} +7 -6
- package/dist/{installation-inventory-P49sTjhe.js.map → installation-inventory-_fMZas6v.js.map} +1 -1
- package/dist/{lock-CvBnBcFK.js → lock-Dxp6o_t_.js} +56 -7
- package/dist/lock-Dxp6o_t_.js.map +1 -0
- package/dist/{openmeld-ChOHuaqH.js → openmeld-DQNVH1jx.js} +468 -41
- package/dist/openmeld-DQNVH1jx.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/openmeld-environment-target-NtJYJe1D.js +256 -0
- package/dist/openmeld-environment-target-NtJYJe1D.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-C7WykyDt.js → openmeld-maintenance-worker-CgGOwbP4.js} +9 -8
- package/dist/{openmeld-maintenance-worker-C7WykyDt.js.map → openmeld-maintenance-worker-CgGOwbP4.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-BBZhGo1A.js → openmeld-tools-update-coordinator-D6uuBitR.js} +558 -4107
- package/dist/openmeld-tools-update-coordinator-D6uuBitR.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{prepare-session-executor-CLmDoHom.js → prepare-session-executor-DQqmhjGj.js} +15 -13
- package/dist/{prepare-session-executor-CLmDoHom.js.map → prepare-session-executor-DQqmhjGj.js.map} +1 -1
- package/dist/{profiles-BCecj4Pj.js → runtime-transport-DryoU4rm.js} +1041 -2096
- package/dist/runtime-transport-DryoU4rm.js.map +1 -0
- package/dist/service-account-authorization-BN2F75_x.js +56 -0
- package/dist/service-account-authorization-BN2F75_x.js.map +1 -0
- package/dist/service-control-capabilities-BqEr7J9H.js +4 -0
- package/dist/service-control-capabilities-CnG1E-e3.js +54 -0
- package/dist/service-control-capabilities-CnG1E-e3.js.map +1 -0
- package/dist/upgrade-B9gjUOgQ.js +4 -0
- package/dist/{upgrade-l_5Tge_z.js → upgrade-CNeTiYSS.js} +6 -4
- package/dist/upgrade-CNeTiYSS.js.map +1 -0
- package/package.json +2 -2
- package/dist/agents-BOTlKiwS.js.map +0 -1
- package/dist/auth-session-BjSqMLTz.js.map +0 -1
- package/dist/auth-session-ahQ5VXiF.js +0 -4
- package/dist/command-CkbzbvXy.js.map +0 -1
- package/dist/daemon-runtime-lease-CXlGR-iA.js +0 -87
- package/dist/daemon-runtime-lease-CXlGR-iA.js.map +0 -1
- package/dist/daemon-service-manager-BVipiZwK.js.map +0 -1
- package/dist/daemon-state-BwIoDq7_.js.map +0 -1
- package/dist/dist-0boZRalP.js +0 -4
- package/dist/dist-CxadJClH.js.map +0 -1
- package/dist/lock-CvBnBcFK.js.map +0 -1
- package/dist/openmeld-ChOHuaqH.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-BBZhGo1A.js.map +0 -1
- package/dist/profiles-BCecj4Pj.js.map +0 -1
- package/dist/upgrade-BKEAZKre.js +0 -4
- package/dist/upgrade-l_5Tge_z.js.map +0 -1
|
@@ -2,23 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
import { _ as toSpaceWsUrl, a as toSpaceCreateUrl, d as toSpaceMembersUrl, f as toSpaceMetaUrl, m as toSpaceRemoveMembersUrl, o as toSpaceCursorUrl, p as toSpacePasswordUrl, s as toSpaceDeleteUrl, t as normalizeBaseUrl, u as toSpaceLeaveUrl } from "./urls-CY2uzH2-.js";
|
|
4
4
|
import { t as isLoopbackHostname } from "./loopback-hostname-DHQPKq8N.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as runWithHeldLock, dt as resolveOpenMeldEnvPreset, i as isOpenMeldLockError, t as acquireLock, u as resolveOpenMeldOrphanedLockIssue } from "./lock-Dxp6o_t_.js";
|
|
6
|
+
import { At as createAccountSpaceIndexApi, Fn as parseIncoming$1, Ht as createFetchTransport, In as parseServerErrorFrame$1, Jr as postSpaceMembersResponseSchema, Jt as createOrganizationApi, Ln as resolveCustomMentionAliasOverride, Mt as createAgentProfileBindingApi, Nn as MAX_TEXT_LENGTH, Oi as toCompatibleSpaceAddressingRequestWireValue, Pn as parseEnvelope$1, Sn as resolveProfileSpaceHistoryGatewayHost, Yr as removeSpaceMembersResponseSchema, br as resolveInitialSpaceAccessMode, en as createProfileSpaceHistoryApi, gt as buildProfileSpaceHistoryUpsertPath, ht as buildProfileSpaceHistoryStatusPath, n as OpenMeldApiClientInvalidResponseError, qr as leaveSpaceResponseSchema, qt as createOpenMeldApiClient, t as OpenMeldApiClientHttpError, wn as toStructuredApiClientFailure, xn as resolveAccountSpaceIndexGatewayHost } from "./dist-B8I8inkY.js";
|
|
6
7
|
import { v as canonicalizeBuiltinAgentControllerRef, x as parseAgentControllerRef, y as normalizeBuiltinAgentControllerId } from "./controller-contract-pe3_Re-c.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { l as
|
|
12
|
-
import { A as createSpaceMenuGuideError, B as createSpaceSendInputRequiredGuideError, C as createSpaceAddMembersGuideError, D as createSpaceDeleteHumanApprovalGuideError, Dt as formatCliVersionSummary, E as createSpaceCreateGuideError, F as createSpaceRemoveMembersGuideError, H as createSpaceTargetGuideError, Ht as formatAgentOverviewPayload, I as createSpaceResultGuideError, Jt as sanitizeTerminalDisplayText, L as createSpaceSendInputConflictGuideError, M as createSpacePublicationSetGuideError, N as createSpaceRemoveMembersCreatorGuideError, O as createSpaceLeaveCreatorGuideError, Ot as getCliVersionInfo, P as createSpaceRemoveMembersCurrentProfileGuideError, Qt as outLine, R as createSpaceSendInputEmptyGuideError, S as createSpaceAddMembersCurrentProfileGuideError, T as createSpaceContractSetGuideError, U as createSpaceUnsupportedProfileKindGuideError, V as createSpaceSubcommandTargetGuideError, W as createSpaceUpdatesGuideError, Xt as errLine, Yt as formatMessage, Zt as outJsonLine, bt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, gt as ROOT_ENTRY_START_COMMAND, ht as ROOT_ENTRY_COMMANDS, j as createSpaceProfileRequiredGuideError, k as createSpaceLeaveGuideError, m as canUseInteractivePrompts, qt as createPresenter, v as createProfileCreateGuideError, vt as validateSpaceMemberSelectionInput, xt as resolveSpaceAddMembersProgressPhase, yt as SPACE_ADD_MEMBERS_AGENT_OVERVIEW_STAGES, z as createSpaceSendInputFileReadFailedGuideError } from "./elapsed-time-
|
|
13
|
-
import { a as resolveBaseUrl, d as createDefaultRuntimeAgentControllerSettings } from "./base-url-
|
|
8
|
+
import { Dn as updateAgentRegistrations, Ga as resolveOpenMeldProfileOrNull, L as buildDaemonServiceRepairGuidance, Mn as resolveRegistryOriginLaunchCommand, Pn as resolveRegistryRuntimeAdapterContractByAgentControllerRef, Qa as createOpenMeldHumanProfile, Wa as requireOpenMeldProfile, Wr as createAuthorityOpenMeldServiceRuntimeId, Yr as parseAgentControllerRef$1, Z as resolveCurrentReplyReadinessSnapshot, Za as createOpenMeldAgentProfile, Zi as resolveCurrentOpenMeldAccountContext, ai as resolveSelectableCandidates, ao as assertAdditionalHumanProfileCreationEnabled, at as resolveReplyReadinessAvailabilityReasonCopy, cn as syncDeviceRuntimeStateProjection, ct as classifyGatewayChainFailure, dt as resolveGatewayChainRetryGuidance, eo as getOpenMeldProfileCapabilities, ft as resolveOpenClawLocalDiagnosticsValue, it as formatSpaceMemberCommandRecoveryCopy, jn as listBuiltinAgentsRegistryEntries, kt as syncProfileWorkspaceState, mo as resolveAuthenticationGuidanceFromError, ot as resolveReplyReadinessGuidanceSummaryCopy, pn as resolveAgentProfilePrimaryAgentControllerReport, po as resolveAuthenticationGuidance, qi as resolveRuntimeContext, qn as resolveLocalRegistryAgentIdFromAgentControllerRef, qr as isAgentExecutionReadyOrConnecting, rt as REPLY_READINESS_COPY, st as resolveOpenClawDiagnosticsGuidance, to as listOpenMeldProfiles, tt as formatReplyReadinessSummary, uo as buildHumanAuthenticationCard, ut as resolveGatewayChainRepairGuidance, vn as listAgentTargetStates, vo as resolveBuiltinAgentControllerBrand, wn as resolveAgentTargetState, yt as resolveLocalServiceDemand, zr as buildAgentControllerRef } from "./openmeld-tools-update-coordinator-D6uuBitR.js";
|
|
9
|
+
import { Pn as SPACE_FILE_MAX_SIZE_BYTES, Wn as resolveSpaceFileMimeType, Xt as CONVERSATION_CONTINUITY_WARNING_PURPOSE, Zr as MAX_TEXT_LENGTH$1, cr as parseOptionalClientMessageId, en as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, er as spaceFileNameSchema, kn as resolveSingleSpaceMentionLabels, kt as normalizeSpacePasswordText, nn as SPACE_MENTION_REJECT_NOTICE_PURPOSE, pt as buildTargetWakeLifecycleId, tn as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, wn as executionContextSelectionSchema } from "./runtime-transport-DryoU4rm.js";
|
|
10
|
+
import { ht as normalizeOptionalWorkingDirectory } from "./control-plane-D9jDcbMZ.js";
|
|
11
|
+
import { u as getAuthSessionState } from "./auth-session-ijcuaSsZ.js";
|
|
12
|
+
import { $t as buildDispatchResultMessageReadProjection, At as submitRuntimeAgentControllerReport, Bt as listSpaceConfigs, Cn as prepareSpaceComposerSubmission, Dn as returnToTargetPickerState, En as resolveSpaceMemberAgentOwnerWakeDiagnosticsView, Er as getCurrentCommandCheckState, Ft as resolveLocalAgentControllerReportDecision, Gt as removeSpaceConfig, H as formatServiceParticipationReadinessLabel, Ht as readSpaceConfig, It as projectSpaceProfileCache, Jt as updateSpaceLastSeenTs, Kt as toLocalSpaceStateIntegrityError, Lt as LocalSpaceStateIntegrityError, Mn as connectWebSocket, Mt as collectLocalAgentControllerInventory, On as updateAuthoredMentionRanges, Qt as SpaceComposerSubmissionError, S as buildSpaceWebUrl, Sn as openTargetPickerState, Sr as promptTextEntry, T as runDaemonServiceParticipationGate, Tn as resolveNextRecentMentionProfileIdsForQueuedText, U as formatServiceRuntimeHeadline, Ut as readSpaceLastSeenTs, Vt as readSpaceCacheDeletionNoticeState, W as resolveServiceParticipationReadiness, Wt as readSpaceRecentMentionProfileIds, X as createDelayedSpinner, Xt as writeSpaceCacheDeletionNoticeState, Yt as upsertSpaceConfig, Zt as writeSpaceRecentMentionProfileIds, _ as promptSearchSelect, _t as toStructuredGatewayFailure, an as buildSpaceMemberAgentPresencePresentation, b as resolveOffsetVisibleWindow, bn as listSpaceMentionRelationChoices, cn as buildSpaceProfileAddPlan, dn as closeMentionPickerState, et as renderHumanErrorCard, f as runAgentsRepair, fn as collectResolvedSpaceMentions, ft as parseSpaceMetaPayload, g as promptSearchMultiselectWorkbench, gn as extractMentionAuthoringPrefix, h as promptSearchMultiselect, hn as enterRelationPickerState, hr as buildUnifiedCardFrame, ht as readGatewayJsonResponse, in as buildSignalReplyWorkflowProjection, kt as submitProfileRuntimeAgentControllerReport, l as runAgentsEnable, lt as createCliSpaceApi, m as formatTransportModeDisplay, mn as createSpaceTargetCatalog, mt as GatewayHttpError, nn as buildSignalIndex, nr as buildCommandAuthenticationPromptMessage, on as buildSpaceMentionProfileIndex, pr as renderInfoCard, pt as parseSpaceMetaResponse, qt as toSpaceConfigListIntegrityError, rn as buildSignalMessageReadProjection, rr as ensureCommandAuthenticationOrCancel, sn as buildSpaceMessageReadRelationSummary, ut as fetchSpaceMeta, v as clampNumber$2, vn as isRelationPickerState, wn as prepareSpaceFileOnlySubmission, x as computeRetryDelayMs, xn as listSpaceMentionSuggestions, y as resolveAnchoredVisibleWindow, yn as isTargetPickerState, yt as assertDispatchOwnedRuntimePublicWriteAllowed, zt as isLocalSpaceStateCorruptResult } from "./agents-pHCyQoFw.js";
|
|
13
|
+
import { A as createSpaceMenuGuideError, B as createSpaceSendInputRequiredGuideError, C as createSpaceAddMembersGuideError, D as createSpaceDeleteHumanApprovalGuideError, Dt as formatCliVersionSummary, E as createSpaceCreateGuideError, F as createSpaceRemoveMembersGuideError, H as createSpaceTargetGuideError, Ht as formatAgentOverviewPayload, I as createSpaceResultGuideError, Jt as sanitizeTerminalDisplayText, L as createSpaceSendInputConflictGuideError, M as createSpacePublicationSetGuideError, N as createSpaceRemoveMembersCreatorGuideError, O as createSpaceLeaveCreatorGuideError, Ot as getCliVersionInfo, P as createSpaceRemoveMembersCurrentProfileGuideError, Qt as outLine, R as createSpaceSendInputEmptyGuideError, S as createSpaceAddMembersCurrentProfileGuideError, T as createSpaceContractSetGuideError, U as createSpaceUnsupportedProfileKindGuideError, V as createSpaceSubcommandTargetGuideError, W as createSpaceUpdatesGuideError, Xt as errLine, Yt as formatMessage, Zt as outJsonLine, bt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, gt as ROOT_ENTRY_START_COMMAND, ht as ROOT_ENTRY_COMMANDS, j as createSpaceProfileRequiredGuideError, k as createSpaceLeaveGuideError, m as canUseInteractivePrompts, qt as createPresenter, v as createProfileCreateGuideError, vt as validateSpaceMemberSelectionInput, xt as resolveSpaceAddMembersProgressPhase, yt as SPACE_ADD_MEMBERS_AGENT_OVERVIEW_STAGES, z as createSpaceSendInputFileReadFailedGuideError } from "./elapsed-time-DZLKdEno.js";
|
|
14
|
+
import { a as resolveBaseUrl, d as createDefaultRuntimeAgentControllerSettings } from "./base-url-C6sHRNGu.js";
|
|
15
|
+
import { a as formatOpenMeldCliCommand, c as formatOpenMeldCliTextBlock, f as resolveUserFacingCliEntryCommand, i as formatInlineOpenMeldCliCommands, l as formatProfileAwareOpenMeldCliCommand, o as formatOpenMeldCliCommands } from "./openmeld-environment-target-NtJYJe1D.js";
|
|
14
16
|
import { t as sleep } from "./dist-o3UL1EGQ.js";
|
|
15
|
-
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, m as resolveAuthRequestCompatibility, n as fetchSpaceRequestWithTimeout, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as resolveSpaceRequestTimeoutMsForDiagnostics, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
17
|
+
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, m as resolveAuthRequestCompatibility, n as fetchSpaceRequestWithTimeout, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as resolveSpaceRequestTimeoutMsForDiagnostics, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-BdBSoby4.js";
|
|
16
18
|
import { basename } from "node:path";
|
|
17
19
|
import { readFile } from "node:fs/promises";
|
|
18
20
|
import * as z$1 from "zod/v4";
|
|
19
21
|
import { openAsBlob } from "node:fs";
|
|
20
|
-
import pc from "picocolors";
|
|
21
22
|
import { stripVTControlCharacters } from "node:util";
|
|
23
|
+
import pc from "picocolors";
|
|
22
24
|
import { cancel, confirm, isCancel, multiselect, password, select, text } from "@clack/prompts";
|
|
23
25
|
import stringWidth from "string-width";
|
|
24
26
|
import { clearLine, createInterface, cursorTo, moveCursor } from "node:readline";
|
|
@@ -754,6 +756,41 @@ function normalizeOptionalText$6(value) {
|
|
|
754
756
|
}
|
|
755
757
|
//#endregion
|
|
756
758
|
//#region src/space/send-input.ts
|
|
759
|
+
function resolveSpaceTaskSelection(input) {
|
|
760
|
+
const modes = Number(input.newTask === true) + Number(Boolean(input.forkFrom)) + Number(Boolean(input.continueFrom));
|
|
761
|
+
if (modes === 0 && !input.taskAccess && !input.taskWorkspace) return;
|
|
762
|
+
if (modes > 1) throw new Error("Choose only one of --new-task, --fork-from, or --continue-from.");
|
|
763
|
+
const targetProfileId = input.wakeTargets?.[0];
|
|
764
|
+
if (!targetProfileId || input.wakeTargets?.length !== 1) throw new Error("Task selection requires exactly one --wake <profile-id>.");
|
|
765
|
+
if (input.continueFrom && (input.taskAccess || input.taskWorkspace)) throw new Error("A continued task keeps its original file access and workspace. Start a new task to change them.");
|
|
766
|
+
const sourceSignalId = input.forkFrom ?? input.continueFrom;
|
|
767
|
+
const sourceWakeId = sourceSignalId ? buildTargetWakeLifecycleId({
|
|
768
|
+
spaceId: input.space,
|
|
769
|
+
sourceSignalId,
|
|
770
|
+
targetProfileId
|
|
771
|
+
}) : void 0;
|
|
772
|
+
const preferences = {
|
|
773
|
+
access: input.taskAccess,
|
|
774
|
+
workspace: input.taskWorkspace
|
|
775
|
+
};
|
|
776
|
+
let value;
|
|
777
|
+
if (input.continueFrom) value = {
|
|
778
|
+
mode: "resume",
|
|
779
|
+
sourceWakeId
|
|
780
|
+
};
|
|
781
|
+
else if (input.forkFrom) value = {
|
|
782
|
+
mode: "fork",
|
|
783
|
+
sourceWakeId,
|
|
784
|
+
...preferences
|
|
785
|
+
};
|
|
786
|
+
else value = {
|
|
787
|
+
mode: input.newTask ? "new" : "auto",
|
|
788
|
+
...preferences
|
|
789
|
+
};
|
|
790
|
+
const parsed = executionContextSelectionSchema.safeParse(value);
|
|
791
|
+
if (!parsed.success) throw new Error(parsed.error.issues[0]?.message ?? "Invalid task selection.");
|
|
792
|
+
return parsed.data;
|
|
793
|
+
}
|
|
757
794
|
async function resolveSpaceSendText(input) {
|
|
758
795
|
const textValue = String(input.text ?? "");
|
|
759
796
|
const stdinEnabled = input.stdin === true;
|
|
@@ -19365,6 +19402,7 @@ async function runSend(input) {
|
|
|
19365
19402
|
});
|
|
19366
19403
|
const replyToSignalId = String(input.replyToSignalId ?? "").trim();
|
|
19367
19404
|
const payload = replyToSignalId ? await postReplyIntoThread({
|
|
19405
|
+
contextSelection: input.contextSelection,
|
|
19368
19406
|
spaceApi,
|
|
19369
19407
|
space,
|
|
19370
19408
|
requestContext,
|
|
@@ -19375,6 +19413,7 @@ async function runSend(input) {
|
|
|
19375
19413
|
clientMessageId,
|
|
19376
19414
|
files
|
|
19377
19415
|
}) : await spaceApi.postNormalMessage({
|
|
19416
|
+
contextSelection: input.contextSelection,
|
|
19378
19417
|
spaceId: space,
|
|
19379
19418
|
requestContext,
|
|
19380
19419
|
...input.password === void 0 ? {} : { spacePassword: input.password },
|
|
@@ -19416,6 +19455,7 @@ async function postReplyIntoThread(input) {
|
|
|
19416
19455
|
requestContext: input.requestContext,
|
|
19417
19456
|
...input.password === void 0 ? {} : { spacePassword: input.password },
|
|
19418
19457
|
body: {
|
|
19458
|
+
contextSelection: input.contextSelection,
|
|
19419
19459
|
text: input.outboundText,
|
|
19420
19460
|
clientMessageId: input.clientMessageId,
|
|
19421
19461
|
...toSpaceMessageFilesField(input.files),
|
|
@@ -24248,6 +24288,7 @@ async function runSpaceSend(input) {
|
|
|
24248
24288
|
}
|
|
24249
24289
|
try {
|
|
24250
24290
|
await runSend({
|
|
24291
|
+
contextSelection: input.contextSelection,
|
|
24251
24292
|
wakeTargets: input.wakeTargets,
|
|
24252
24293
|
referenceTargets: input.referenceTargets,
|
|
24253
24294
|
mentionTargets: input.mentionTargets,
|
|
@@ -24427,6 +24468,6 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
24427
24468
|
return runtime.resolvedView === "human" && canUseInteractivePrompts(runtime);
|
|
24428
24469
|
}
|
|
24429
24470
|
//#endregion
|
|
24430
|
-
export {
|
|
24471
|
+
export { resolveCreateProfileKind as $, parseEnvelope as A, resolveHumanControllerDisplayName as B, toSpaceMetaUpsertInput as C, formatHumanReadTargetList as D, buildHumanReplyContextSummary as E, resolveOpenMeldProfileForSpaceCommand as F, printOpenMeldBanner as G, resolveAgentProfileSetup as H, emitSpaceAgentOverview as I, renderOpenMeldLogo as J, renderOpenMeldBrandBlockLines as K, emitSpaceCliAgentOverview as L, assertFullSignalIdArgument as M, assertValidSpaceIdTarget as N, resolveLinkAccessLabel as O, prepareAuthenticatedSpaceCommandContext as P, createProfileByKind as Q, prepareLocalAgentReadiness as R, loadSpaceSignalIndexOrNull as S, buildFormalSignalReadPayload as T, colorizeAgentLabel as U, persistAgentTransportSelection as V, colorizeDisplayProfileLabel as W, resolveSpaceSendText as X, renderOpenMeldTagline as Y, resolveSpaceTaskSelection as Z, runSpaceWriteWithPasswordRetry as _, runSpaceDelete as a, buildIdentityOnlyMembersSnapshotForReadProjection as b, runSpaceLeave as c, runSpaceRemoveMembers as d, resolveCreateProfileName as et, runSpaceSend as f, runSpaceReadWithPasswordRetry as g, uploadPreparedSpaceFiles as h, runSpaceCreate as i, isSpaceCommandOutputHandledError as j, resolveOrganizationVisibilityLabel as k, runSpaceList as l, prepareRequestedSpaceSendFiles as m, promptAndConfirmSpacePassword as n, assessActionParticipationCandidate as nt, runSpaceHistory as o, runSpaceWatch as p, renderOpenMeldHeader as q, runSpaceAddMembers as r, runSpaceJoin as s, buildCreateSpacePasswordPromptConfig as t, ensureAgentProfileRuntimeBinding as tt, runSpacePassword as u, buildHumanReadSignalsTranscriptItems as v, buildFormalDispatchResultReadPayload as w, loadSpaceIdentityDirectoryOrNull as x, emitHumanReadSignalsTextProjection as y, buildReplyReadinessGuidance as z };
|
|
24431
24472
|
|
|
24432
|
-
//# sourceMappingURL=command-
|
|
24473
|
+
//# sourceMappingURL=command-CewWTp57.js.map
|