openmeld 0.3.134 → 0.3.136
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-BMp3t67Y.js → add-me-membership-BNNtDZYW.js} +2 -2
- package/dist/{add-me-membership-BMp3t67Y.js.map → add-me-membership-BNNtDZYW.js.map} +1 -1
- package/dist/{api-client-foundation-DNnxEYcg.js → api-client-foundation-CabWpjFe.js} +3 -3
- package/dist/{api-client-foundation-DNnxEYcg.js.map → api-client-foundation-CabWpjFe.js.map} +1 -1
- package/dist/{auth-session-BbrUVaZd.js → auth-session-Bj8n8YwV.js} +223 -84
- package/dist/auth-session-Bj8n8YwV.js.map +1 -0
- package/dist/{command-CTQlQSYV.js → command-BGqFPMwd.js} +789 -227
- package/dist/{command-CTQlQSYV.js.map → command-BGqFPMwd.js.map} +1 -1
- package/dist/{dist-Fj_YSHkO.js → dist-0qM_CVk2.js} +86 -4
- package/dist/dist-0qM_CVk2.js.map +1 -0
- package/dist/openmeld.js +6 -6
- package/dist/{runtime-transport-D4_-d5Yb.js → runtime-transport-BiQfJGnw.js} +201 -105
- package/dist/runtime-transport-BiQfJGnw.js.map +1 -0
- package/package.json +2 -2
- package/dist/auth-session-BbrUVaZd.js.map +0 -1
- package/dist/dist-Fj_YSHkO.js.map +0 -1
- package/dist/runtime-transport-D4_-d5Yb.js.map +0 -1
package/dist/openmeld.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { $ as runWithHeldLock, $t as formatLocalMachineIssueMessage, A as toSpaceContractUrl, At as normalizeAccountKey, Bt as profileDir, D as normalizeBaseUrl, E as updateConfiguredStartV1OnboardingState, F as toSpaceDispatchTraceUrl, Ft as openMeldManagedVersionBinaryPath, G as buildOpenMeldOrphanedLockAction, Gt as resolveOpenMeldEnvPreset, K as isOpenMeldLockError, Lt as openMeldRootDir, Mt as openMeldBackupsDir, P as toSpaceDispatchLookupUrl, Pt as openMeldManagedBinaryPath, Q as resolveOpenMeldOrphanedLockIssue, Qt as systemDir, S as setConfiguredSkillsConfig, St as accountProfileViewPath, V as toSpaceResultUrl, Vt as profileViewPath, W as acquireLock, Wt as resolveOpenMeldCliEntryNameFromArgv, X as releaseLockSync, Xt as skillsDir, Z as repairOrphanedLegacyLocks, Zt as spacesDir, a as resolveBaseUrl, at as resolveCliContext, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, ct as formatLaneScopeSentence, ft as createActiveSetupConcurrencyIssue, g as getConfiguredSkillsConfig, gt as toRecognizedLocalMachineFailureError, ht as isLocalMachineFailureError, k as toSpaceBoardUrl, lt as resolveOpenMeldLaneDescriptor, m as getConfiguredOnboardingDisclaimerAcceptedAt, mt as createOrphanedSetupConcurrencyIssue, nt as OPENMELD_CLI_CONTEXT_ENV_KEY, o as resolveBaseUrlOrNull, on as agentControllerConversationRefSchema, q as isOpenMeldOrphanedLockError, qt as resolveOpenMeldRootDir, tt as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, u as alignRuntimeConfigStorage, ut as LocalMachineFailureError, w as updateConfiguredOnboardingConfig, wt as accountsDir, xt as accountProfileSpaceCacheDir, zt as organizationSkillReleaseDir } from "./base-url-BtqW4aLS.js";
|
|
4
|
-
import { $ as runAgentsManage, $a as LocalProjectConnectionError, $i as resetCurrentCommandCheckState, $n as isCliUpdateCheckApplicable, $o as cliJsonOutputEnvelopeSchema, $r as resolveServiceReadinessFromServiceStatus, $t as ensureLocalSkills, A as parseEnvelope, Aa as resolveViewProfileKey, Ai as getAgentControllerPermissionModeFieldLabel, An as submitProfileRuntimeAgentControllerReport, Ao as enqueueAgentActivityHookEvent, Ar as registerSpaceMemberSelectionOptions, At as createDelayedSpinner, B as resolveHumanControllerDisplayName, Ba as updateOpenMeldProfile, Bi as buildOnboardingPlan, Bn as buildDispatchResultMessageReadProjection, Bo as setDefaultProjectConnection, Br as buildDualViewGuideMessage, Bt as toStructuredGatewayFailure, C as toSpaceMetaUpsertInput, Ca as buildHumanErrorCopy, Ci as reconcileNewRunnableBuiltinAgentsForSetup, Cn as resolveCreateProfileName, Co as upsertDaemonServiceContract, Cr as createSpaceTargetGuideError, Ct as runDaemonStop, D as formatHumanReadTargetList, Da as formatMessage, Di as buildAgentControllerRef, Dn as resolveServiceParticipationReadiness, Do as resolveObservedAgentActivityBinding, Dr as createUpgradeConfirmationGuideError, Dt as buildProfileWorkspaceRows, E as buildHumanReplyContextSummary, Ea as createPresenter, Ei as resolveLocalRegistryAgentIdFromAgentControllerRef, En as formatServiceParticipationReadinessLabel, Eo as buildAgentActivityEvent, Er as createStartAuthenticationGuideError, Et as buildProfileWorkspacePresentation, F as resolveOpenMeldProfileForSpaceCommand, Fa as createOpenMeldHumanProfile, Fi as resolveAgentProfileEditCapabilities, Fn as resolveLocalAgentControllerLaunchability, Fo as listProjectBindings, Fr as registerAuthLoginRequestOptions, Ft as createCliSpaceApi, G as runAgentsCustomAdd, Ga as buildAgentAuthenticationGuide, Gi as classifyDaemonServiceWakeability, Gn as buildUpdatesReplyWorkflowProjection, Go as renderInfoCard, Gr as buildAgentFacingPublicationModeGuideLines, Gt as runDaemonServiceParticipationGate, H as resolveAgentProfileSetup, Ha as clearSelectedOpenMeldProfileId, Hi as buildDaemonServiceTargetSpec, Hn as buildSignalIndex, Ho as canonicalizeLocalProjectPath, Hr as OPENMELD_AGENT_MENTAL_MODEL_LINES, Ht as resolveLocalComponentsStatus, I as emitSpaceAgentOverview, Ia as deleteOpenMeldProfile, Ii as resolveEvidenceSyncHealth, In as resolveLocalAgentControllerReportDecision, Io as listProjectConnectionsWithStatus, Ir as registerBuiltinAgentSelectionOptions, It as fetchSpaceMeta, J as runAgentsCustomUpdate, Ja as resolveAuthenticationGuidance, Ji as resolveOpenMeldEnvironmentTarget, Jn as promptSearchMultiselect, Jo as emitCliJsonEnvelope, Jr as runPendingDaemonServiceUpdate, Jt as runSkillsCheck$1, K as runAgentsCustomList, Ka as buildHumanAuthenticationCard, Ki as resolveServiceUpdateUrgency, Kn as createSpaceMemberIdentityIndex, Ko as renderTextInfoCard, Kr as canonicalizeAllowedActions, Kt as runDaemonStartDecisionPrompt, L as emitSpaceCliAgentOverview, La as listOpenMeldProfiles, Li as resolveNativeAgentControllerPermissionModeForController, Ln as inspectSpaceCacheFile, Lo as migrateProjectBindingStore, Lr as buildAgentOverviewFromContract, Lt as updateSpaceMeta, M as assertFullSignalIdArgument, Ma as requireOpenMeldProfile, Mi as parseAgentControllerRef, Mn as submitRuntimeAgentControllerReports, Mo as readAgentActivityOutboxHealth, Mr as registerSkillsTargetSelectionOptions, Mt as runDaemonStartupPreflight, N as assertValidSpaceIdTarget, Na as resolveOpenMeldProfileOrNull, Ni as resolveAgentControllerPermissionModeForController, Nn as collectLocalAgentControllerInventory, No as removeProjectOutbox, Nr as getCliVersionInfo, Nt as readDaemonStartFailureLogTailLines, O as resolveLinkAccessLabel, Oa as parseCliViewMode, Oi as createAgentExecutionStatusDisplayRows, On as assessActionParticipationCandidate, Oo as normalizeSharedSessionTitle, Or as getCommandEntryContract, Ot as reconcileCliVersionView, P as prepareAuthenticatedSpaceCommandContext, Pa as createOpenMeldAgentProfile, Pi as resolveAgentExecutionStatus, Pn as resolveLocalAgentControllerBlockerReasonCodes, Po as bindProject, Pr as registerDaemonControlTargetOptions, Pt as fetchSpaceUpdates, Q as runAgentsList, Qa as setProfileDefaultView, Qi as isCurrentCommandCheckScopeActive, Qn as assessCliUpdate, Qo as cliBinaryDeltaPatchSchema, Qr as formatDaemonFailureContextText, Qt as runSkillsUpdate, R as prepareLocalAgentReadiness, Ra as primeOpenMeldProfilesSessionCache, Rn as upsertSpaceConfig, Ro as removeProjectConnection, Rr as DualViewGuideError, Rt as readGatewayJsonResponse, S as loadSpaceSignalIndexOrNull, Sa as OPENMELD_VERSION, Si as listAgentTargetStates, Sn as resolveCreateProfileKind, So as readDaemonServiceContract, Sr as createSpaceSubcommandTargetGuideError, St as runDaemonStatusFlow, T as buildFormalSignalReadPayload, Ta as renderHumanTextErrorCard, Ti as notifyDaemonRouteCatalogChanged, Tn as ensureAgentProfileRuntimeBinding, To as removeAgentActivityContextCache, Tr as createStartAgentIdentityGuideError, Tt as runDaemonUninstall, U as runAgents, Ua as getSelectedOpenMeldProfileId, Ui as resolveDaemonServiceAlignmentDecision, Un as buildSignalMessageReadProjection, Uo as enqueueControllerTaskLifecycleEventWhileLocked, Ur as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Ut as writeInstalledLocalComponentsSnapshot, V as persistAgentTransportSelection, Va as alignSelectedOpenMeldProfileStorage, Vi as getSetupFlowCopy, Vn as buildDispatchResultReplyWorkflowProjection, Vo as unbindProject, Vr as formatAgentOverviewPayload, Vt as parseJsonResponse, W as runAgentsConfig, Wa as setSelectedOpenMeldProfileId, Wi as classifyDaemonServiceRunStartability, Wn as buildSpaceRoundReadProjection, Wo as readControllerTaskLifecycleOutboxHealth, Wr as areAllowedActionsEquivalent, Wt as resolveDaemonServiceParticipationStatus, X as runAgentsDisable, Xa as resolveAuthenticationGuidanceFromMessage, Xi as finishCurrentCommandCheckScope, Xn as isReturnKeypress, Xo as outJsonLine, Xr as ensureDaemonRuntimePaths, Xt as runSkillsInstall, Y as runAgentsDetect, Ya as resolveAuthenticationGuidanceFromError, Yi as resolveAuthBaseUrl, Yn as promptSearchSelect, Yo as errLine, Yr as scheduleDaemonServiceUpdate, Yt as runSkillsEnsure, Z as runAgentsEnable, Za as getProfileDefaultView, Zi as getCurrentCommandCheckState, Zn as runInteractivePrompt, Zo as outLine, Zr as resolveDaemonDeviceId, Zt as runSkillsUninstall, _ as runSpaceWriteWithPasswordRetry, _a as readVersionState, _i as validateCustomProfileWorkspacePath, _n as requestDeviceToken, _o as formatOpenMeldCliTextBlock, _r as createSpaceLeaveGuideError, _t as runDaemonInstall, a as runSpaceDelete, aa as getDaemonSystemServiceLogPath, ai as mapAgentReplyReadinessToLegacyAutoReply, an as ensureCommandAuthenticationOrCancel, ao as resolveAgentActivityRouteForPath, ar as resolveElapsedTimeMs, as as revokeOrganizationJoinLinkResponseSchema, at as printOpenMeldBanner, b as buildIdentityOnlyMembersSnapshotForReadProjection, ba as toStartBackgroundHelperExecutionCompatibility, bi as createPrimaryBindingReadSession, bn as revokeAuthAccessToken, bo as resolveUserFacingCliEntryCommand, br as createSpaceRemoveMembersGuideError, bt as runDaemonRunAfterEntryChecks, c as runSpaceLeave, ca as resolveDaemonServiceManager, ci as syncProfileWorkspaceState, cn as runAuthLogout, co as defaultManagedIntegrationPaths, cr as canUseInteractivePrompts, ct as renderOpenMeldLogo, d as runSpaceRemoveMembers, da as performManagedInstall, di as ensureOpenMeldManagedProfileWorkspace, dn as exchangeOneTimeTokenAuthSession, do as resolveAgentActivityDispatcherCommand, dr as createProfileCreateGuideError, dt as resolveSpaceSendText, ea as startCurrentCommandCheckScope, ei as resolveDaemonServiceFreshnessWarning, en as readBundledOpenMeldCliSkillDocumentByPath, eo as validateLocalProjectConnectionPath, er as assertDispatchOwnedRuntimePublicWriteAllowed, es as cliJsonSkillsListEnvelopeSchema, et as runAgentsRepair, f as runSpaceSend, fa as buildNextVersionState, fi as normalizeCustomProfileWorkspacePath, fn as buildAuthStatusRows, fo as uninstallAgentActivityIntegrations, fr as createProfileMenuGuideError, ft as bestEffortStopCurrentLaneDaemonService, g as runSpaceReadWithPasswordRetry, ga as fetchLatestPackageInfo, gi as setOpenMeldManagedProfileWorkspace, gn as fetchAuthUserSnapshot, go as formatOpenMeldCliLine, gr as createSpaceContractSetGuideError, gt as runDaemonCancel, h as uploadPreparedSpaceFiles, ha as fetchLatestCliBinaryRelease, hi as setCustomProfileWorkspace, hn as extractAuthApiErrorMessage, ho as formatOpenMeldCliCommands, hr as createSpaceAliasTargetGuideError, ht as runDaemonBackgroundStartForDecision, i as runSpaceCreate, ia as readCurrentObservedDaemonRuntimeStatus, ii as formatHumanReplyReadinessReason$1, in as buildCommandAuthenticationPromptMessage, io as registerAgentActivityRoute, ir as formatElapsedTime, is as organizationJoinLinkErrorResponseSchema, it as colorizeDisplayProfileLabel, j as isSpaceCommandOutputHandledError, ja as isSelectedOpenMeldProfileRequiredError, ji as listAgentControllerPermissionModeOptions, jn as submitRuntimeAgentControllerReport, jo as removeProjectInbox, jr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, jt as shouldEmitAgentOverview, k as resolveOrganizationVisibilityLabel, ka as resolveRuntimeContext, ki as getAgentControllerPermissionModeDisplayMetadata, kn as computeRetryDelayMs, ko as readCodexSessionTitles, kr as getCommandHintsFromContract, kt as emitDaemonAgentOverview, l as runSpaceList, la as readRecentDaemonLifecycleEvents, li as createModelCatalogReadSession, ln as runAuthMenu, lo as installAgentActivityIntegrations, lr as createDoctorFailedGuideError, lt as renderOpenMeldTagline, m as prepareRequestedSpaceSendFiles, ma as ensureVersionStateReady, mi as resolveConfiguredProfileWorkspacePath, mn as formatActiveOrganizationLabel, mo as formatOpenMeldCliCommand, mr as createSpaceAddMembersGuideError, mt as runDaemonAutostart, n as promptAndConfirmSpacePassword, na as resolveVersionChangeDirection, ni as formatAgentReplyReadinessLabel, nn as readRecentDaemonDispatchJournalEvents, no as requestLocalAgentActivitySync, nr as readDispatchSpaceActionContextFromEnv, ns as cliJsonSkillsShowEnvelopeSchema, nt as formatTransportModeDisplay, o as runSpaceHistory, oa as isDaemonServiceJobNeverSpawned, oi as resolveGatewayChainReadiness, on as evaluateCommandAuthentication, oo as unregisterAgentActivityRoute, or as formatDaemonServiceDowngradeBlockedRecommendation, os as compareAgentControllerRefsForDisplay, ot as renderOpenMeldBrandBlockLines, p as runSpaceWatch, pa as compareSemver, pi as readProfileWorkspaceConfig, pn as buildAuthStatusSnapshot, po as formatInlineOpenMeldCliCommands, pr as createResetConfirmationGuideError, pt as runDaemon, q as runAgentsCustomRemove, qa as createAuthenticationError, qi as assessServerRequiredVersion, qn as formatRemovedCcRelationMessage, qo as sanitizeTerminalDisplayText, qr as readOpenMeldToolsUpdateContextFromEnv, qt as collectSkillsReadinessSnapshot, r as runSpaceAddMembers, ra as readCurrentDaemonRuntimeContext, ri as formatDeviceReplyReadinessLabel, rn as connectWebSocket, ro as isAgentActivityRouteRegistered, rr as writeDispatchSpaceActionRecord, rs as getOrganizationJoinLinkResponseSchema, rt as colorizeAgentLabel, s as runSpaceJoin, sa as readDaemonServiceJobCrashExitCode, si as resolveOpenClawLocalDiagnosticsValue, sn as runAuthLogin, sr as formatDaemonServiceMissingRecommendation, st as renderOpenMeldHeader, t as buildCreateSpacePasswordPromptConfig, ta as inspectDaemonServiceInventory, ti as resolveCurrentReplyReadinessSnapshot, tn as readRuntimeReportingHealthState, to as LocalDaemonControlPlaneClientError, tr as readDispatchOwnedRuntimeGuard, ts as cliJsonSkillsLoadEnvelopeSchema, tt as runAgentsShow, u as runSpacePassword, ua as buildInstallSelfJsonPayload, ui as resolveProfileWorkspaceRuntime, un as runAuthStatus, uo as readAgentActivityIntegrationStatus, ur as createProfileActionGuideError, ut as resolveGatewayWebOrigin, v as buildHumanReadSignalsTranscriptItems, va as writeVersionState, vi as describeProfileWorkspacePathValidationFailure, vn as resolveDeviceAuthClientId, vo as formatProfileAwareOpenMeldCliCommands, vr as createSpaceMenuGuideError, vt as runDaemonInterrupt, w as buildFormalDispatchResultReadPayload, wa as renderHumanErrorCard, wi as listBuiltinAgentsRegistryEntries, wn as promptTextEntry, wo as readAgentActivityContextForPath, wr as createSpaceUpdatesGuideError, wt as runDaemonTeardownStrict, x as loadSpaceIdentityDirectoryOrNull, xa as resolveCurrentDaemonExpectedVersion, xi as resolveAgentProfilePrimaryAgentControllerReport, xn as createProfileByKind, xo as syncLocalAgentActivity, xr as createSpaceResultGuideError, xt as runDaemonSnapshot, y as emitHumanReadSignalsTextProjection, ya as resolveDaemonRuntimeContractCompatibility, yi as syncDeviceRuntimeStateProjection, yn as resolveDeviceTokenExpiresAt, yo as resolveSetupFollowUpCliEntryCommand, yr as createSpacePublicationSetGuideError, yt as runDaemonReinstall, z as buildReplyReadinessGuidance, za as resolveOpenMeldProfile, zi as buildDaemonRouteObservationPresentation$1, zn as assertNoRemovedCcSpaceAddressingSyntax, zo as runIfAgentActivityBindingGenerationIsCurrent, zr as formatDualViewGuideForDisplay, zt as readGatewayTextResponse } from "./command-CTQlQSYV.js";
|
|
5
|
-
import { $ as ownerComputerDiagnosticsSchema, $t as agentActivityInventorySessionStatusSchema, B as sleep, Bt as agentActivityProviderSchema, Ct as authProfileKindSchema, D as toStructuredApiClientFailure, F as OPENMELD_HEADER_PROFILE_ID, G as projectSpaceDispatchTraceFinalVisibleOutcome, Ht as agentActivitySnapshotQuerySchema, J as spaceDispatchTraceDispatchStatusSchema, K as resolveSpaceDispatchTraceRootCause, Ot as submitFeedbackIssueRequestSchema, Qt as agentActivityInventorySessionOriginSchema, Vt as agentActivitySessionStatusSchema, W as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, X as observabilityWakeTraceSelectorSchema, Y as spaceDispatchTraceResponseSchema, Z as projectObservabilityWakeCorrelation, _ as createOrganizationSkillsApi, b as createProjectsApi, c as createAgentProfileBindingApi, d as createCurrentDeviceApi, dn as START_BOUNDED_ID_SCHEMA, en as agentActivitySessionInventoryQuerySchema, et as projectOwnerComputerLocalRuntimes, f as createFeedbackApi, fn as START_BOUNDED_VERSION_SCHEMA, g as createOrganizationApi, gn as localAgentCatalogSchema, gt as organizationSkillBundleSchema, hn as startReplyReadinessSummarySchema, l as createCenterAgentApi, mn as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, nn as localAgentSessionProviderSchema, nt as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, pn as START_ISO_DATE_TIME_SCHEMA, q as spaceDispatchTraceAttemptStatusSchema, rt as agentProfileCreationConfigurationSchema, s as createAgentActivityApi, tt as summarizeComputerFileAccessPolicy, u as createComputerFileAccessApi, v as createPrepareReadinessApi, wt as authProfileManagedRoleSchema, x as createRoutinesApi, yt as stringifyOrganizationSkillBundleCanonicalJson } from "./dist-
|
|
6
|
-
import {
|
|
4
|
+
import { $ as runAgentsManage, $a as LocalProjectConnectionError, $i as resetCurrentCommandCheckState, $n as isCliUpdateCheckApplicable, $o as cliJsonOutputEnvelopeSchema, $r as resolveServiceReadinessFromServiceStatus, $t as ensureLocalSkills, A as parseEnvelope, Aa as resolveViewProfileKey, Ai as getAgentControllerPermissionModeFieldLabel, An as submitProfileRuntimeAgentControllerReport, Ao as enqueueAgentActivityHookEvent, Ar as registerSpaceMemberSelectionOptions, At as createDelayedSpinner, B as resolveHumanControllerDisplayName, Ba as updateOpenMeldProfile, Bi as buildOnboardingPlan, Bn as buildDispatchResultMessageReadProjection, Bo as setDefaultProjectConnection, Br as buildDualViewGuideMessage, Bt as toStructuredGatewayFailure, C as toSpaceMetaUpsertInput, Ca as buildHumanErrorCopy, Ci as reconcileNewRunnableBuiltinAgentsForSetup, Cn as resolveCreateProfileName, Co as upsertDaemonServiceContract, Cr as createSpaceTargetGuideError, Ct as runDaemonStop, D as formatHumanReadTargetList, Da as formatMessage, Di as buildAgentControllerRef, Dn as resolveServiceParticipationReadiness, Do as resolveObservedAgentActivityBinding, Dr as createUpgradeConfirmationGuideError, Dt as buildProfileWorkspaceRows, E as buildHumanReplyContextSummary, Ea as createPresenter, Ei as resolveLocalRegistryAgentIdFromAgentControllerRef, En as formatServiceParticipationReadinessLabel, Eo as buildAgentActivityEvent, Er as createStartAuthenticationGuideError, Et as buildProfileWorkspacePresentation, F as resolveOpenMeldProfileForSpaceCommand, Fa as createOpenMeldHumanProfile, Fi as resolveAgentProfileEditCapabilities, Fn as resolveLocalAgentControllerLaunchability, Fo as listProjectBindings, Fr as registerAuthLoginRequestOptions, Ft as createCliSpaceApi, G as runAgentsCustomAdd, Ga as buildAgentAuthenticationGuide, Gi as classifyDaemonServiceWakeability, Gn as buildUpdatesReplyWorkflowProjection, Go as renderInfoCard, Gr as buildAgentFacingPublicationModeGuideLines, Gt as runDaemonServiceParticipationGate, H as resolveAgentProfileSetup, Ha as clearSelectedOpenMeldProfileId, Hi as buildDaemonServiceTargetSpec, Hn as buildSignalIndex, Ho as canonicalizeLocalProjectPath, Hr as OPENMELD_AGENT_MENTAL_MODEL_LINES, Ht as resolveLocalComponentsStatus, I as emitSpaceAgentOverview, Ia as deleteOpenMeldProfile, Ii as resolveEvidenceSyncHealth, In as resolveLocalAgentControllerReportDecision, Io as listProjectConnectionsWithStatus, Ir as registerBuiltinAgentSelectionOptions, It as fetchSpaceMeta, J as runAgentsCustomUpdate, Ja as resolveAuthenticationGuidance, Ji as resolveOpenMeldEnvironmentTarget, Jn as promptSearchMultiselect, Jo as emitCliJsonEnvelope, Jr as runPendingDaemonServiceUpdate, Jt as runSkillsCheck$1, K as runAgentsCustomList, Ka as buildHumanAuthenticationCard, Ki as resolveServiceUpdateUrgency, Kn as createSpaceMemberIdentityIndex, Ko as renderTextInfoCard, Kr as canonicalizeAllowedActions, Kt as runDaemonStartDecisionPrompt, L as emitSpaceCliAgentOverview, La as listOpenMeldProfiles, Li as resolveNativeAgentControllerPermissionModeForController, Ln as inspectSpaceCacheFile, Lo as migrateProjectBindingStore, Lr as buildAgentOverviewFromContract, Lt as updateSpaceMeta, M as assertFullSignalIdArgument, Ma as requireOpenMeldProfile, Mi as parseAgentControllerRef, Mn as submitRuntimeAgentControllerReports, Mo as readAgentActivityOutboxHealth, Mr as registerSkillsTargetSelectionOptions, Mt as runDaemonStartupPreflight, N as assertValidSpaceIdTarget, Na as resolveOpenMeldProfileOrNull, Ni as resolveAgentControllerPermissionModeForController, Nn as collectLocalAgentControllerInventory, No as removeProjectOutbox, Nr as getCliVersionInfo, Nt as readDaemonStartFailureLogTailLines, O as resolveLinkAccessLabel, Oa as parseCliViewMode, Oi as createAgentExecutionStatusDisplayRows, On as assessActionParticipationCandidate, Oo as normalizeSharedSessionTitle, Or as getCommandEntryContract, Ot as reconcileCliVersionView, P as prepareAuthenticatedSpaceCommandContext, Pa as createOpenMeldAgentProfile, Pi as resolveAgentExecutionStatus, Pn as resolveLocalAgentControllerBlockerReasonCodes, Po as bindProject, Pr as registerDaemonControlTargetOptions, Pt as fetchSpaceUpdates, Q as runAgentsList, Qa as setProfileDefaultView, Qi as isCurrentCommandCheckScopeActive, Qn as assessCliUpdate, Qo as cliBinaryDeltaPatchSchema, Qr as formatDaemonFailureContextText, Qt as runSkillsUpdate, R as prepareLocalAgentReadiness, Ra as primeOpenMeldProfilesSessionCache, Rn as upsertSpaceConfig, Ro as removeProjectConnection, Rr as DualViewGuideError, Rt as readGatewayJsonResponse, S as loadSpaceSignalIndexOrNull, Sa as OPENMELD_VERSION, Si as listAgentTargetStates, Sn as resolveCreateProfileKind, So as readDaemonServiceContract, Sr as createSpaceSubcommandTargetGuideError, St as runDaemonStatusFlow, T as buildFormalSignalReadPayload, Ta as renderHumanTextErrorCard, Ti as notifyDaemonRouteCatalogChanged, Tn as ensureAgentProfileRuntimeBinding, To as removeAgentActivityContextCache, Tr as createStartAgentIdentityGuideError, Tt as runDaemonUninstall, U as runAgents, Ua as getSelectedOpenMeldProfileId, Ui as resolveDaemonServiceAlignmentDecision, Un as buildSignalMessageReadProjection, Uo as enqueueControllerTaskLifecycleEventWhileLocked, Ur as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Ut as writeInstalledLocalComponentsSnapshot, V as persistAgentTransportSelection, Va as alignSelectedOpenMeldProfileStorage, Vi as getSetupFlowCopy, Vn as buildDispatchResultReplyWorkflowProjection, Vo as unbindProject, Vr as formatAgentOverviewPayload, Vt as parseJsonResponse, W as runAgentsConfig, Wa as setSelectedOpenMeldProfileId, Wi as classifyDaemonServiceRunStartability, Wn as buildSpaceRoundReadProjection, Wo as readControllerTaskLifecycleOutboxHealth, Wr as areAllowedActionsEquivalent, Wt as resolveDaemonServiceParticipationStatus, X as runAgentsDisable, Xa as resolveAuthenticationGuidanceFromMessage, Xi as finishCurrentCommandCheckScope, Xn as isReturnKeypress, Xo as outJsonLine, Xr as ensureDaemonRuntimePaths, Xt as runSkillsInstall, Y as runAgentsDetect, Ya as resolveAuthenticationGuidanceFromError, Yi as resolveAuthBaseUrl, Yn as promptSearchSelect, Yo as errLine, Yr as scheduleDaemonServiceUpdate, Yt as runSkillsEnsure, Z as runAgentsEnable, Za as getProfileDefaultView, Zi as getCurrentCommandCheckState, Zn as runInteractivePrompt, Zo as outLine, Zr as resolveDaemonDeviceId, Zt as runSkillsUninstall, _ as runSpaceWriteWithPasswordRetry, _a as readVersionState, _i as validateCustomProfileWorkspacePath, _n as requestDeviceToken, _o as formatOpenMeldCliTextBlock, _r as createSpaceLeaveGuideError, _t as runDaemonInstall, a as runSpaceDelete, aa as getDaemonSystemServiceLogPath, ai as mapAgentReplyReadinessToLegacyAutoReply, an as ensureCommandAuthenticationOrCancel, ao as resolveAgentActivityRouteForPath, ar as resolveElapsedTimeMs, as as revokeOrganizationJoinLinkResponseSchema, at as printOpenMeldBanner, b as buildIdentityOnlyMembersSnapshotForReadProjection, ba as toStartBackgroundHelperExecutionCompatibility, bi as createPrimaryBindingReadSession, bn as revokeAuthAccessToken, bo as resolveUserFacingCliEntryCommand, br as createSpaceRemoveMembersGuideError, bt as runDaemonRunAfterEntryChecks, c as runSpaceLeave, ca as resolveDaemonServiceManager, ci as syncProfileWorkspaceState, cn as runAuthLogout, co as defaultManagedIntegrationPaths, cr as canUseInteractivePrompts, ct as renderOpenMeldLogo, d as runSpaceRemoveMembers, da as performManagedInstall, di as ensureOpenMeldManagedProfileWorkspace, dn as exchangeOneTimeTokenAuthSession, do as resolveAgentActivityDispatcherCommand, dr as createProfileCreateGuideError, dt as resolveSpaceSendText, ea as startCurrentCommandCheckScope, ei as resolveDaemonServiceFreshnessWarning, en as readBundledOpenMeldCliSkillDocumentByPath, eo as validateLocalProjectConnectionPath, er as assertDispatchOwnedRuntimePublicWriteAllowed, es as cliJsonSkillsListEnvelopeSchema, et as runAgentsRepair, f as runSpaceSend, fa as buildNextVersionState, fi as normalizeCustomProfileWorkspacePath, fn as buildAuthStatusRows, fo as uninstallAgentActivityIntegrations, fr as createProfileMenuGuideError, ft as bestEffortStopCurrentLaneDaemonService, g as runSpaceReadWithPasswordRetry, ga as fetchLatestPackageInfo, gi as setOpenMeldManagedProfileWorkspace, gn as fetchAuthUserSnapshot, go as formatOpenMeldCliLine, gr as createSpaceContractSetGuideError, gt as runDaemonCancel, h as uploadPreparedSpaceFiles, ha as fetchLatestCliBinaryRelease, hi as setCustomProfileWorkspace, hn as extractAuthApiErrorMessage, ho as formatOpenMeldCliCommands, hr as createSpaceAliasTargetGuideError, ht as runDaemonBackgroundStartForDecision, i as runSpaceCreate, ia as readCurrentObservedDaemonRuntimeStatus, ii as formatHumanReplyReadinessReason$1, in as buildCommandAuthenticationPromptMessage, io as registerAgentActivityRoute, ir as formatElapsedTime, is as organizationJoinLinkErrorResponseSchema, it as colorizeDisplayProfileLabel, j as isSpaceCommandOutputHandledError, ja as isSelectedOpenMeldProfileRequiredError, ji as listAgentControllerPermissionModeOptions, jn as submitRuntimeAgentControllerReport, jo as removeProjectInbox, jr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, jt as shouldEmitAgentOverview, k as resolveOrganizationVisibilityLabel, ka as resolveRuntimeContext, ki as getAgentControllerPermissionModeDisplayMetadata, kn as computeRetryDelayMs, ko as readCodexSessionTitles, kr as getCommandHintsFromContract, kt as emitDaemonAgentOverview, l as runSpaceList, la as readRecentDaemonLifecycleEvents, li as createModelCatalogReadSession, ln as runAuthMenu, lo as installAgentActivityIntegrations, lr as createDoctorFailedGuideError, lt as renderOpenMeldTagline, m as prepareRequestedSpaceSendFiles, ma as ensureVersionStateReady, mi as resolveConfiguredProfileWorkspacePath, mn as formatActiveOrganizationLabel, mo as formatOpenMeldCliCommand, mr as createSpaceAddMembersGuideError, mt as runDaemonAutostart, n as promptAndConfirmSpacePassword, na as resolveVersionChangeDirection, ni as formatAgentReplyReadinessLabel, nn as readRecentDaemonDispatchJournalEvents, no as requestLocalAgentActivitySync, nr as readDispatchSpaceActionContextFromEnv, ns as cliJsonSkillsShowEnvelopeSchema, nt as formatTransportModeDisplay, o as runSpaceHistory, oa as isDaemonServiceJobNeverSpawned, oi as resolveGatewayChainReadiness, on as evaluateCommandAuthentication, oo as unregisterAgentActivityRoute, or as formatDaemonServiceDowngradeBlockedRecommendation, os as compareAgentControllerRefsForDisplay, ot as renderOpenMeldBrandBlockLines, p as runSpaceWatch, pa as compareSemver, pi as readProfileWorkspaceConfig, pn as buildAuthStatusSnapshot, po as formatInlineOpenMeldCliCommands, pr as createResetConfirmationGuideError, pt as runDaemon, q as runAgentsCustomRemove, qa as createAuthenticationError, qi as assessServerRequiredVersion, qn as formatRemovedCcRelationMessage, qo as sanitizeTerminalDisplayText, qr as readOpenMeldToolsUpdateContextFromEnv, qt as collectSkillsReadinessSnapshot, r as runSpaceAddMembers, ra as readCurrentDaemonRuntimeContext, ri as formatDeviceReplyReadinessLabel, rn as connectWebSocket, ro as isAgentActivityRouteRegistered, rr as writeDispatchSpaceActionRecord, rs as getOrganizationJoinLinkResponseSchema, rt as colorizeAgentLabel, s as runSpaceJoin, sa as readDaemonServiceJobCrashExitCode, si as resolveOpenClawLocalDiagnosticsValue, sn as runAuthLogin, sr as formatDaemonServiceMissingRecommendation, st as renderOpenMeldHeader, t as buildCreateSpacePasswordPromptConfig, ta as inspectDaemonServiceInventory, ti as resolveCurrentReplyReadinessSnapshot, tn as readRuntimeReportingHealthState, to as LocalDaemonControlPlaneClientError, tr as readDispatchOwnedRuntimeGuard, ts as cliJsonSkillsLoadEnvelopeSchema, tt as runAgentsShow, u as runSpacePassword, ua as buildInstallSelfJsonPayload, ui as resolveProfileWorkspaceRuntime, un as runAuthStatus, uo as readAgentActivityIntegrationStatus, ur as createProfileActionGuideError, ut as resolveGatewayWebOrigin, v as buildHumanReadSignalsTranscriptItems, va as writeVersionState, vi as describeProfileWorkspacePathValidationFailure, vn as resolveDeviceAuthClientId, vo as formatProfileAwareOpenMeldCliCommands, vr as createSpaceMenuGuideError, vt as runDaemonInterrupt, w as buildFormalDispatchResultReadPayload, wa as renderHumanErrorCard, wi as listBuiltinAgentsRegistryEntries, wn as promptTextEntry, wo as readAgentActivityContextForPath, wr as createSpaceUpdatesGuideError, wt as runDaemonTeardownStrict, x as loadSpaceIdentityDirectoryOrNull, xa as resolveCurrentDaemonExpectedVersion, xi as resolveAgentProfilePrimaryAgentControllerReport, xn as createProfileByKind, xo as syncLocalAgentActivity, xr as createSpaceResultGuideError, xt as runDaemonSnapshot, y as emitHumanReadSignalsTextProjection, ya as resolveDaemonRuntimeContractCompatibility, yi as syncDeviceRuntimeStateProjection, yn as resolveDeviceTokenExpiresAt, yo as resolveSetupFollowUpCliEntryCommand, yr as createSpacePublicationSetGuideError, yt as runDaemonReinstall, z as buildReplyReadinessGuidance, za as resolveOpenMeldProfile, zi as buildDaemonRouteObservationPresentation$1, zn as assertNoRemovedCcSpaceAddressingSyntax, zo as runIfAgentActivityBindingGenerationIsCurrent, zr as formatDualViewGuideForDisplay, zt as readGatewayTextResponse } from "./command-BGqFPMwd.js";
|
|
5
|
+
import { $ as ownerComputerDiagnosticsSchema, $t as agentActivityInventorySessionStatusSchema, B as sleep, Bt as agentActivityProviderSchema, Ct as authProfileKindSchema, D as toStructuredApiClientFailure, F as OPENMELD_HEADER_PROFILE_ID, G as projectSpaceDispatchTraceFinalVisibleOutcome, Ht as agentActivitySnapshotQuerySchema, J as spaceDispatchTraceDispatchStatusSchema, K as resolveSpaceDispatchTraceRootCause, Ot as submitFeedbackIssueRequestSchema, Qt as agentActivityInventorySessionOriginSchema, Vt as agentActivitySessionStatusSchema, W as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, X as observabilityWakeTraceSelectorSchema, Y as spaceDispatchTraceResponseSchema, Z as projectObservabilityWakeCorrelation, _ as createOrganizationSkillsApi, b as createProjectsApi, c as createAgentProfileBindingApi, d as createCurrentDeviceApi, dn as START_BOUNDED_ID_SCHEMA, en as agentActivitySessionInventoryQuerySchema, et as projectOwnerComputerLocalRuntimes, f as createFeedbackApi, fn as START_BOUNDED_VERSION_SCHEMA, g as createOrganizationApi, gn as localAgentCatalogSchema, gt as organizationSkillBundleSchema, hn as startReplyReadinessSummarySchema, l as createCenterAgentApi, mn as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, nn as localAgentSessionProviderSchema, nt as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, pn as START_ISO_DATE_TIME_SCHEMA, q as spaceDispatchTraceAttemptStatusSchema, rt as agentProfileCreationConfigurationSchema, s as createAgentActivityApi, tt as summarizeComputerFileAccessPolicy, u as createComputerFileAccessApi, v as createPrepareReadinessApi, wt as authProfileManagedRoleSchema, x as createRoutinesApi, yt as stringifyOrganizationSkillBundleCanonicalJson } from "./dist-0qM_CVk2.js";
|
|
6
|
+
import { Ar as clientMessageIdSchema, Dn as messageEnvelopeSchema, Er as unknown, Ft as spaceStatusSchema, Ht as isSpaceFileTextEditable, It as centerAgentInteractionSourceSchema, Kt as resolveSpaceFileMimeType, Sr as string, Tr as union, Zr as openMeldProfileIdSchema, br as record, di as trimmedStringFromUnknown, dr as enumFactory, fr as int, gr as nullFactory, hn as spaceContractSchema, li as nonEmptyTrimmedStringFromUnknown, ln as dispatchExecutionSchema, lr as discriminatedUnion, mn as spaceContractFieldsSchema, mr as literal, ni as openMeldRuntimeProfileIdSchema, or as array, pr as iso, sr as boolean, un as spaceThreadContextSchema, vr as object, xr as strictObject } from "./runtime-transport-BiQfJGnw.js";
|
|
7
7
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
8
8
|
import { j as getDaemonStatus } from "./daemon-runtime-lease-D82uDZ5s.js";
|
|
9
|
-
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-
|
|
10
|
-
import { c as buildOpenMeldRequestContextHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, l as buildRequestAuthHeaders, n as createCliApiClientFoundation, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout } from "./api-client-foundation-
|
|
9
|
+
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-Bj8n8YwV.js";
|
|
10
|
+
import { c as buildOpenMeldRequestContextHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, l as buildRequestAuthHeaders, n as createCliApiClientFoundation, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout } from "./api-client-foundation-CabWpjFe.js";
|
|
11
11
|
import { Command, Option } from "commander";
|
|
12
12
|
import os, { homedir, hostname, release, tmpdir } from "node:os";
|
|
13
13
|
import * as z$1 from "zod/v4";
|
|
@@ -27414,7 +27414,7 @@ function normalizeOptionalString(value) {
|
|
|
27414
27414
|
return normalized.length > 0 ? normalized : null;
|
|
27415
27415
|
}
|
|
27416
27416
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
27417
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
27417
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-BNNtDZYW.js");
|
|
27418
27418
|
return await runSpaceAddMeMembership(input);
|
|
27419
27419
|
}
|
|
27420
27420
|
//#endregion
|
|
@@ -494,8 +494,6 @@ const INTERACTION_PERMISSION_REQUIRED_PUBLIC_COPY = "The local agent asked for p
|
|
|
494
494
|
const INTERACTION_QUESTION_REQUIRED_PUBLIC_COPY = "The local agent asked a question before it could continue. OpenMeld cannot collect that answer yet. Run the task directly in the local agent, or adjust the prompt so it can finish without asking, then wake it again.";
|
|
495
495
|
const INTERACTION_PLAN_REQUIRED_PUBLIC_COPY = "The local agent asked for plan approval before it could continue. OpenMeld cannot collect that approval yet. Run the task directly in the local agent, or use a mode that does not require plan approval, then wake it again.";
|
|
496
496
|
const INTERACTION_UNSUPPORTED_PUBLIC_COPY = "The local agent requested an interactive response that OpenMeld does not support yet. Run the task directly in the local agent, resolve the request there, then wake it again.";
|
|
497
|
-
const OPENCLAW_PERMISSION_REQUIRED_RE = /\b[a-z0-9_]+_permission_required\b/;
|
|
498
|
-
const LEADING_ERROR_CODE_PREFIX_RE = /^[a-z][\w.]*:\s+/i;
|
|
499
497
|
const HTML_ERROR_BODY_RE = /^\s*</;
|
|
500
498
|
const DISPATCH_ERROR_REDACTION_REPLACEMENTS = [
|
|
501
499
|
[/\b(authorization\s*:\s*(?:bearer|basic)\s+)[^\s,;]+/gi, "$1[redacted]"],
|
|
@@ -752,6 +750,22 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
752
750
|
preferMappedReasonOverDetail: true,
|
|
753
751
|
recoveryTarget: "cursor_account"
|
|
754
752
|
},
|
|
753
|
+
{
|
|
754
|
+
body: (targetName) => `${targetName} reached a current Usage Limit and cannot start new work. Review Usage Limits before waking it again.`,
|
|
755
|
+
kind: "account_access",
|
|
756
|
+
mappedReasonBody: (targetName) => `${targetName} reached a current Usage Limit and cannot start new work. Review Usage Limits before waking it again.`,
|
|
757
|
+
patterns: ["=usage_exhausted"],
|
|
758
|
+
primaryActionId: "review_agent_settings",
|
|
759
|
+
preferMappedReasonOverDetail: true,
|
|
760
|
+
recoveryTarget: "agents"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
body: (targetName) => `OpenMeld is still checking ${targetName}'s current Usage. Wait a moment, then wake ${targetName} again.`,
|
|
764
|
+
kind: "system_retry",
|
|
765
|
+
mappedReasonBody: "OpenMeld is still checking this agent's current Usage. Wait a moment, then wake it again.",
|
|
766
|
+
patterns: ["=usage_checking"],
|
|
767
|
+
recoveryTarget: null
|
|
768
|
+
},
|
|
755
769
|
{
|
|
756
770
|
body: (targetName) => `${targetName}'s model provider account does not have enough credits for this Wake. Add credits or update billing directly with the provider, then wake the agent again.`,
|
|
757
771
|
kind: "system_retry",
|
|
@@ -1422,29 +1436,6 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
1422
1436
|
recoveryTarget: "agents"
|
|
1423
1437
|
}
|
|
1424
1438
|
];
|
|
1425
|
-
function resolveDetailedPublicAgentFailureReason(errorMessage) {
|
|
1426
|
-
const normalizedMessage = normalizeProviderFailureMessage(errorMessage);
|
|
1427
|
-
if (!normalizedMessage) return null;
|
|
1428
|
-
const lowered = normalizedMessage.toLowerCase();
|
|
1429
|
-
const usageLimitReason = resolveProviderUsageLimitPassthroughReason(normalizedMessage, lowered);
|
|
1430
|
-
if (usageLimitReason) return usageLimitReason;
|
|
1431
|
-
const providerFailureReason = resolveRuntimeOrProviderAccountFailureReason(lowered);
|
|
1432
|
-
if (providerFailureReason) return providerFailureReason;
|
|
1433
|
-
if (lowered.includes("model is not supported") && lowered.includes("chatgpt account")) return "The current Codex model is not available for this ChatGPT-backed account.";
|
|
1434
|
-
if (lowered.includes("requires a newer version of codex")) return CODEX_UPGRADE_REQUIRED_REASON;
|
|
1435
|
-
if (lowered.includes("model is not supported") || lowered.includes("unsupported model")) return UNSUPPORTED_MODEL_PUBLIC_COPY;
|
|
1436
|
-
if (lowered.includes("oauth token refresh failed") || lowered.includes("failed to refresh oauth token")) {
|
|
1437
|
-
if (lowered.includes("openclaw logs --follow")) return "Authentication failed in OpenClaw. Run `openclaw logs --follow`, re-authenticate, then retry.";
|
|
1438
|
-
return "Authentication failed while refreshing the provider token. Re-authenticate in the provider CLI, then retry.";
|
|
1439
|
-
}
|
|
1440
|
-
if (isClaudeCodeSubscriptionAccessFailure(lowered)) return "Claude Code subscription access is unavailable. Check your Claude Code subscription, then try again.";
|
|
1441
|
-
if (isClaudeCodeAccountAccessFailure(lowered)) return "Claude Code access is disabled for this account or organization. Enable Claude Code access in Claude, then try again.";
|
|
1442
|
-
if (lowered.includes("openclaw is not installed or not on path")) return "OpenMeld could not start OpenClaw on this device. Install OpenClaw or fix its PATH for background services, then try again.";
|
|
1443
|
-
if (lowered.includes("launch contract is required for runtime dispatch")) return "OpenMeld could not start this agent on this device. Repair it on this device, then try again.";
|
|
1444
|
-
if (lowered.includes("openmeld found more than one") && lowered.includes("install")) return "OpenMeld found more than one install for this agent on this device. Choose which one OpenMeld should use here, then try again.";
|
|
1445
|
-
if (isProviderUnreachableFailure(lowered)) return "The model provider was unreachable. Check provider status or network access, then wake the agent again.";
|
|
1446
|
-
return null;
|
|
1447
|
-
}
|
|
1448
1439
|
function resolvePublicAgentFailureRecovery(input) {
|
|
1449
1440
|
const normalizedErrorCode = normalizeOptionalText$1(input.errorCode)?.toLowerCase();
|
|
1450
1441
|
if (!normalizedErrorCode) return null;
|
|
@@ -1509,61 +1500,6 @@ function normalizeOptionalText$1(value) {
|
|
|
1509
1500
|
const normalized = typeof value === "string" ? value.trim() : "";
|
|
1510
1501
|
return normalized.length > 0 ? normalized : null;
|
|
1511
1502
|
}
|
|
1512
|
-
function isProviderBalanceFailure(value) {
|
|
1513
|
-
return value.includes("insufficient balance") || value.includes("insufficient_balance") || value.includes("not enough credits") || value.includes("out of credits") || value.includes("credits exhausted") || value.includes("credit balance") || value.includes("account balance") || value.includes("balance is too low") || value.includes("payment required");
|
|
1514
|
-
}
|
|
1515
|
-
function isRuntimePermissionApprovalFailure(value) {
|
|
1516
|
-
return value.includes("permission.denied.runtime") || value.includes("permission requested") && (value.includes("auto-reject") || value.includes("auto rejecting") || value.includes("auto rejected") || value.includes("rejecting")) || value.includes("permission for this tool use was denied") || value.includes("permission for this action was denied") || value.includes("permission for this action has been denied") || value.includes("denied by auto mode classifier") || value.includes("user rejected tool use") || value.includes("command denied by sandbox:") || value.includes("sandbox denied exec error") || value.includes("this action was rejected due to unacceptable risk") || value.includes("execution denied:") && (value.includes("policy") || value.includes("forbidden") || value.includes("approval") || value.includes("sandbox")) || value.includes("rejected:") && value.includes("blocked by policy") || value.includes("requires approval") && value.includes("policy") || value.includes("policy forbids commands starting") || value.includes("system_run_denied:") || value.includes("system_run_disabled: security=deny") || value.includes("exec denied:") || value.includes("exec.denied") || value.includes("permission:screenrecording") || OPENCLAW_PERMISSION_REQUIRED_RE.test(value);
|
|
1517
|
-
}
|
|
1518
|
-
function resolveProviderUsageLimitPassthroughReason(rawMessage, lowered) {
|
|
1519
|
-
if (!(lowered.includes("usage limit") || lowered.includes("hit your usage limit"))) return null;
|
|
1520
|
-
return normalizeOptionalText$1(stripLeadingErrorCodePrefix(rawMessage));
|
|
1521
|
-
}
|
|
1522
|
-
function stripLeadingErrorCodePrefix(value) {
|
|
1523
|
-
return value.replace(LEADING_ERROR_CODE_PREFIX_RE, "");
|
|
1524
|
-
}
|
|
1525
|
-
function resolveRuntimeOrProviderAccountFailureReason(value) {
|
|
1526
|
-
if (isRuntimePermissionApprovalFailure(value)) return RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY;
|
|
1527
|
-
if (isProviderBalanceFailure(value)) return "The model provider rejected this request because the provider account does not have enough credits. Add credits or update billing directly with the provider, then wake the agent again.";
|
|
1528
|
-
if (isProviderCredentialFailure(value)) return "The model provider rejected this request because the local provider login expired. Re-authenticate the local agent on its computer, then wake the agent again.";
|
|
1529
|
-
if (isProviderRateLimitFailure(value)) return "The model provider rate-limited this request. Wait a moment, then wake the agent again.";
|
|
1530
|
-
if (isProviderUnavailableFailure(value)) return PROVIDER_UNAVAILABLE_PUBLIC_COPY;
|
|
1531
|
-
return null;
|
|
1532
|
-
}
|
|
1533
|
-
function isProviderCredentialFailure(value) {
|
|
1534
|
-
return value.includes("invalid api key") || value.includes("invalid token") || value.includes("expired token") || value.includes("missing api key") || value.includes("missing credentials") || value.includes("authentication_failed") || value.includes("oauth_org_not_allowed") || value.includes("failed to authenticate") || value.includes("oauth session expired") || value.includes("unauthorized") || value.includes("not logged in") || value.includes("401");
|
|
1535
|
-
}
|
|
1536
|
-
function isProviderRateLimitFailure(value) {
|
|
1537
|
-
return value.includes("rate limit") || value.includes("rate_limit") || value.includes("too many requests") || value.includes("throttl") || value.includes("429");
|
|
1538
|
-
}
|
|
1539
|
-
function isProviderUnavailableFailure(value) {
|
|
1540
|
-
return value.includes("bad gateway") || value.includes("gateway timeout") || value.includes("service unavailable") || value.includes("provider unavailable") || value.includes("provider is unavailable") || value.includes("socket hang up") || value.includes("econnreset") || value.includes("etimedout");
|
|
1541
|
-
}
|
|
1542
|
-
function isProviderUnreachableFailure(value) {
|
|
1543
|
-
const hasProviderContext = value.includes("provider") || value.includes("upstream") || value.includes("network") || value.includes("connection") || value.includes("request");
|
|
1544
|
-
return value.includes("upstream_unreachable") || value.includes("provider_unreachable") || value.includes("provider unavailable") || value.includes("provider is unavailable") || value.includes("upstream unavailable") || value.includes("connection refused") || value.includes("network unreachable") || value.includes("dns") || (value.includes("timeout") || value.includes("timed out")) && hasProviderContext;
|
|
1545
|
-
}
|
|
1546
|
-
function isClaudeCodeAccountAccessFailure(value) {
|
|
1547
|
-
return value.includes("organization") && value.includes("disabled") && value.includes("access") || value.includes("claude code") && (value.includes("access is disabled") || value.includes("disabled claude code") || value.includes("access unavailable") || value.includes("not enabled"));
|
|
1548
|
-
}
|
|
1549
|
-
function isClaudeCodeSubscriptionAccessFailure(value) {
|
|
1550
|
-
return value.includes("subscription") && (value.includes("disabled") || value.includes("inactive") || value.includes("required") || value.includes("unavailable"));
|
|
1551
|
-
}
|
|
1552
|
-
function normalizeProviderFailureMessage(value) {
|
|
1553
|
-
const normalized = normalizeOptionalText$1(value);
|
|
1554
|
-
if (!normalized) return null;
|
|
1555
|
-
return normalizeOptionalText$1(extractJsonDetail(normalized)) ?? normalized;
|
|
1556
|
-
}
|
|
1557
|
-
function extractJsonDetail(value) {
|
|
1558
|
-
try {
|
|
1559
|
-
const parsed = JSON.parse(value);
|
|
1560
|
-
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) return null;
|
|
1561
|
-
const record = parsed;
|
|
1562
|
-
return normalizeOptionalText$1(record.detail) ?? normalizeOptionalText$1(record.message) ?? (record.error && typeof record.error === "object" && !Array.isArray(record.error) ? normalizeOptionalText$1(record.error.message) : null);
|
|
1563
|
-
} catch {
|
|
1564
|
-
return null;
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
1503
|
function formatObjectTargetName(targetName) {
|
|
1568
1504
|
return targetName === "This agent" ? "this agent" : targetName;
|
|
1569
1505
|
}
|
|
@@ -1578,6 +1514,13 @@ function resolvePublicAgentFailureBody(body, targetName) {
|
|
|
1578
1514
|
return typeof body === "function" ? body(targetName) : body;
|
|
1579
1515
|
}
|
|
1580
1516
|
//#endregion
|
|
1517
|
+
//#region ../../packages/schemas/dist/schemas/agent-profile-work-recovery.js
|
|
1518
|
+
const agentProfileWorkRecoveryActionKindSchema = z$1.enum([
|
|
1519
|
+
"continue_interrupted_work",
|
|
1520
|
+
"approve_queued_work",
|
|
1521
|
+
"skip_interrupted_work"
|
|
1522
|
+
]);
|
|
1523
|
+
//#endregion
|
|
1581
1524
|
//#region ../../packages/schemas/dist/schemas/protocol/constants.js
|
|
1582
1525
|
const MAX_TEXT_LENGTH = 1e5;
|
|
1583
1526
|
//#endregion
|
|
@@ -5313,7 +5256,11 @@ z$1.strictObject({
|
|
|
5313
5256
|
//#endregion
|
|
5314
5257
|
//#region ../../packages/schemas/dist/schemas/daemon/dispatch-queue.js
|
|
5315
5258
|
const openMeldDaemonDispatchDeliveryRecoveryReasonSchema = enumFactory(["connection_replaced", "route_lost"]);
|
|
5316
|
-
const openMeldDaemonDispatchQueueRecoveryReasonSchema = union([
|
|
5259
|
+
const openMeldDaemonDispatchQueueRecoveryReasonSchema = union([
|
|
5260
|
+
openMeldDaemonDispatchDeliveryRecoveryReasonSchema,
|
|
5261
|
+
literal("agent_profile_work_coordinator_promoted"),
|
|
5262
|
+
literal("hosted_admission_incomplete")
|
|
5263
|
+
]);
|
|
5317
5264
|
const openMeldDaemonDispatchRulesSnapshotSchema = strictObject({
|
|
5318
5265
|
dispatchPolicy: runtimeDispatchPolicySchema,
|
|
5319
5266
|
ruleSource: openMeldDaemonMentionDispatchRuleSourceSchema,
|
|
@@ -5681,10 +5628,21 @@ const openMeldDaemonProviderAccessEvidenceProviderSchema = enumFactory([
|
|
|
5681
5628
|
"openclaw"
|
|
5682
5629
|
]);
|
|
5683
5630
|
const openMeldDaemonProviderAccessEvidenceReasonCodeSchema = enumFactory([
|
|
5631
|
+
"usage_exhausted",
|
|
5684
5632
|
"provider_account.capacity_exhausted",
|
|
5685
5633
|
"provider_account.organization_access_disabled",
|
|
5686
5634
|
"provider_account.subscription_access_unavailable"
|
|
5687
5635
|
]);
|
|
5636
|
+
const OPENMELD_ORIGINAL_ERROR_MAX_LENGTH = 2e3;
|
|
5637
|
+
const ORIGINAL_ERROR_DIAGNOSTIC_FIELD_PATTERN = /(?:^|\n)\s*(?:args|command|cwd|raw(?:[_ ]payload)?|stack|stderr|stdout)\s*:/i;
|
|
5638
|
+
const ORIGINAL_ERROR_LOCAL_PATH_PATTERN = /(?:^|[\s('"`])(?:\/(?:Users|home|private|tmp|var)\/|[a-z]:\\)/i;
|
|
5639
|
+
const ORIGINAL_ERROR_RAW_PAYLOAD_PATTERN = /^\s*[[{]/;
|
|
5640
|
+
const ORIGINAL_ERROR_SECRET_PATTERN = /(?:\bsk-[a-z0-9_-]{16,}|\b(?:api[_ -]?key|authorization|access[_ -]?token)\s*[:=]\s*\S+)/i;
|
|
5641
|
+
const ORIGINAL_ERROR_STACK_TRACE_PATTERN = /(?:^|\n)\s*(?:at\s+\S+|Error:.*\n\s*at\s+)/;
|
|
5642
|
+
function isOriginalErrorSafeForMessageDetails(value) {
|
|
5643
|
+
return !(ORIGINAL_ERROR_DIAGNOSTIC_FIELD_PATTERN.test(value) || ORIGINAL_ERROR_LOCAL_PATH_PATTERN.test(value) || ORIGINAL_ERROR_RAW_PAYLOAD_PATTERN.test(value) || ORIGINAL_ERROR_SECRET_PATTERN.test(value) || ORIGINAL_ERROR_STACK_TRACE_PATTERN.test(value));
|
|
5644
|
+
}
|
|
5645
|
+
const openMeldDaemonOriginalErrorSchema = string().trim().min(1).max(OPENMELD_ORIGINAL_ERROR_MAX_LENGTH).refine(isOriginalErrorSafeForMessageDetails, { message: "original error must not contain diagnostics, sensitive values, or local paths" });
|
|
5688
5646
|
const openMeldDaemonProviderAccessEvidenceSourceSchema = literal("wake_failure");
|
|
5689
5647
|
const openMeldDaemonProviderAccessEvidenceSchema = strictObject({
|
|
5690
5648
|
observedAtMs: number().int().nonnegative(),
|
|
@@ -5852,6 +5810,7 @@ const openMeldDaemonTaskResultPayloadSchema = discriminatedUnion("status", [
|
|
|
5852
5810
|
errorType: openMeldDaemonTaskResultErrorTypeSchema,
|
|
5853
5811
|
errorCode: string().min(1).optional(),
|
|
5854
5812
|
errorMessage: string().min(1).optional(),
|
|
5813
|
+
originalError: openMeldDaemonOriginalErrorSchema.optional(),
|
|
5855
5814
|
providerAccessEvidence: openMeldDaemonProviderAccessEvidenceSchema.optional()
|
|
5856
5815
|
})
|
|
5857
5816
|
]).superRefine((value, ctx) => {
|
|
@@ -5958,6 +5917,110 @@ discriminatedUnion("status", [
|
|
|
5958
5917
|
status: literal("unavailable")
|
|
5959
5918
|
})
|
|
5960
5919
|
]);
|
|
5920
|
+
const runtimeTransportAgentProfileWorkReferenceSchema = strictObject({
|
|
5921
|
+
sourceSignalId: string().trim().min(1).max(512),
|
|
5922
|
+
spaceId: string().trim().min(1).max(512)
|
|
5923
|
+
});
|
|
5924
|
+
const runtimeTransportAgentProfileWorkRecoveryActionSchema = agentProfileWorkRecoveryActionKindSchema;
|
|
5925
|
+
strictObject({
|
|
5926
|
+
ownerUserId: string().trim().min(1).max(256),
|
|
5927
|
+
targetProfileId: agentProfileIdSchema
|
|
5928
|
+
});
|
|
5929
|
+
discriminatedUnion("status", [
|
|
5930
|
+
strictObject({
|
|
5931
|
+
action: runtimeTransportAgentProfileWorkRecoveryActionSchema,
|
|
5932
|
+
authorizedContinuationClientMessageId: clientMessageIdSchema.nullable(),
|
|
5933
|
+
interruptedClientMessageId: clientMessageIdSchema,
|
|
5934
|
+
interruptedDispatchId: string().trim().min(1).max(512),
|
|
5935
|
+
interruptedTargetWakeLifecycleId: string().trim().min(1).max(512).optional(),
|
|
5936
|
+
interruptedSourceSignalId: string().trim().min(1).max(512).optional(),
|
|
5937
|
+
spaceId: string().trim().min(1).max(512),
|
|
5938
|
+
status: literal("available")
|
|
5939
|
+
}),
|
|
5940
|
+
strictObject({ status: literal("not_pending") }),
|
|
5941
|
+
strictObject({ status: literal("unavailable") })
|
|
5942
|
+
]);
|
|
5943
|
+
const runtimeTransportAgentProfileOperationalContextSchema = discriminatedUnion("status", [
|
|
5944
|
+
strictObject({
|
|
5945
|
+
reasonCode: string().trim().min(1).max(256),
|
|
5946
|
+
status: literal("checking")
|
|
5947
|
+
}),
|
|
5948
|
+
strictObject({
|
|
5949
|
+
status: literal("idle"),
|
|
5950
|
+
waitingCount: literal(0)
|
|
5951
|
+
}),
|
|
5952
|
+
strictObject({
|
|
5953
|
+
currentWorkReference: runtimeTransportAgentProfileWorkReferenceSchema.optional(),
|
|
5954
|
+
queuedWorkReferences: array(runtimeTransportAgentProfileWorkReferenceSchema).max(50).optional(),
|
|
5955
|
+
status: literal("working"),
|
|
5956
|
+
waitingCount: number().int().min(0).max(50)
|
|
5957
|
+
}),
|
|
5958
|
+
strictObject({
|
|
5959
|
+
currentWorkReference: runtimeTransportAgentProfileWorkReferenceSchema.optional(),
|
|
5960
|
+
queuedWorkReferences: array(runtimeTransportAgentProfileWorkReferenceSchema).max(50).optional(),
|
|
5961
|
+
recoveryAction: runtimeTransportAgentProfileWorkRecoveryActionSchema.optional(),
|
|
5962
|
+
recoveryTargetWakeLifecycleId: string().trim().min(1).max(512).optional(),
|
|
5963
|
+
status: literal("paused"),
|
|
5964
|
+
waitingCount: number().int().min(0).max(50)
|
|
5965
|
+
})
|
|
5966
|
+
]);
|
|
5967
|
+
strictObject({
|
|
5968
|
+
includeWorkReferences: boolean(),
|
|
5969
|
+
ownerUserId: string().trim().min(1).max(256),
|
|
5970
|
+
targetProfileIds: array(agentProfileIdSchema).min(1).max(100)
|
|
5971
|
+
});
|
|
5972
|
+
strictObject({ contexts: array(strictObject({
|
|
5973
|
+
operationalContext: runtimeTransportAgentProfileOperationalContextSchema,
|
|
5974
|
+
targetProfileId: agentProfileIdSchema
|
|
5975
|
+
})).max(100) });
|
|
5976
|
+
const runtimeTransportAgentProfileWorkRecoveryTargetSchema = strictObject({
|
|
5977
|
+
ownerUserId: string().trim().min(1).max(256),
|
|
5978
|
+
targetProfileId: agentProfileIdSchema
|
|
5979
|
+
});
|
|
5980
|
+
strictObject({
|
|
5981
|
+
ownerUserId: string().trim().min(1).max(256),
|
|
5982
|
+
targetProfileIds: array(agentProfileIdSchema).min(1).max(100)
|
|
5983
|
+
});
|
|
5984
|
+
discriminatedUnion("status", [strictObject({
|
|
5985
|
+
changedProfileIds: array(agentProfileIdSchema).max(100),
|
|
5986
|
+
continuationProfileIds: array(agentProfileIdSchema).max(100).default([]),
|
|
5987
|
+
status: literal("updated")
|
|
5988
|
+
}), strictObject({
|
|
5989
|
+
changedProfileIds: tuple([]),
|
|
5990
|
+
continuationProfileIds: tuple([]).default([]),
|
|
5991
|
+
status: literal("unavailable")
|
|
5992
|
+
})]);
|
|
5993
|
+
runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({
|
|
5994
|
+
continuationClientMessageId: clientMessageIdSchema,
|
|
5995
|
+
currentAgentControllerRef: agentControllerRefSchema,
|
|
5996
|
+
currentBindingId: string().trim().min(1).max(512),
|
|
5997
|
+
currentConfigurationRevision: number().int().positive(),
|
|
5998
|
+
expectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512),
|
|
5999
|
+
requireAcceptedExecutionTargetRevision: literal(true)
|
|
6000
|
+
});
|
|
6001
|
+
strictObject({ status: enumFactory([
|
|
6002
|
+
"authorized",
|
|
6003
|
+
"needs_attention",
|
|
6004
|
+
"not_pending",
|
|
6005
|
+
"unavailable"
|
|
6006
|
+
]) });
|
|
6007
|
+
runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({ expectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512) });
|
|
6008
|
+
strictObject({ status: enumFactory([
|
|
6009
|
+
"marked",
|
|
6010
|
+
"not_pending",
|
|
6011
|
+
"unavailable"
|
|
6012
|
+
]) });
|
|
6013
|
+
strictObject({ status: enumFactory([
|
|
6014
|
+
"approved",
|
|
6015
|
+
"not_pending",
|
|
6016
|
+
"unavailable"
|
|
6017
|
+
]) });
|
|
6018
|
+
runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({ expectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512) });
|
|
6019
|
+
strictObject({ status: enumFactory([
|
|
6020
|
+
"skipped",
|
|
6021
|
+
"not_pending",
|
|
6022
|
+
"unavailable"
|
|
6023
|
+
]) });
|
|
5961
6024
|
strictObject({
|
|
5962
6025
|
operationId: string().trim().min(1).max(256),
|
|
5963
6026
|
ownerUserId: string().trim().min(1).max(256),
|
|
@@ -6681,7 +6744,11 @@ strictObject({
|
|
|
6681
6744
|
]),
|
|
6682
6745
|
targetProfileId: agentProfileIdSchema
|
|
6683
6746
|
});
|
|
6684
|
-
const runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema = enumFactory([
|
|
6747
|
+
const runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema = enumFactory([
|
|
6748
|
+
"create_execution",
|
|
6749
|
+
"skip_duplicate",
|
|
6750
|
+
"wait_in_queue"
|
|
6751
|
+
]);
|
|
6685
6752
|
strictObject({
|
|
6686
6753
|
v: literal(1),
|
|
6687
6754
|
ownerUserId: string().min(1),
|
|
@@ -6691,31 +6758,54 @@ strictObject({
|
|
|
6691
6758
|
targetProfileName: string().min(1).max(64).optional(),
|
|
6692
6759
|
targetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema
|
|
6693
6760
|
});
|
|
6694
|
-
discriminatedUnion("status", [
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6761
|
+
discriminatedUnion("status", [
|
|
6762
|
+
strictObject({
|
|
6763
|
+
action: runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema,
|
|
6764
|
+
ok: literal(true),
|
|
6765
|
+
primaryDispatchId: string().min(1),
|
|
6766
|
+
reasonCode: string().min(1).max(160),
|
|
6767
|
+
runtimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),
|
|
6768
|
+
status: enumFactory([
|
|
6769
|
+
"accepted",
|
|
6770
|
+
"already_accepted",
|
|
6771
|
+
"execution_linked",
|
|
6772
|
+
"publication_intent_ready",
|
|
6773
|
+
"stopped_before_execution"
|
|
6774
|
+
]),
|
|
6775
|
+
targetWakeLifecycleId: string().min(1).max(2048)
|
|
6776
|
+
}),
|
|
6777
|
+
strictObject({
|
|
6778
|
+
action: literal("wait_in_queue"),
|
|
6779
|
+
ok: literal(true),
|
|
6780
|
+
primaryDispatchId: string().min(1),
|
|
6781
|
+
queuePosition: number().int().positive().max(50),
|
|
6782
|
+
reasonCode: literal("agent_profile_work_coordinator.queued"),
|
|
6783
|
+
runtimeCoordinatorExecutionId: nullFactory(),
|
|
6784
|
+
status: literal("queued"),
|
|
6785
|
+
targetWakeLifecycleId: string().min(1).max(2048),
|
|
6786
|
+
waitingCount: number().int().positive().max(50)
|
|
6787
|
+
}),
|
|
6788
|
+
strictObject({
|
|
6789
|
+
ok: literal(false),
|
|
6790
|
+
primaryDispatchId: string().min(1).nullable(),
|
|
6791
|
+
reasonCode: string().min(1).max(160),
|
|
6792
|
+
status: enumFactory(["conflict", "retry_later"]),
|
|
6793
|
+
targetWakeLifecycleId: string().min(1).max(2048)
|
|
6794
|
+
}),
|
|
6795
|
+
strictObject({
|
|
6796
|
+
ok: literal(false),
|
|
6797
|
+
primaryDispatchId: nullFactory(),
|
|
6798
|
+
reasonCode: literal("agent_profile_work_coordinator.queue_full"),
|
|
6799
|
+
status: literal("queue_full"),
|
|
6800
|
+
targetWakeLifecycleId: string().min(1).max(2048),
|
|
6801
|
+
waitingCount: literal(50)
|
|
6802
|
+
})
|
|
6803
|
+
]);
|
|
6715
6804
|
const runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema = enumFactory([
|
|
6716
6805
|
"accepted",
|
|
6717
6806
|
"execution_linked",
|
|
6718
6807
|
"publication_intent_ready",
|
|
6808
|
+
"queued",
|
|
6719
6809
|
"stopped_before_execution",
|
|
6720
6810
|
"waiting"
|
|
6721
6811
|
]);
|
|
@@ -7029,6 +7119,11 @@ const runtimeTransportDispatchLifecyclePhaseSchema = enumFactory([
|
|
|
7029
7119
|
"running",
|
|
7030
7120
|
"completed_local"
|
|
7031
7121
|
]);
|
|
7122
|
+
const runtimeTransportAgentControllerConversationOccupancySchema = strictObject({
|
|
7123
|
+
agentControllerConversationId: string().trim().min(1),
|
|
7124
|
+
contractVersion: literal(1),
|
|
7125
|
+
state: enumFactory(["available", "occupied"])
|
|
7126
|
+
});
|
|
7032
7127
|
const runtimeTransportDispatchLocalQueueWaitReasonSchema = enumFactory([
|
|
7033
7128
|
"global_concurrency",
|
|
7034
7129
|
"local_execution_lane_concurrency",
|
|
@@ -7055,6 +7150,7 @@ const runtimeTransportDispatchLifecycleRequestSchema = strictObject({
|
|
|
7055
7150
|
leaseEpoch: number().int().positive(),
|
|
7056
7151
|
phase: runtimeTransportDispatchLifecyclePhaseSchema,
|
|
7057
7152
|
lifecycleAtMs: number().int().nonnegative(),
|
|
7153
|
+
agentControllerConversationOccupancy: runtimeTransportAgentControllerConversationOccupancySchema.optional(),
|
|
7058
7154
|
localQueue: runtimeTransportDispatchLocalQueueDiagnosticsSchema.optional()
|
|
7059
7155
|
});
|
|
7060
7156
|
const runtimeTransportDispatchRuntimeEvidencePhaseSchema = enumFactory([
|
|
@@ -7324,6 +7420,6 @@ strictObject({
|
|
|
7324
7420
|
})
|
|
7325
7421
|
});
|
|
7326
7422
|
//#endregion
|
|
7327
|
-
export {
|
|
7423
|
+
export { localFolderPickerResultSchema as $, openMeldToolsMaintenanceProjectionSchema as $n, MAX_PROFILE_WORKING_DIRECTORY_LENGTH as $r, trashSpaceFileEntryResponseSchema as $t, runtimeTransportRegisterSessionResponseSchema as A, AGENT_STREAM_SNAPSHOT_MAX_CHARS as An, clientMessageIdSchema as Ar, spaceAttachmentMimeTypeSchema as At, openMeldDaemonProviderAccessEvidenceProviderSchema as B, agentInteractionResolutionSchema as Bn, spacePasswordSchema as Br, discardSpaceComposerUploadResponseSchema as Bt, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as C, MESSAGE_MENTION_TYPE_VALUES as Cn, tuple as Cr, signalStatusDataSchema as Ct, runtimeTransportOpenMeldToolsControlFramePayloadSchema as D, messageEnvelopeSchema as Dn, url as Dr, spaceAttachmentDescriptorSchema as Dt, runtimeTransportLookupRouteOwnerServiceEvidenceSchema as E, getSpaceMessageAddressingRelationSupportForTargetKind as En, unknown as Er, signalTextSchema as Et, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema as F, spaceAgentStreamSnapshotSchema as Fn, runtimeCoordinatorExecutionTokenEnvelopeSchema as Fr, spaceStatusSchema as Ft, openMeldDaemonTaskResultProjectFailureContextSchema as G, formatLocalSetupActionLabel as Gn, organizationInformationProtectionPolicyResponseSchema as Gr, publishSpaceComposerUploadResponseSchema as Gt, openMeldDaemonTaskResultEnvelopeWriteSchema as H, formatLocalComponentsSummaryDescription as Hn, resolveSpaceMentionLabels as Hr, isSpaceFileTextEditable as Ht, runtimeTransportSubmitTaskResultRequestSchema as I, spaceAgentStreamTerminalFrameSchema as In, runtimeTransportDeliveryExecutionIdentitySchema as Ir, centerAgentInteractionSourceSchema as It, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER as J, localComponentUpdatePolicySchema as Jn, executeExecutionRecoveryBodySchema as Jr, restoreSpaceFileRevisionResponseSchema as Jt, openMeldSpaceEgressActionSchema as K, installedLocalComponentsSnapshotSchema as Kn, organizationProtectedInformationSchema as Kr, resolveSpaceFileMimeType as Kt, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH as L, AGENT_INTERACTION_DEFAULT_TIMEOUT_MS as Ln, spaceTraceExecutionIdentityProjectionSchema as Lr, SPACE_FILE_ERROR_CODES as Lt, runtimeTransportResumeControllerConversationFramePayloadSchema as M, spaceAgentStreamDeltaFrameSchema as Mn, runtimeCoordinatorExecutionCreationDiagnosticSchema as Mr, spaceMessageAttachmentSchema as Mt, runtimeTransportResumeControllerConversationResultFramePayloadSchema as N, spaceAgentStreamPartFrameSchema as Nn, runtimeCoordinatorExecutionEventSchema as Nr, spaceMessageAttachmentsSchema as Nt, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema as O, normalizeMessageEnvelope as On, postSpaceWakeStopBodySchema as Or, spaceAttachmentDimensionSchema as Ot, runtimeTransportRouteCatalogChangedFramePayloadSchema as P, spaceAgentStreamPresenceSchema as Pn, runtimeCoordinatorExecutionRecordSchema as Pr, conversationCompactionMarkerSchema as Pt, localFolderPickerRequestSchema as Q, openMeldToolsMaintenanceMutationResultSchema as Qn, openMeldRequestContextSchema as Qr, stageSpaceComposerUploadResponseSchema as Qt, isOriginalErrorSafeForMessageDetails as R, agentInteractionPendingSummarySchema as Rn, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE as Rr, SPACE_FILE_MAX_SIZE_BYTES as Rt, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema as S, resolveCommandAgentWorkActivity as Si, targetWakeLifecycleIdentitySchema as Sn, string as Sr, sanitizeSignalTextPreview as St, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema as T, formatCanonicalMentionLiteral as Tn, union as Tr, signalTextDataSchema as Tt, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as U, formatLocalComponentsSummaryLabel as Un, spaceMentionLabelSchema as Ur, listSpaceFileRevisionsResponseSchema as Ut, openMeldDaemonProviderAccessEvidenceSchema as V, agentInteractionResponseSchema as Vn, resolveSingleSpaceMentionLabels as Vr, getSpaceFileResponseSchema as Vt, openMeldDaemonTaskResultPayloadSchema as W, formatLocalSetupActionDescription as Wn, spaceMentionLabelSourceSchema as Wr, listSpaceFilesResponseSchema as Wt, localFolderPickerHelperProtocolResultSchema as X, localComponentUpdateStatusSchema as Xn, inspectExecutionRecoveryResponseSchema as Xr, spaceFileNameSchema as Xt, localFolderPickerDaemonFrameSchema as Y, localComponentUpdateProjectionSchema as Yn, executeExecutionRecoveryResponseSchema as Yr, spaceFileMimeTypeSchema as Yt, localFolderPickerHelperResultSchema as Z, localServiceComponentUpdateProjectionSchema as Zn, openMeldProfileIdSchema as Zr, spaceMessageFileReferencesSchema as Zt, runtimeTransportHeartbeatRequestSchema as _, sanitizeDispatchErrorSummary as _i, spaceAllowedActionsSchema as _n, number as _r, DISPATCH_ACTIVITY_RETRYING_PURPOSE as _t, runtimeTransportCapabilitiesSchema as a, profileWorkingDirectorySchema as ai, openMeldDaemonSyncRouteCatalogPayloadSchema as an, NEVER as ar, agentTaskTerminalOutcomeSchema as at, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema as b, openMeldNavigationTargetSchema as bi, workingLanguageGuidanceSchema as bn, record as br, SPACE_MENTION_REJECT_NOTICE_PURPOSE as bt, runtimeTransportDispatchInteractionRequestSchema as c, finiteIntegerNumber as ci, conversationExecutionStateSchema as cn, coerce as cr, controllerAgentTaskHandleSchema as ct, runtimeTransportDispatchPreviewEndRequestSchema as d, trimmedStringFromUnknown as di, spaceThreadEventSchema as dn, enumFactory as dr, AGENT_REPLYING_PURPOSE as dt, agentProfileIdSchema as ei, updateSpaceFileEntryResponseSchema as en, openMeldToolsUpdateAttemptSchema as er, localFolderPathSchema as et, runtimeTransportDispatchPreviewRequestSchema as f, MAX_TEXT_LENGTH as fi, spaceThreadSchema as fn, int as fr, AGENT_REPLY_PREVIEW_END_PURPOSE as ft, runtimeTransportForkAgentSessionResultSchema as g, resolvePublicAgentFailureRecovery as gi, resultArchivePolicySchema as gn, nullFactory as gr, DISPATCH_ACTIVITY_FAILED_PURPOSE as gt, runtimeTransportErrorCodeSchema as h, resolvePublicAgentAvailabilityCopy as hi, spaceContractSchema as hn, neverFactory as hr, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as ht, localWakeRouteReportSchema as i, profileSchema as ii, openMeldDaemonControlPlaneResponseSchema as in, openMeldToolsUpdateRequestSourceSchema as ir, agentTaskHandleSchema as it, runtimeTransportRejectedProfileRegistrationSchema as j, agentStreamToolPartSchema as jn, parseOptionalClientMessageId as jr, spaceAttachmentSizeBytesSchema as jt, runtimeTransportRegisterSessionRequestSchema as k, resolveMessageEnvelopeTargetField as kn, postSpaceWakeStopResponseSchema as kr, spaceAttachmentFileNameSchema as kt, runtimeTransportDispatchInteractionResponseFramePayloadSchema as l, nonEmptyTrimmedStringFromUnknown as li, dispatchExecutionSchema as ln, discriminatedUnion as lr, spaceWakeAgentTaskHandleSchema as lt, runtimeTransportDispatchToolActivityRequestSchema as m, resolveMappedPublicAgentFailureReason as mi, spaceContractFieldsSchema as mn, literal as mr, CONVERSATION_CONTINUITY_WARNING_PURPOSE as mt, daemonExecutionCompatibilitySchema as n, openMeldRuntimeProfileIdSchema as ni, localAgentInstallationOptionSchema as nn, openMeldToolsUpdateOperationSchema as nr, agentTaskCompletionConditionSchema as nt, runtimeTransportDeliverDispatchRequestSchema as o, profileWorkspaceModeSchema as oi, skippedDaemonProfileSchema as on, array as or, areAgentTaskTerminalOutcomesEqual as ot, runtimeTransportDispatchRuntimeEvidenceRequestSchema as p, agentProfileWorkRecoveryActionKindSchema as pi, spaceThreadSignalPlacementSchema as pn, iso as pr, AGENT_REPLY_PREVIEW_PURPOSE as pt, LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY as q, localCliComponentUpdateProjectionSchema as qn, updateOrganizationInformationProtectionPolicyBodySchema as qr, restoreSpaceFileEntryResponseSchema as qt, daemonStreamFrameSchema as r, profileKindSchema as ri, openMeldDaemonControlPlaneRequestSchema as rn, openMeldToolsUpdateRequestResultSchema as rr, agentTaskCompletionObservationSchema as rt, runtimeTransportDispatchInteractionDeliveredRequestSchema as s, uuidProfileIdSchema as si, providerDispatchRuntimeContextSchema as sn, boolean as sr, buildAgentTaskKey as st, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as t, normalizeOptionalWorkingDirectory as ti, uploadSpaceFileResponseSchema as tn, openMeldToolsUpdateOperationPhaseSchema as tr, agentDelegationSnapshotSchema as tt, runtimeTransportDispatchLifecycleRequestSchema as u, optionalBooleanQuerySchema as ui, spaceThreadContextSchema as un, email as ur, AGENT_REPLYING_END_PURPOSE as ut, runtimeTransportHeartbeatResponseSchema as v, shouldPreferMappedPublicAgentFailureReason as vi, spacePublicationModeSchema as vn, object as vr, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as vt, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as w, collectCanonicalMentionTextFragments as wn, undefinedFactory as wr, signalSystemNoticeDataSchema as wt, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as x, openMeldWebUrlSchema as xi, workingLanguageTagSchema as xn, strictObject as xr, centerAgentTaskReferenceSchema as xt, runtimeTransportLocalAgentControlCancelFramePayloadSchema as y, computerSetupModeSchema as yi, spaceDispatchPolicySchema as yn, preprocess as yr, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as yt, openMeldDaemonOriginalErrorSchema as z, agentInteractionRequestSchema as zn, normalizeSpacePasswordText as zr, createSpaceFolderResponseSchema as zt };
|
|
7328
7424
|
|
|
7329
|
-
//# sourceMappingURL=runtime-transport-
|
|
7425
|
+
//# sourceMappingURL=runtime-transport-BiQfJGnw.js.map
|