openmeld 0.3.172 → 0.3.174
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-ma_jKZx4.js → add-me-membership-zsKO5c2i.js} +2 -2
- package/dist/{add-me-membership-ma_jKZx4.js.map → add-me-membership-zsKO5c2i.js.map} +1 -1
- package/dist/{api-client-foundation-BBeupKRy.js → api-client-foundation-BmL7N1rL.js} +3 -3
- package/dist/{api-client-foundation-BBeupKRy.js.map → api-client-foundation-BmL7N1rL.js.map} +1 -1
- package/dist/{api-client-foundation-CZzsv-cX.js → api-client-foundation-L2yqzJvx.js} +1 -1
- package/dist/{auth-session-BWlfQspT.js → auth-session-CACyTxMs.js} +2 -2
- package/dist/{auth-session-BWlfQspT.js.map → auth-session-CACyTxMs.js.map} +1 -1
- package/dist/auth-session-xtsMt51e.js +4 -0
- package/dist/{base-url-iT1pbiC4.js → base-url-8Q6W3z6w.js} +1 -1
- package/dist/{base-url-CgF_v0Ue.js → base-url-DvSrOI4A.js} +2 -2
- package/dist/{base-url-CgF_v0Ue.js.map → base-url-DvSrOI4A.js.map} +1 -1
- package/dist/{command-BGtiK3oj.js → command-CdMfJRAB.js} +320 -500
- package/dist/command-CdMfJRAB.js.map +1 -0
- package/dist/{controller-contract-CvjP4mYj.js → controller-contract-pe3_Re-c.js} +8 -2
- package/dist/controller-contract-pe3_Re-c.js.map +1 -0
- package/dist/dist-CTrCRN9d.js +4 -0
- package/dist/{dist-HMJJDAo6.js → dist-D_08t8sR.js} +240 -731
- package/dist/dist-D_08t8sR.js.map +1 -0
- package/dist/{elapsed-time-DVvnl-Wp.js → elapsed-time-DRZZZEOZ.js} +8 -8
- package/dist/{elapsed-time-DVvnl-Wp.js.map → elapsed-time-DRZZZEOZ.js.map} +1 -1
- package/dist/{installer-B7a0S1g0.js → installer-DHZPSSGu.js} +5 -5
- package/dist/installer-DHZPSSGu.js.map +1 -0
- package/dist/{openmeld-BaV0IoGd.js → openmeld-NJMNglsl.js} +46 -82
- package/dist/openmeld-NJMNglsl.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-maintenance-worker-DnWbw151.js → openmeld-maintenance-worker-XcbZgg97.js} +4 -4
- package/dist/{openmeld-maintenance-worker-DnWbw151.js.map → openmeld-maintenance-worker-XcbZgg97.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-D9myMx6w.js → openmeld-tools-update-coordinator-pczmEBLZ.js} +26 -16
- package/dist/openmeld-tools-update-coordinator-pczmEBLZ.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{runtime-transport-5G8zV7dE.js → runtime-transport-B1F7rGb0.js} +5 -8
- package/dist/runtime-transport-B1F7rGb0.js.map +1 -0
- package/dist/upgrade-DUA-5zZT.js +4 -0
- package/dist/{upgrade-B1BXmCxg.js → upgrade-h0cX0c-E.js} +4 -4
- package/dist/{upgrade-B1BXmCxg.js.map → upgrade-h0cX0c-E.js.map} +1 -1
- package/package.json +2 -2
- package/skills/openmeld-cli/SKILL.md +3 -1
- package/skills/openmeld-cli/playbooks/space-ops.md +17 -45
- package/skills/openmeld-cli/references/commands.md +6 -13
- package/dist/auth-session-DmnsWpk0.js +0 -4
- package/dist/command-BGtiK3oj.js.map +0 -1
- package/dist/controller-contract-CvjP4mYj.js.map +0 -1
- package/dist/dist-DgC0UjmC.js +0 -4
- package/dist/dist-HMJJDAo6.js.map +0 -1
- package/dist/installer-B7a0S1g0.js.map +0 -1
- package/dist/openmeld-BaV0IoGd.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-D9myMx6w.js.map +0 -1
- package/dist/runtime-transport-5G8zV7dE.js.map +0 -1
- package/dist/upgrade-C1mhGlqL.js +0 -4
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
import { c as toSpaceDispatchLookupUrl, h as toSpaceResultUrl, i as toSpaceContractUrl, l as toSpaceDispatchTraceUrl, r as toSpaceBoardUrl, t as normalizeBaseUrl } from "./urls-4D7CaXe3.js";
|
|
4
4
|
import { $ as openMeldManagedVersionBinaryPath, A as formatLocalMachineIssueMessage, C as LocalMachineFailureError, D as createOrphanedSetupConcurrencyIssue, I as accountsDir, J as normalizeAccountKey, N as accountProfileSpaceCacheDir, O as isLocalMachineFailureError, P as accountProfileViewPath, Q as openMeldManagedBinaryPath, T as createActiveSetupConcurrencyIssue, X as openMeldBackupsDir, at as profileViewPath, b as resolveOpenMeldLaneDescriptor, c as repairOrphanedLegacyLocks, ct as resolveOpenMeldCliEntryNameFromArgv, dt as resolveOpenMeldRootDir, f as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, g as resolveCliContext, gt as systemDir, ht as spacesDir, i as isOpenMeldOrphanedLockError, it as profileDir, k as toRecognizedLocalMachineFailureError, l as resolveOpenMeldOrphanedLockIssue, lt as resolveOpenMeldEnvPreset, mt as skillsDir, n as buildOpenMeldOrphanedLockAction, p as OPENMELD_CLI_CONTEXT_ENV_KEY, r as isOpenMeldLockError, rt as organizationSkillReleaseDir, s as releaseLockSync, t as acquireLock, tt as openMeldRootDir, u as runWithHeldLock, y as formatLaneScopeSentence } from "./lock-VfUd0-tH.js";
|
|
5
|
-
import { c as agentControllerConversationRefSchema } from "./controller-contract-
|
|
6
|
-
import { $a as resolveAuthenticationGuidance, $t as setDefaultProjectConnection, Aa as requireOpenMeldProfile, At as resolveProfileWorkspaceRuntime, B as resolveDaemonServiceFreshnessWarning, Br as buildAgentControllerRef, Bt as describeProfileWorkspacePathValidationFailure, Ca as parseCliViewMode, Da as setProfileDefaultView, Dn as detectInstalledSkillsAgents, Dt as syncProfileWorkspaceState, Ea as getProfileDefaultView, Ei as inspectDaemonServiceInventory, En as canManageRegistryAgentSkillTargets, Fn as requestLocalAgentActivitySync, Ft as resolveConfiguredProfileWorkspacePath, Ga as getSelectedOpenMeldProfileId, Gt as listProjectBindings, Ha as alignSelectedOpenMeldProfileStorage, Ia as listOpenMeldProfiles, Ii as readCurrentDaemonRuntimeContext, Ka as setSelectedOpenMeldProfileId, Kr as getAgentControllerPermissionModeDisplayMetadata, Kt as listProjectConnectionsWithStatus, La as primeOpenMeldProfilesSessionCache, Li as readCurrentObservedDaemonRuntimeStatus, Lt as setCustomProfileWorkspace, Ma as createOpenMeldAgentProfile, Mt as normalizeCustomProfileWorkspacePath, Na as createOpenMeldHumanProfile, Nn as notifyDaemonRouteCatalogChanged, Nt as readProfileWorkspaceConfig, On as resolveSkillsAgentRegistry, Ot as createModelCatalogReadSession, Pa as deleteOpenMeldProfile, Pn as LocalDaemonControlPlaneClientError, Q as formatHumanReplyReadinessReason$1, Qr as projectPeopleComputersToLegacyLocalRuntimes, Qt as runIfAgentActivityBindingGenerationIsCurrent, Ra as resolveOpenMeldProfile, Rt as setOpenMeldManagedProfileWorkspace, Sa as getSetupFlowCopy, So as assessServerRequiredVersion, Ta as resolveViewProfileKey, To as readCurrentLocalDeviceId, Ut as bindProject, Wa as clearSelectedOpenMeldProfileId, Wr as createAgentExecutionStatusDisplayRows, X as formatAgentReplyReadinessLabel, Xa as buildHumanAuthenticationCard, Xr as parseAgentControllerRef, Xt as removeProjectConnection, Y as resolveCurrentReplyReadinessSnapshot, Yn as resolveLocalRegistryAgentIdFromAgentControllerRef, Yr as listAgentControllerPermissionModeOptions, Z as formatDeviceReplyReadinessLabel, Za as createAuthenticationError, Zr as peopleComputerContainsDevice, _a as OPENMELD_VERSION, _s as resolveSetupFollowUpCliEntryCommand, ai as resolveNativeAgentControllerPermissionModeForController, ba as buildDaemonRouteObservationPresentation$1, bn as reconcileNewRunnableBuiltinAgentsForSetup, bs as compareAgentControllerRefsForDisplay, c as isCliUpdateCheckApplicable, cs as resolveOpenMeldEnvironmentTarget, d as scheduleDaemonServiceUpdate, da as resolveDaemonRuntimeContractCompatibility, dn as resolveAgentProfilePrimaryAgentControllerReport, do as classifyDaemonServiceRunStartability, ds as formatOpenMeldCliCommand, en as unbindProject, eo as resolveAuthenticationGuidanceFromError, et as mapAgentReplyReadinessToLegacyAutoReply, fa as toStartBackgroundHelperExecutionCompatibility, fo as classifyDaemonServiceWakeability, fs as formatOpenMeldCliCommands, ga as resolveCurrentDaemonExpectedVersion, gn as listAgentTargetStates, gs as formatProfileAwareOpenMeldCliCommands, ho as ensureVersionStateReady, ii as resolveEvidenceSyncHealth, j as resolveServiceReadinessFromServiceStatus, ja as resolveOpenMeldProfileOrNull, jt as ensureOpenMeldManagedProfileWorkspace, ka as isSelectedOpenMeldProfileRequiredError, kn as listBuiltinAgentsRegistryEntries, l as readOpenMeldToolsUpdateContextFromEnv, la as readPendingDaemonServiceUpdate, ls as resolveAuthBaseUrl, mo as compareSemver, ms as formatOpenMeldCliTextBlock, na as readRecentDaemonLifecycleEvents, ni as resolveAgentExecutionStatus, oa as buildInstallSelfJsonPayload, on as syncDeviceRuntimeStateProjection, os as readDaemonServiceContract, ps as formatOpenMeldCliLine, qa as buildAgentAuthenticationGuide, qr as getAgentControllerPermissionModeFieldLabel, qt as migrateProjectBindingStore, ri as resolveAgentProfileEditCapabilities, s as assessCliUpdate, sa as performManagedInstall, ss as upsertDaemonServiceContract, st as resolveGatewayChainReadiness, ti as resolveAgentControllerPermissionModeForController, tn as canonicalizeLocalProjectPath, to as resolveAuthenticationGuidanceFromMessage, u as runPendingDaemonServiceUpdate, ua as resolveDaemonServiceUpdateOperation, un as createPrimaryBindingReadSession, us as formatInlineOpenMeldCliCommands, ut as resolveOpenClawLocalDiagnosticsValue, vs as resolveUserFacingCliEntryCommand, wa as resolveRuntimeContext, wo as buildLocalAgentCatalogFromReadiness, xa as buildOnboardingPlan, za as updateOpenMeldProfile, zt as validateCustomProfileWorkspacePath } from "./openmeld-tools-update-coordinator-
|
|
7
|
-
import { $
|
|
8
|
-
import { $r as
|
|
9
|
-
import { _ as readSelectedSkillDocument, a as filterTargetsWithInstalledOpenMeldSkills, c as resolveTrackedInstallTargets, d as resolveSkillsInstallStates, f as ensureLocalSkills, i as compareInstallRecords, l as summarizeSkillState, m as readOpenMeldSkillMarker, n as buildAgentTargets, o as mergeTargetsByDir, p as isOpenMeldManagedSkillDir, r as collectSkillsReadinessSnapshot, s as persistDetectedInstallStateFromCheck, t as installSkillsToTargets, v as withSkillsInstallLock } from "./installer-
|
|
5
|
+
import { c as agentControllerConversationRefSchema } from "./controller-contract-pe3_Re-c.js";
|
|
6
|
+
import { $a as resolveAuthenticationGuidance, $t as setDefaultProjectConnection, Aa as requireOpenMeldProfile, At as resolveProfileWorkspaceRuntime, B as resolveDaemonServiceFreshnessWarning, Br as buildAgentControllerRef, Bt as describeProfileWorkspacePathValidationFailure, Ca as parseCliViewMode, Da as setProfileDefaultView, Dn as detectInstalledSkillsAgents, Dt as syncProfileWorkspaceState, Ea as getProfileDefaultView, Ei as inspectDaemonServiceInventory, En as canManageRegistryAgentSkillTargets, Fn as requestLocalAgentActivitySync, Ft as resolveConfiguredProfileWorkspacePath, Ga as getSelectedOpenMeldProfileId, Gt as listProjectBindings, Ha as alignSelectedOpenMeldProfileStorage, Ia as listOpenMeldProfiles, Ii as readCurrentDaemonRuntimeContext, Ka as setSelectedOpenMeldProfileId, Kr as getAgentControllerPermissionModeDisplayMetadata, Kt as listProjectConnectionsWithStatus, La as primeOpenMeldProfilesSessionCache, Li as readCurrentObservedDaemonRuntimeStatus, Lt as setCustomProfileWorkspace, Ma as createOpenMeldAgentProfile, Mt as normalizeCustomProfileWorkspacePath, Na as createOpenMeldHumanProfile, Nn as notifyDaemonRouteCatalogChanged, Nt as readProfileWorkspaceConfig, On as resolveSkillsAgentRegistry, Ot as createModelCatalogReadSession, Pa as deleteOpenMeldProfile, Pn as LocalDaemonControlPlaneClientError, Q as formatHumanReplyReadinessReason$1, Qr as projectPeopleComputersToLegacyLocalRuntimes, Qt as runIfAgentActivityBindingGenerationIsCurrent, Ra as resolveOpenMeldProfile, Rt as setOpenMeldManagedProfileWorkspace, Sa as getSetupFlowCopy, So as assessServerRequiredVersion, Ta as resolveViewProfileKey, To as readCurrentLocalDeviceId, Ut as bindProject, Wa as clearSelectedOpenMeldProfileId, Wr as createAgentExecutionStatusDisplayRows, X as formatAgentReplyReadinessLabel, Xa as buildHumanAuthenticationCard, Xr as parseAgentControllerRef, Xt as removeProjectConnection, Y as resolveCurrentReplyReadinessSnapshot, Yn as resolveLocalRegistryAgentIdFromAgentControllerRef, Yr as listAgentControllerPermissionModeOptions, Z as formatDeviceReplyReadinessLabel, Za as createAuthenticationError, Zr as peopleComputerContainsDevice, _a as OPENMELD_VERSION, _s as resolveSetupFollowUpCliEntryCommand, ai as resolveNativeAgentControllerPermissionModeForController, ba as buildDaemonRouteObservationPresentation$1, bn as reconcileNewRunnableBuiltinAgentsForSetup, bs as compareAgentControllerRefsForDisplay, c as isCliUpdateCheckApplicable, cs as resolveOpenMeldEnvironmentTarget, d as scheduleDaemonServiceUpdate, da as resolveDaemonRuntimeContractCompatibility, dn as resolveAgentProfilePrimaryAgentControllerReport, do as classifyDaemonServiceRunStartability, ds as formatOpenMeldCliCommand, en as unbindProject, eo as resolveAuthenticationGuidanceFromError, et as mapAgentReplyReadinessToLegacyAutoReply, fa as toStartBackgroundHelperExecutionCompatibility, fo as classifyDaemonServiceWakeability, fs as formatOpenMeldCliCommands, ga as resolveCurrentDaemonExpectedVersion, gn as listAgentTargetStates, gs as formatProfileAwareOpenMeldCliCommands, ho as ensureVersionStateReady, ii as resolveEvidenceSyncHealth, j as resolveServiceReadinessFromServiceStatus, ja as resolveOpenMeldProfileOrNull, jt as ensureOpenMeldManagedProfileWorkspace, ka as isSelectedOpenMeldProfileRequiredError, kn as listBuiltinAgentsRegistryEntries, l as readOpenMeldToolsUpdateContextFromEnv, la as readPendingDaemonServiceUpdate, ls as resolveAuthBaseUrl, mo as compareSemver, ms as formatOpenMeldCliTextBlock, na as readRecentDaemonLifecycleEvents, ni as resolveAgentExecutionStatus, oa as buildInstallSelfJsonPayload, on as syncDeviceRuntimeStateProjection, os as readDaemonServiceContract, ps as formatOpenMeldCliLine, qa as buildAgentAuthenticationGuide, qr as getAgentControllerPermissionModeFieldLabel, qt as migrateProjectBindingStore, ri as resolveAgentProfileEditCapabilities, s as assessCliUpdate, sa as performManagedInstall, ss as upsertDaemonServiceContract, st as resolveGatewayChainReadiness, ti as resolveAgentControllerPermissionModeForController, tn as canonicalizeLocalProjectPath, to as resolveAuthenticationGuidanceFromMessage, u as runPendingDaemonServiceUpdate, ua as resolveDaemonServiceUpdateOperation, un as createPrimaryBindingReadSession, us as formatInlineOpenMeldCliCommands, ut as resolveOpenClawLocalDiagnosticsValue, vs as resolveUserFacingCliEntryCommand, wa as resolveRuntimeContext, wo as buildLocalAgentCatalogFromReadiness, xa as buildOnboardingPlan, za as updateOpenMeldProfile, zt as validateCustomProfileWorkspacePath } from "./openmeld-tools-update-coordinator-pczmEBLZ.js";
|
|
7
|
+
import { $t as createProjectsApi, Bn as spaceDispatchTraceAttemptStatusSchema, Fn as spaceEntryTargetSchema, Fr as agentActivitySessionStatusSchema, Ft as createComputerFileAccessApi, Hn as spaceDispatchTraceResponseSchema, Ir as agentActivitySnapshotQuerySchema, Jn as summarizeComputerFileAccessPolicy, Jt as createOrganizationSkillsApi, Kn as ownerComputerDiagnosticsSchema, Kt as createOrganizationApi, Ln as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Lt as createCurrentDeviceApi, Mt as createAgentProfileBindingApi, On as OPENMELD_HEADER_PROFILE_ID, Pr as agentActivityProviderSchema, Pt as createCenterAgentApi, Qr as agentActivitySessionInventoryQuerySchema, Rn as projectSpaceDispatchTraceFinalVisibleOutcome, Sr as submitFeedbackIssueRequestSchema, Un as observabilityWakeTraceSelectorSchema, Vn as spaceDispatchTraceDispatchStatusSchema, Wn as projectObservabilityWakeCorrelation, Wr as resolvedSpaceMemberProfileSchema, Xn as agentProfileCreationConfigurationSchema, Xr as agentActivityInventorySessionOriginSchema, Xt as createPrepareReadinessApi, Yn as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Zr as agentActivityInventorySessionStatusSchema, _r as authProfileKindSchema, di as START_ISO_DATE_TIME_SCHEMA, ei as localAgentSessionProviderSchema, en as createRoutinesApi, fi as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, jn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, jt as createAgentActivityApi, li as START_BOUNDED_ID_SCHEMA, mi as localAgentCatalogSchema, mn as toStructuredApiClientFailure, pi as startReplyReadinessSummarySchema, pr as stringifyOrganizationSkillBundleCanonicalJson, qn as projectOwnerComputerLocalRuntimes, ui as START_BOUNDED_VERSION_SCHEMA, ur as organizationSkillBundleSchema, vr as authProfileManagedRoleSchema, zn as resolveSpaceDispatchTraceRootCause, zt as createFeedbackApi } from "./dist-D_08t8sR.js";
|
|
8
|
+
import { $r as openMeldRequestContextSchema, Cr as string, Dn as messageEnvelopeSchema, Dr as unknown, Er as union, Ft as spaceStatusSchema, Ht as isSpaceFileTextEditable, It as centerAgentInteractionSourceSchema, Kt as resolveSpaceFileMimeType, Qr as openMeldProfileIdSchema, Sr as strictObject, _r as nullFactory, dr as enumFactory, fi as trimmedStringFromUnknown, fr as int, hn as spaceContractSchema, hr as literal, jr as clientMessageIdSchema, ln as dispatchExecutionSchema, lr as discriminatedUnion, mn as spaceContractFieldsSchema, or as array, pr as iso, ri as openMeldRuntimeProfileIdSchema, sr as boolean, ui as nonEmptyTrimmedStringFromUnknown, un as spaceThreadContextSchema, xr as record, yr as object } from "./runtime-transport-B1F7rGb0.js";
|
|
9
|
+
import { _ as readSelectedSkillDocument, a as filterTargetsWithInstalledOpenMeldSkills, c as resolveTrackedInstallTargets, d as resolveSkillsInstallStates, f as ensureLocalSkills, i as compareInstallRecords, l as summarizeSkillState, m as readOpenMeldSkillMarker, n as buildAgentTargets, o as mergeTargetsByDir, p as isOpenMeldManagedSkillDir, r as collectSkillsReadinessSnapshot, s as persistDetectedInstallStateFromCheck, t as installSkillsToTargets, v as withSkillsInstallLock } from "./installer-DHZPSSGu.js";
|
|
10
10
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
11
|
-
import { $ as
|
|
12
|
-
import { _ as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, c as getAuthSessionMetadata, d as getInterruptedComputerAuthSessionRecovery, f as markInterruptedComputerAuthSessionRecovery, g as updateAuthSessionActiveOrganization, l as getAuthSessionState, m as recordInterruptedComputerAuthSessionRecoveryFailure, n as AuthSessionRecoveryInProgressError, o as clearAuthSession, p as normalizeStoredActiveOrganization, s as completeInterruptedComputerAuthSessionRecovery, t as AuthSessionChangedBeforeTransitionError, u as getCurrentAuthOwnerUserId, v as isBinaryDistribution, y as resolveOpenMeldDistribution } from "./auth-session-
|
|
13
|
-
import { A as createSpaceAliasTargetGuideError, At as OPENMELD_AGENT_MENTAL_MODEL_LINES, C as createProfileActionGuideError, Ct as registerBuiltinAgentSelectionOptions, D as createSkillsActionGuideError, Dt as formatDualViewGuideForDisplay, E as createResetConfirmationGuideError, Et as DualViewGuideError, F as createSpaceLeaveGuideError, H as createSpaceResultGuideError, I as createSpaceMenuGuideError, J as createSpaceTargetGuideError, Mt as areAllowedActionsEquivalent, Ot as buildDualViewGuideMessage, Pt as buildAgentFacingPublicationModeGuideLines, Q as createStartAuthenticationGuideError, R as createSpacePublicationSetGuideError, Rt as canonicalizeAllowedActions, S as createDoctorFailedGuideError, T as createProfileMenuGuideError, Tt as buildAgentOverviewFromContract, V as createSpaceRemoveMembersGuideError, X as createSpaceUpdatesGuideError, Z as createStartAgentIdentityGuideError, _ as errLine, b as canUseInteractivePrompts, dt as getSkillsTargetSelectionRequiredArguments, et as getCommandEntryContract, ft as registerSkillsTargetSelectionOptions, g as formatMessage, gt as registerDaemonControlTargetOptions, h as sanitizeTerminalDisplayText, ht as getCliVersionInfo, it as registerSpaceMemberSelectionOptions, j as createSpaceContractSetGuideError, jt as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, k as createSpaceAddMembersGuideError, kt as formatAgentOverviewPayload, lt as buildSkillsTargetSelectionExamples, m as createPresenter, n as resolveElapsedTimeMs, pt as validateSkillsTargetSelectionInput, q as createSpaceSubcommandTargetGuideError, st as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, t as formatElapsedTime, tt as getCommandHintsFromContract, ut as getSkillsTargetSelectionOptionalArguments, v as outJsonLine, vt as registerAuthLoginRequestOptions, w as createProfileCreateGuideError, y as outLine } from "./elapsed-time-
|
|
14
|
-
import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, T as updateConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig, y as resolveRuntimeSkillsCustomTargetId } from "./base-url-
|
|
11
|
+
import { $ as runAgentsDisable, $n as resetCurrentCommandCheckState, $t as ensureCommandAuthenticationOrCancel, A as parseEnvelope, An as resolveLocalAgentControllerReportDecision, Ar as renderTextInfoCard, At as buildProfileWorkspaceRows, B as resolveSpaceWebGatewayOrigin, Bn as createSpaceMemberIdentityIndex, Br as revokeOrganizationJoinLinkResponseSchema, Bt as fetchSpaceMeta, C as toSpaceMetaUpsertInput, Cn as computeRetryDelayMs, Cr as enqueueAgentActivityHookEvent, Ct as runDaemonRunAfterEntryChecks, D as formatHumanReadTargetList, Dn as collectLocalAgentControllerInventory, Dr as enqueueControllerTaskLifecycleEventWhileLocked, Dt as runDaemonTeardownStrict, E as buildHumanReplyContextSummary, En as submitRuntimeAgentControllerReports, Er as removeProjectOutbox, Et as runDaemonStop, F as resolveOpenMeldProfileForSpaceCommand, Fn as buildPublicSpaceEntryUrl, Fr as cliJsonSkillsShowEnvelopeSchema, Ft as runDaemonStartDecisionPrompt, G as runDaemonServiceParticipationGate, Gn as runInteractivePrompt, Gt as parseJsonResponse, H as resolveHumanControllerDisplayName, Hn as promptSearchMultiselect, Ht as readGatewayJsonResponse, I as emitSpaceAgentOverview, In as buildSignalIndex, Ir as acceptOrganizationJoinLinkBodySchema, It as runDaemonStartupPreflight, J as runAgentsCustomAdd, Jn as readDispatchSpaceActionContextFromEnv, Jt as resolveDaemonServiceParticipationStatus, K as runAgents, Kn as assertDispatchOwnedRuntimePublicWriteAllowed, Kt as resolveLocalComponentsStatus, L as emitSpaceCliAgentOverview, Ln as buildSignalMessageReadProjection, Lr as getOrganizationJoinLinkResponseSchema, Lt as readDaemonStartFailureLogTailLines, M as assertFullSignalIdArgument, Mn as upsertSpaceConfig, Mr as cliJsonOutputEnvelopeSchema, Mt as emitDaemonAgentOverview, N as assertValidSpaceIdTarget, Nn as buildDispatchResultMessageReadProjection, Nr as cliJsonSkillsListEnvelopeSchema, Nt as createDelayedSpinner, O as resolveLinkAccessLabel, On as resolveLocalAgentControllerBlockerReasonCodes, Or as readControllerTaskLifecycleOutboxHealth, Ot as runDaemonUninstall, P as prepareAuthenticatedSpaceCommandContext, Pn as buildDispatchResultReplyWorkflowProjection, Pr as cliJsonSkillsLoadEnvelopeSchema, Pt as shouldEmitAgentOverview, Q as runAgentsDetect, Qn as isCurrentCommandCheckScopeActive, Qt as buildCommandAuthenticationPromptMessage, R as prepareLocalAgentReadiness, Rn as buildSpaceRoundReadProjection, Rr as organizationJoinLinkErrorResponseSchema, Rt as fetchSpaceUpdates, S as loadSpaceSignalIndexOrNull, Sn as assessActionParticipationCandidate, Sr as readCodexSessionTitles, St as runDaemonReinstall, T as buildFormalSignalReadPayload, Tn as submitRuntimeAgentControllerReport, Tr as readAgentActivityOutboxHealth, Tt as runDaemonStatusFlow, U as persistAgentTransportSelection, Un as promptSearchSelect, Ut as readGatewayTextResponse, V as buildReplyReadinessGuidance, Vn as formatRemovedCcRelationMessage, Vt as updateSpaceMeta, W as resolveAgentProfileSetup, Wn as isReturnKeypress, Wt as toStructuredGatewayFailure, X as runAgentsCustomRemove, Xn as finishCurrentCommandCheckScope, Xt as readRecentDaemonDispatchJournalEvents, Y as runAgentsCustomList, Yn as writeDispatchSpaceActionRecord, Yt as readRuntimeReportingHealthState, Z as runAgentsCustomUpdate, Zn as getCurrentCommandCheckState, Zt as connectWebSocket, _ as runSpaceWriteWithPasswordRetry, _n as resolveCreateProfileName, _r as readAgentActivityContextForPath, _t as runDaemonAutostart, a as runSpaceDelete, an as exchangeOneTimeTokenAuthSession, ar as validateLocalProjectConnectionPath, at as formatTransportModeDisplay, b as buildIdentityOnlyMembersSnapshotForReadProjection, bn as formatServiceParticipationReadinessLabel, br as resolveObservedAgentActivityBinding, bt as runDaemonInstall, c as runSpaceLeave, cn as formatActiveOrganizationLabel, cr as resolveAgentActivityRouteForPath, ct as printOpenMeldBanner, d as runSpaceRemoveMembers, dn as requestDeviceToken, dr as defaultManagedIntegrationPaths, dt as renderOpenMeldLogo, en as evaluateCommandAuthentication, er as startCurrentCommandCheckScope, et as runAgentsEnable, f as runSpaceSend, fn as resolveDeviceAuthClientId, fr as installAgentActivityIntegrations, ft as renderOpenMeldTagline, g as runSpaceReadWithPasswordRetry, gn as resolveCreateProfileKind, gr as syncLocalAgentActivity, gt as runDaemon, h as uploadPreparedSpaceFiles, hn as createProfileByKind, hr as uninstallAgentActivityIntegrations, ht as isManagedSystemServiceBootstrapRun, i as runSpaceCreate, in as runAuthStatus, ir as LocalProjectConnectionError, it as runAgentsShow, j as isSpaceCommandOutputHandledError, jn as inspectSpaceCacheFile, jr as emitCliJsonEnvelope, jt as reconcileCliVersionView, k as resolveOrganizationVisibilityLabel, kn as resolveLocalAgentControllerLaunchability, kr as renderInfoCard, kt as buildProfileWorkspacePresentation, l as runSpaceList, ln as extractAuthApiErrorMessage, lr as unregisterAgentActivityRoute, lt as renderOpenMeldBrandBlockLines, m as prepareRequestedSpaceSendFiles, mn as revokeAuthAccessToken, mr as resolveAgentActivityDispatcherCommand, mt as bestEffortStopCurrentLaneDaemonService, n as promptAndConfirmSpacePassword, nn as runAuthLogout, nr as renderHumanErrorCard, nt as runAgentsManage, o as runSpaceHistory, on as buildAuthStatusRows, or as isAgentActivityRouteRegistered, ot as colorizeAgentLabel, p as runSpaceWatch, pn as resolveDeviceTokenExpiresAt, pr as readAgentActivityIntegrationStatus, pt as resolveSpaceSendText, q as runAgentsConfig, qn as readDispatchOwnedRuntimeGuard, qt as writeInstalledLocalComponentsSnapshot, r as runSpaceAddMembers, rn as runAuthMenu, rr as renderHumanTextErrorCard, rt as runAgentsRepair, s as runSpaceJoin, sn as buildAuthStatusSnapshot, sr as registerAgentActivityRoute, st as colorizeDisplayProfileLabel, t as buildCreateSpacePasswordPromptConfig, tn as runAuthLogin, tr as buildHumanErrorCopy, tt as runAgentsList, u as runSpacePassword, un as fetchAuthUserSnapshot, ut as renderOpenMeldHeader, v as buildHumanReadSignalsTranscriptItems, vn as promptTextEntry, vr as removeAgentActivityContextCache, vt as runDaemonBackgroundStartForDecision, w as buildFormalDispatchResultReadPayload, wn as submitProfileRuntimeAgentControllerReport, wr as removeProjectInbox, wt as runDaemonSnapshot, x as loadSpaceIdentityDirectoryOrNull, xn as resolveServiceParticipationReadiness, xr as normalizeSharedSessionTitle, xt as runDaemonInterrupt, y as emitHumanReadSignalsTextProjection, yn as ensureAgentProfileRuntimeBinding, yr as buildAgentActivityEvent, yt as runDaemonCancel, z as resolveGatewayWebOrigin, zn as buildUpdatesReplyWorkflowProjection, zr as organizationJoinLinkManagementQuerySchema, zt as createCliSpaceApi } from "./command-CdMfJRAB.js";
|
|
12
|
+
import { _ as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, c as getAuthSessionMetadata, d as getInterruptedComputerAuthSessionRecovery, f as markInterruptedComputerAuthSessionRecovery, g as updateAuthSessionActiveOrganization, l as getAuthSessionState, m as recordInterruptedComputerAuthSessionRecoveryFailure, n as AuthSessionRecoveryInProgressError, o as clearAuthSession, p as normalizeStoredActiveOrganization, s as completeInterruptedComputerAuthSessionRecovery, t as AuthSessionChangedBeforeTransitionError, u as getCurrentAuthOwnerUserId, v as isBinaryDistribution, y as resolveOpenMeldDistribution } from "./auth-session-CACyTxMs.js";
|
|
13
|
+
import { A as createSpaceAliasTargetGuideError, At as OPENMELD_AGENT_MENTAL_MODEL_LINES, C as createProfileActionGuideError, Ct as registerBuiltinAgentSelectionOptions, D as createSkillsActionGuideError, Dt as formatDualViewGuideForDisplay, E as createResetConfirmationGuideError, Et as DualViewGuideError, F as createSpaceLeaveGuideError, H as createSpaceResultGuideError, I as createSpaceMenuGuideError, J as createSpaceTargetGuideError, Mt as areAllowedActionsEquivalent, Ot as buildDualViewGuideMessage, Pt as buildAgentFacingPublicationModeGuideLines, Q as createStartAuthenticationGuideError, R as createSpacePublicationSetGuideError, Rt as canonicalizeAllowedActions, S as createDoctorFailedGuideError, T as createProfileMenuGuideError, Tt as buildAgentOverviewFromContract, V as createSpaceRemoveMembersGuideError, X as createSpaceUpdatesGuideError, Z as createStartAgentIdentityGuideError, _ as errLine, b as canUseInteractivePrompts, dt as getSkillsTargetSelectionRequiredArguments, et as getCommandEntryContract, ft as registerSkillsTargetSelectionOptions, g as formatMessage, gt as registerDaemonControlTargetOptions, h as sanitizeTerminalDisplayText, ht as getCliVersionInfo, it as registerSpaceMemberSelectionOptions, j as createSpaceContractSetGuideError, jt as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, k as createSpaceAddMembersGuideError, kt as formatAgentOverviewPayload, lt as buildSkillsTargetSelectionExamples, m as createPresenter, n as resolveElapsedTimeMs, pt as validateSkillsTargetSelectionInput, q as createSpaceSubcommandTargetGuideError, st as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, t as formatElapsedTime, tt as getCommandHintsFromContract, ut as getSkillsTargetSelectionOptionalArguments, v as outJsonLine, vt as registerAuthLoginRequestOptions, w as createProfileCreateGuideError, y as outLine } from "./elapsed-time-DRZZZEOZ.js";
|
|
14
|
+
import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, T as updateConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig, y as resolveRuntimeSkillsCustomTargetId } from "./base-url-DvSrOI4A.js";
|
|
15
15
|
import { t as sleep } from "./dist-o3UL1EGQ.js";
|
|
16
16
|
import { k as getDaemonStatus } from "./daemon-state-C_KmI_0F.js";
|
|
17
17
|
import { b as resolveDaemonServiceManager, c as getDaemonSystemServiceLogPath, f as isDaemonServiceJobNeverSpawned, g as readDaemonServiceJobCrashExitCode } from "./daemon-service-manager-DRzfyljb.js";
|
|
18
|
-
import { c as buildRequestAuthHeaders, f as deriveAuthBaseUrlFromGatewayUrl, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation, u as buildOpenMeldRequestContextFromProfile } from "./api-client-foundation-
|
|
19
|
-
import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, d as waitForExternalOpenMeldToolsUpdate, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1, u as resolveExternalOpenMeldToolsUpdate } from "./upgrade-
|
|
18
|
+
import { c as buildRequestAuthHeaders, f as deriveAuthBaseUrlFromGatewayUrl, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation, u as buildOpenMeldRequestContextFromProfile } from "./api-client-foundation-BmL7N1rL.js";
|
|
19
|
+
import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, d as waitForExternalOpenMeldToolsUpdate, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1, u as resolveExternalOpenMeldToolsUpdate } from "./upgrade-h0cX0c-E.js";
|
|
20
20
|
import os, { homedir, hostname, release, tmpdir } from "node:os";
|
|
21
21
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
22
22
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -53,6 +53,8 @@ const organizationJoinRequestSchema = z$1.strictObject({
|
|
|
53
53
|
createdAt: z$1.number().int().nonnegative(),
|
|
54
54
|
reviewedAt: z$1.number().int().nonnegative().nullable(),
|
|
55
55
|
invitationSentAt: z$1.number().int().nonnegative().nullable(),
|
|
56
|
+
applicantUserId: id$1.nullable().optional(),
|
|
57
|
+
joinedAt: z$1.number().int().nonnegative().nullable().optional(),
|
|
56
58
|
canReview: z$1.boolean().optional(),
|
|
57
59
|
organizationName: z$1.string().optional(),
|
|
58
60
|
requestedByName: z$1.string().optional(),
|
|
@@ -91,6 +93,7 @@ const organizationJoinRequestInputSchema = z$1.discriminatedUnion("action", [
|
|
|
91
93
|
})
|
|
92
94
|
]);
|
|
93
95
|
z$1.strictObject({
|
|
96
|
+
responseVersion: z$1.literal("2").optional(),
|
|
94
97
|
userId: id$1,
|
|
95
98
|
email: z$1.email(),
|
|
96
99
|
emailVerified: z$1.boolean(),
|
|
@@ -100,6 +103,10 @@ z$1.strictObject({
|
|
|
100
103
|
action: z$1.literal("delivery_complete"),
|
|
101
104
|
requestId: id$1
|
|
102
105
|
}),
|
|
106
|
+
z$1.strictObject({
|
|
107
|
+
action: z$1.literal("join_complete"),
|
|
108
|
+
requestId: id$1
|
|
109
|
+
}),
|
|
103
110
|
z$1.strictObject({
|
|
104
111
|
action: z$1.literal("authorize_link"),
|
|
105
112
|
organizationId: id$1,
|
|
@@ -6003,8 +6010,7 @@ async function waitForCenterAgentVisibleReply(input) {
|
|
|
6003
6010
|
const answer = visibleReply.data.text.trim();
|
|
6004
6011
|
if (answer.length > 0) return {
|
|
6005
6012
|
answer,
|
|
6006
|
-
publishedSignalId: visibleReply.id
|
|
6007
|
-
taskReferences: visibleReply.data.meta?.centerAgentTaskReferences ?? []
|
|
6013
|
+
publishedSignalId: visibleReply.id
|
|
6008
6014
|
};
|
|
6009
6015
|
}
|
|
6010
6016
|
const remainingMs = input.deadlineAtMs - Date.now();
|
|
@@ -6949,12 +6955,7 @@ async function runCenterAgentAsk(input) {
|
|
|
6949
6955
|
presenter: context.presenter,
|
|
6950
6956
|
result: null,
|
|
6951
6957
|
runtime: context.runtime,
|
|
6952
|
-
status: "completed"
|
|
6953
|
-
taskReferences: buildCenterAgentTaskLinks({
|
|
6954
|
-
baseUrl,
|
|
6955
|
-
organizationSlug: context.organizationScope.target.slug,
|
|
6956
|
-
references: visibleReply.taskReferences
|
|
6957
|
-
})
|
|
6958
|
+
status: "completed"
|
|
6958
6959
|
});
|
|
6959
6960
|
} catch (error) {
|
|
6960
6961
|
emitCenterAgentApiError({
|
|
@@ -6982,14 +6983,12 @@ function emitAcceptedCenterAgentAskPending(input) {
|
|
|
6982
6983
|
});
|
|
6983
6984
|
}
|
|
6984
6985
|
function emitCenterAgentAskSuccess(input) {
|
|
6985
|
-
const taskReferences = input.taskReferences ?? [];
|
|
6986
6986
|
const payload = {
|
|
6987
6987
|
answer: input.answer,
|
|
6988
6988
|
interaction: input.interaction,
|
|
6989
6989
|
organization: input.organizationScope,
|
|
6990
6990
|
result: input.result,
|
|
6991
|
-
status: input.status
|
|
6992
|
-
taskReferences
|
|
6991
|
+
status: input.status
|
|
6993
6992
|
};
|
|
6994
6993
|
if (input.runtime.resolvedView === "agent") {
|
|
6995
6994
|
input.presenter.data({
|
|
@@ -7019,10 +7018,6 @@ function emitCenterAgentAskSuccess(input) {
|
|
|
7019
7018
|
label: "Answer",
|
|
7020
7019
|
value: input.answer
|
|
7021
7020
|
}] : [],
|
|
7022
|
-
...taskReferences.map((reference) => ({
|
|
7023
|
-
label: "Task",
|
|
7024
|
-
value: reference.url
|
|
7025
|
-
})),
|
|
7026
7021
|
...input.status === "needs_input" ? [{
|
|
7027
7022
|
label: "Next Step",
|
|
7028
7023
|
value: "Open Center Agent Chat in OpenMeld to answer the pending question or permission request."
|
|
@@ -7044,21 +7039,6 @@ function emitCenterAgentAskSuccess(input) {
|
|
|
7044
7039
|
title: "Center Agent"
|
|
7045
7040
|
});
|
|
7046
7041
|
}
|
|
7047
|
-
function buildCenterAgentTaskLinks(input) {
|
|
7048
|
-
const webOrigin = resolveGatewayWebOrigin(input.baseUrl);
|
|
7049
|
-
const seenTaskIds = /* @__PURE__ */ new Set();
|
|
7050
|
-
return input.references.flatMap((reference) => {
|
|
7051
|
-
const taskId = reference.taskId.trim();
|
|
7052
|
-
if (!taskId || seenTaskIds.has(taskId)) return [];
|
|
7053
|
-
seenTaskIds.add(taskId);
|
|
7054
|
-
const url = new URL(webOrigin);
|
|
7055
|
-
url.pathname = `/o/${encodeURIComponent(input.organizationSlug)}/center-agent/tasks/${encodeURIComponent(taskId)}`;
|
|
7056
|
-
return [{
|
|
7057
|
-
taskId,
|
|
7058
|
-
url: url.toString()
|
|
7059
|
-
}];
|
|
7060
|
-
});
|
|
7061
|
-
}
|
|
7062
7042
|
function resolveCenterAgentAskTimeoutSeconds(value) {
|
|
7063
7043
|
const timeoutSeconds = value ?? DEFAULT_CENTER_AGENT_ASK_TIMEOUT_SECONDS;
|
|
7064
7044
|
return Number.isInteger(timeoutSeconds) && timeoutSeconds >= 1 && timeoutSeconds <= MAX_CENTER_AGENT_ASK_TIMEOUT_SECONDS ? timeoutSeconds : null;
|
|
@@ -12112,7 +12092,7 @@ const PROMPT_GUIDE_CATALOG = {
|
|
|
12112
12092
|
"openmeld space join --profile <profile-id> <space-id> --view agent",
|
|
12113
12093
|
"openmeld space watch --profile <profile-id> <space-id> --view agent",
|
|
12114
12094
|
"openmeld space send --profile <profile-id> <space-id> \"<message>\" --view agent",
|
|
12115
|
-
"openmeld space send --profile <profile-id> <space-id> --
|
|
12095
|
+
"openmeld space send --profile <profile-id> <space-id> --wake <agent-profile-id> \"Please review.\" --view agent",
|
|
12116
12096
|
"openmeld space guide <space-id> --profile <profile-id> --view agent",
|
|
12117
12097
|
"openmeld space publication set <space-id> collaboration --profile <owner-profile-id> --password <space-password> --view agent",
|
|
12118
12098
|
"openmeld prompt space --raw"
|
|
@@ -12146,9 +12126,9 @@ const PROMPT_GUIDE_CATALOG = {
|
|
|
12146
12126
|
],
|
|
12147
12127
|
agentCommands: [
|
|
12148
12128
|
"<DISPATCH_ACTION_CLI> space action reply \"message\"",
|
|
12149
|
-
"<DISPATCH_ACTION_CLI> space action wake
|
|
12150
|
-
"<DISPATCH_ACTION_CLI> space action reply --wake
|
|
12151
|
-
"<DISPATCH_ACTION_CLI> space action reply --mention
|
|
12129
|
+
"<DISPATCH_ACTION_CLI> space action wake <agent-profile-id> \"summary and request\"",
|
|
12130
|
+
"<DISPATCH_ACTION_CLI> space action reply --wake <agent-profile-id> \"message\"",
|
|
12131
|
+
"<DISPATCH_ACTION_CLI> space action reply --mention <human-profile-id> \"message\"",
|
|
12152
12132
|
"<DISPATCH_ACTION_CLI> space action status done \"short completion update\"",
|
|
12153
12133
|
"<DISPATCH_ACTION_CLI> space action silent --reason \"No public reply is needed.\"",
|
|
12154
12134
|
"<DISPATCH_ACTION_CLI> space action targets",
|
|
@@ -28639,9 +28619,6 @@ const FINAL_SAFE_STATUSES = /* @__PURE__ */ new Set([
|
|
|
28639
28619
|
"handoff",
|
|
28640
28620
|
"needs_input"
|
|
28641
28621
|
]);
|
|
28642
|
-
const LEADING_AT_PATTERN = /^@/u;
|
|
28643
|
-
const TRAILING_RELATION_PATTERN = /\((wake|reference|mention)\)$/iu;
|
|
28644
|
-
const WHITESPACE_PATTERN = /\s+/g;
|
|
28645
28622
|
const DISPATCH_ACTION_CLI_PLACEHOLDER = "<DISPATCH_ACTION_CLI>";
|
|
28646
28623
|
const SPACE_ACTION_REPLY_TIMING_EVENT = "openmeld.space_action.reply_timing";
|
|
28647
28624
|
function runSpaceActionReply(input) {
|
|
@@ -28671,7 +28648,6 @@ function recordDispatchSpaceReply(input) {
|
|
|
28671
28648
|
timing.emit("context_ready", context);
|
|
28672
28649
|
assertAllowedAction(context, "post_message");
|
|
28673
28650
|
const text = normalizeRequiredText(input.text, "Reply message is required.");
|
|
28674
|
-
assertNoRemovedCcSpaceAddressingSyntax(text);
|
|
28675
28651
|
const targetIds = resolveMessageEnvelopeTargetIds({
|
|
28676
28652
|
context,
|
|
28677
28653
|
mentionTargets: input.mentionTargets ?? [],
|
|
@@ -28755,7 +28731,6 @@ function runSpaceActionWake(input) {
|
|
|
28755
28731
|
const context = readDispatchSpaceActionContextFromEnv();
|
|
28756
28732
|
assertAllowedAction(context, "post_message");
|
|
28757
28733
|
const text = normalizeRequiredJoinedText(input.messageParts, "Wake handoff message is required.");
|
|
28758
|
-
assertNoRemovedCcSpaceAddressingSyntax(text);
|
|
28759
28734
|
recordAction({
|
|
28760
28735
|
action: {
|
|
28761
28736
|
type: "post_message",
|
|
@@ -28835,10 +28810,10 @@ function runSpaceActionHelp() {
|
|
|
28835
28810
|
}
|
|
28836
28811
|
outLine("OpenMeld Space Action commands:");
|
|
28837
28812
|
outLine(formatSpaceActionHelpExample("Reply", "reply \"message\"", context));
|
|
28838
|
-
outLine(formatSpaceActionHelpExample("Handoff and wake another agent", "wake
|
|
28839
|
-
outLine(formatSpaceActionHelpExample("Reply and also wake another agent", "reply --wake
|
|
28840
|
-
outLine(formatSpaceActionHelpExample("Reply and reference another agent", "reply --reference
|
|
28841
|
-
outLine(formatSpaceActionHelpExample("Reply and mention a person", "reply --mention
|
|
28813
|
+
outLine(formatSpaceActionHelpExample("Handoff and wake another agent", "wake <agent-profile-id> \"summary and request\"", context));
|
|
28814
|
+
outLine(formatSpaceActionHelpExample("Reply and also wake another agent", "reply --wake <agent-profile-id> \"message\"", context));
|
|
28815
|
+
outLine(formatSpaceActionHelpExample("Reply and reference another agent", "reply --reference <agent-profile-id> \"message\"", context));
|
|
28816
|
+
outLine(formatSpaceActionHelpExample("Reply and mention a person", "reply --mention <human-profile-id> \"message\"", context));
|
|
28842
28817
|
outLine(formatSpaceActionHelpExample("Final status", "status done \"short completion update\"", context));
|
|
28843
28818
|
outLine(formatSpaceActionHelpExample("Stay silent", "silent --reason \"No public reply is needed.\"", context));
|
|
28844
28819
|
outLine(formatSpaceActionHelpExample("Current targets", "targets", context));
|
|
@@ -28942,7 +28917,7 @@ function normalizeStatus(value) {
|
|
|
28942
28917
|
return normalized;
|
|
28943
28918
|
}
|
|
28944
28919
|
function resolveTargetProfileIds(input) {
|
|
28945
|
-
return input.targets.map((target) => resolveTargetProfileId({
|
|
28920
|
+
return [...new Set(input.targets)].map((target) => resolveTargetProfileId({
|
|
28946
28921
|
context: input.context,
|
|
28947
28922
|
relation: input.relation,
|
|
28948
28923
|
target
|
|
@@ -28951,10 +28926,8 @@ function resolveTargetProfileIds(input) {
|
|
|
28951
28926
|
function resolveTargetProfileId(input) {
|
|
28952
28927
|
const targetReference = requireLoadedTargets(input.context.sendTargetReference);
|
|
28953
28928
|
const query = normalizeRequiredText(input.target, "Target is required.");
|
|
28954
|
-
const
|
|
28955
|
-
if (
|
|
28956
|
-
const selected = candidates.find((candidate) => candidate.profileId === query) ?? (candidates.length === 1 ? candidates[0] : null);
|
|
28957
|
-
if (!selected) throw new Error(`Target "${query}" is ambiguous. Choose one of: ${candidates.map((candidate) => candidate.primaryMentionLabel).join(", ")}.`);
|
|
28929
|
+
const selected = targetReference.projection.find((target) => target.profileId === query);
|
|
28930
|
+
if (!selected) throw new Error(`No current Space target has Profile ID "${query}". Run openmeld space action targets and use the full Profile ID.`);
|
|
28958
28931
|
if (!selected.allowedRelations[input.relation]) throw new Error(`${formatRelation(input.relation)} is not allowed for ${selected.primaryMentionLabel}.`);
|
|
28959
28932
|
return selected.profileId;
|
|
28960
28933
|
}
|
|
@@ -28962,21 +28935,6 @@ function requireLoadedTargets(targetReference) {
|
|
|
28962
28935
|
if (targetReference.status === "loaded") return targetReference;
|
|
28963
28936
|
throw new Error(`Current Space targets are not available for this dispatch: ${targetReference.errorMessage}`);
|
|
28964
28937
|
}
|
|
28965
|
-
function targetMatchesQuery(target, query) {
|
|
28966
|
-
const normalizedQuery = normalizeTargetQuery(query);
|
|
28967
|
-
return [
|
|
28968
|
-
target.profileId,
|
|
28969
|
-
target.profileIdShort,
|
|
28970
|
-
target.primaryMentionLabel,
|
|
28971
|
-
`@${target.primaryMentionLabel}`,
|
|
28972
|
-
target.mentionAlias,
|
|
28973
|
-
...target.mentionLabels ?? [],
|
|
28974
|
-
...target.lookupTokens ?? []
|
|
28975
|
-
].some((candidate) => candidate !== null && candidate !== void 0 && normalizeTargetQuery(candidate) === normalizedQuery);
|
|
28976
|
-
}
|
|
28977
|
-
function normalizeTargetQuery(value) {
|
|
28978
|
-
return value.trim().replace(LEADING_AT_PATTERN, "").replace(TRAILING_RELATION_PATTERN, "").replace(WHITESPACE_PATTERN, " ").toLowerCase();
|
|
28979
|
-
}
|
|
28980
28938
|
function formatTargetLine(target, relation) {
|
|
28981
28939
|
const relationLabel = formatRelation(relation);
|
|
28982
28940
|
return `${target.primaryMentionLabel} · ${target.profileKind} · ${relationLabel} · ${target.profileId}`;
|
|
@@ -29702,7 +29660,7 @@ function normalizeOptionalString(value) {
|
|
|
29702
29660
|
return normalized.length > 0 ? normalized : null;
|
|
29703
29661
|
}
|
|
29704
29662
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
29705
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
29663
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-zsKO5c2i.js");
|
|
29706
29664
|
return await runSpaceAddMeMembership(input);
|
|
29707
29665
|
}
|
|
29708
29666
|
//#endregion
|
|
@@ -31280,11 +31238,11 @@ function emitSpaceMembersAgentOutput(input) {
|
|
|
31280
31238
|
});
|
|
31281
31239
|
}
|
|
31282
31240
|
function formatMemberAddressing(member) {
|
|
31283
|
-
const mentionLabel = sanitizeTerminalDisplayText(member.
|
|
31241
|
+
const mentionLabel = sanitizeTerminalDisplayText(member.profileId, "single-line");
|
|
31284
31242
|
const relations = [
|
|
31285
|
-
...member.allowedRelations.wake ? [
|
|
31286
|
-
...member.allowedRelations.reference ? [
|
|
31287
|
-
...member.allowedRelations.mention ? [
|
|
31243
|
+
...member.allowedRelations.wake ? [`--wake ${mentionLabel}`] : [],
|
|
31244
|
+
...member.allowedRelations.reference ? [`--reference ${mentionLabel}`] : [],
|
|
31245
|
+
...member.allowedRelations.mention ? [`--mention ${mentionLabel}`] : []
|
|
31288
31246
|
];
|
|
31289
31247
|
return relations.length > 0 ? relations.join(", ") : "no message addressing available";
|
|
31290
31248
|
}
|
|
@@ -35426,7 +35384,7 @@ withSpaceProfileOption(spaceCmd.command("watch").description("Watch a space in r
|
|
|
35426
35384
|
}
|
|
35427
35385
|
});
|
|
35428
35386
|
});
|
|
35429
|
-
withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--
|
|
35387
|
+
withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--reply-to <signal-id>", "Reply into the thread of a message (creates the thread if it does not exist yet)").option("--password <value>", "Space password for protected access")).action(async (space, textParts, opts, command) => {
|
|
35430
35388
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
35431
35389
|
const spaceValue = String(space ?? "").trim();
|
|
35432
35390
|
const outputView = await resolveEffectiveViewForOutput();
|
|
@@ -35452,6 +35410,9 @@ withSpaceProfileOption(spaceCmd.command("send").description("Send one message to
|
|
|
35452
35410
|
stdin: Boolean(opts.stdin),
|
|
35453
35411
|
textFile: typeof opts.textFile === "string" ? opts.textFile : void 0,
|
|
35454
35412
|
plainText: opts.plain === true,
|
|
35413
|
+
wakeTargets: opts.wake,
|
|
35414
|
+
referenceTargets: opts.reference,
|
|
35415
|
+
mentionTargets: opts.mention,
|
|
35455
35416
|
replyToSignalId: typeof opts.replyTo === "string" ? opts.replyTo : void 0,
|
|
35456
35417
|
view,
|
|
35457
35418
|
entryChecksHandled: true
|
|
@@ -35866,7 +35827,7 @@ withSpaceProfileOption(spaceCmd.command("password").description("Set, change, or
|
|
|
35866
35827
|
}
|
|
35867
35828
|
});
|
|
35868
35829
|
});
|
|
35869
|
-
program.command("send").description("Alias for `openmeld space send`.").argument("[text...]", "Text to send").option("--profile <id>", "OpenMeld profile ID").option("--base-url <url>", "OpenMeld gateway URL").option("--space <space>", "Space ID (64-character hex)").option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--text-file <path>", "Read message text from a UTF-8 file").option("--
|
|
35830
|
+
program.command("send").description("Alias for `openmeld space send`.").argument("[text...]", "Text to send").option("--profile <id>", "OpenMeld profile ID").option("--base-url <url>", "OpenMeld gateway URL").option("--space <space>", "Space ID (64-character hex)").option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--password <value>", "Space password for protected access").action(async (textParts, opts) => {
|
|
35870
35831
|
const space = String(opts.space ?? "").trim();
|
|
35871
35832
|
if (!space) throw createSpaceAliasTargetGuideError("send");
|
|
35872
35833
|
const view = getGlobalViewOption();
|
|
@@ -35886,6 +35847,9 @@ program.command("send").description("Alias for `openmeld space send`.").argument
|
|
|
35886
35847
|
filePaths: Array.isArray(opts.file) ? opts.file.map(String) : [],
|
|
35887
35848
|
textFile: typeof opts.textFile === "string" ? opts.textFile : void 0,
|
|
35888
35849
|
plainText: opts.plain === true,
|
|
35850
|
+
wakeTargets: opts.wake,
|
|
35851
|
+
referenceTargets: opts.reference,
|
|
35852
|
+
mentionTargets: opts.mention,
|
|
35889
35853
|
view,
|
|
35890
35854
|
entryChecksHandled: true
|
|
35891
35855
|
});
|
|
@@ -36591,4 +36555,4 @@ main().catch((error) => {
|
|
|
36591
36555
|
//#endregion
|
|
36592
36556
|
export {};
|
|
36593
36557
|
|
|
36594
|
-
//# sourceMappingURL=openmeld-
|
|
36558
|
+
//# sourceMappingURL=openmeld-NJMNglsl.js.map
|