openmeld 0.3.105 → 0.3.107
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-SwumEHah.js → add-me-membership-BvvHsAGB.js} +2 -2
- package/dist/{add-me-membership-SwumEHah.js.map → add-me-membership-BvvHsAGB.js.map} +1 -1
- package/dist/{api-client-foundation-CRCO2khE.js → api-client-foundation-DhvXlRGR.js} +4 -4
- package/dist/{api-client-foundation-CRCO2khE.js.map → api-client-foundation-DhvXlRGR.js.map} +1 -1
- package/dist/{auth-session-p_bMqNdz.js → auth-session-Bcfr1k3c.js} +35 -35
- package/dist/auth-session-Bcfr1k3c.js.map +1 -0
- package/dist/{base-url-Dq4Lk2FB.js → base-url-PkgATS5u.js} +68 -63
- package/dist/base-url-PkgATS5u.js.map +1 -0
- package/dist/{command-DjGBfr58.js → command-DmVde7c-.js} +438 -317
- package/dist/{command-DjGBfr58.js.map → command-DmVde7c-.js.map} +1 -1
- package/dist/{daemon-runtime-lease-Dn9Xfky4.js → daemon-runtime-lease-Cath1v3w.js} +15 -15
- package/dist/daemon-runtime-lease-Cath1v3w.js.map +1 -0
- package/dist/{dist-CuQqXkoG.js → dist-Bypn86JC.js} +3185 -3068
- package/dist/dist-Bypn86JC.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/openmeld.js +311 -311
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-BU3w8VEy.js → runtime-transport-CJRu8NiO.js} +2035 -1969
- package/dist/runtime-transport-CJRu8NiO.js.map +1 -0
- package/dist/service-contract-CRyDcIIf.js +39 -0
- package/dist/service-contract-CRyDcIIf.js.map +1 -0
- package/package.json +1 -1
- package/dist/auth-session-p_bMqNdz.js.map +0 -1
- package/dist/base-url-Dq4Lk2FB.js.map +0 -1
- package/dist/daemon-runtime-lease-Dn9Xfky4.js.map +0 -1
- package/dist/dist-CuQqXkoG.js.map +0 -1
- package/dist/runtime-transport-BU3w8VEy.js.map +0 -1
- package/dist/service-contract-DZWQdPz5.js +0 -39
- package/dist/service-contract-DZWQdPz5.js.map +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $
|
|
4
|
-
import { A as MAX_TEXT_LENGTH, At as createCenterAgentRoutineResponseSchema, B as sleep, C as createSpaceApi, D as toStructuredApiClientFailure, Dt as organizationComputersResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as profileErrorResponseSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as resumeCenterAgentRoutineResponseSchema, Gt as localProjectControlDaemonFrameSchema, H as getSpaceUpdatesResponseSchema, It as updateCenterAgentRoutineResponseSchema, Jt as postSpaceMembersResponseSchema, Kt as localProjectControlDiscoverProjectsResponseSchema, L as OPENMELD_HEADER_REQUEST_ID, M as parseIncoming$1, Mt as listCenterAgentRoutineRunsResponseSchema, N as parseServerErrorFrame$1, Nt as listCenterAgentRoutinesResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as submitFeedbackIssueRequestSchema, P as resolveCustomMentionAliasOverride, Pt as pauseCenterAgentRoutineResponseSchema, Q as submitAgentControllerTaskLifecycleEventItemSchema, Rt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, S as createRuntimeReportingApi, St as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, T as resolveAccountSpaceIndexGatewayHost, Tt as profileCapabilitiesResponseSchema, U as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Ut as agentActivitySnapshotResponseSchema, V as toErrorMessage$42, Wt as localProjectControlConnectionSchema, Xt as spaceMemberDirectoryEntrySchema, Yt as removeSpaceMembersResponseSchema, Zt as spaceMemberDirectorySchema, _n as agentControllerPermissionModeSchema, _t as organizationSkillReleaseSummarySchema, a as buildSpaceAttachmentDownloadPath, an as createProjectResponseSchema, at as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, bt as organizationDirectoryResponseSchema, c as createAgentProfileBindingApi, cn as updateProjectResponseSchema, ct as computerFileAccessPolicyInputSchema, d as createCurrentDeviceApi, dt as organizationSpaceDirectoryWithMemberCountsResponseSchema, ft as spaceCreatorSchema, g as createOrganizationApi, h as createOpenMeldApiClient, ht as listOrganizationSkillsResponseSchema, i as buildProfileSpaceHistoryUpsertPath, in as archiveProjectResponseSchema, it as gatewayErrorEnvelopeSchema, j as parseEnvelope$1, jt as deleteCenterAgentRoutineResponseSchema, kt as submitFeedbackIssueResponseSchema, ln as centerAgentToolSpeakerSchema, lt as computerFileAccessPolicySchema, m as createLocalRuntimeExpectedRoutesApi, mt as getOrganizationSkillResponseSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as listProjectsResponseSchema, ot as OPENMELD_RUNTIME_CAPABILITIES_HEADER, p as createFetchTransport, pt as spaceMetaSchema, qt as leaveSpaceResponseSchema, r as buildProfileSpaceHistoryStatusPath, rn as observedLocalAgentSessionSchema, s as createAgentActivityApi, sn as projectSchema, st as computerFileAccessDaemonFrameSchema, t as OpenMeldApiClientHttpError, tn as agentActivitySessionInventoryResponseSchema, un as openCodePermissionConfigSchema, ut as modelCatalogSchema, vn as agentControllerCollaborationModeSchema, vt as organizationSkillSummarySchema, wt as authProfileManagedRoleSchema, xt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, y as createProfileSpaceHistoryApi, yn as toLegacySpaceAddressingWireValue, z as toErrorMessage$43, zt as agentActivityEventSchema } from "./dist-
|
|
5
|
-
import { $t as
|
|
6
|
-
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-
|
|
7
|
-
import { A as isDaemonServiceRuntimeHeartbeatStale, B as setDaemonServiceRuntimeState, C as daemonServiceStableExecutableWrapperPath, D as getDaemonRuntimeStatus, E as ensureDaemonControlPlaneToken, F as releaseDaemonServiceLifecycleLock, G as withDaemonServiceStopLock, H as withDaemonServiceReconcileLock, I as resolveDaemonControlPlaneEndpoint, K as readDaemonLocalStateFile, L as resolveDaemonServiceRuntimeMetadata, M as readDaemonServiceLifecycleLockMeta, N as readDaemonServiceLifecycleLockMetaWithCleanup, O as getDaemonStatus, P as readDaemonServiceRuntimeSnapshot, R as restoreDaemonInstallStateSnapshot, S as daemonServiceRepairJournalPath, T as daemonStatePath, U as withDaemonServiceRegistrationMutationLock, V as uninstallDaemon, W as withDaemonServiceRunLock, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceLegacyExecutableWrapperPath, c as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, d as clearDaemonServiceRuntimeState, f as daemonDispatchJournalPath, g as daemonRuntimeRootPath, h as daemonRuntimeDataPath, i as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, j as readDaemonControlPlaneToken, k as installDaemon, l as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV, m as daemonRuntimeBundlesPath, n as writeDaemonRuntimeLease, o as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, p as daemonLifecycleJournalPath, q as writeDaemonLocalStateFile, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableLauncherPath, x as daemonServiceRecognizedExecutableWrapperPaths, y as daemonServiceActiveBundleStatePath, z as rotateDaemonControlPlaneTokenIfExpired } from "./daemon-runtime-lease-
|
|
8
|
-
import { D as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, E as OPENCLAW_CLI_TIMEOUT_MS$1, M as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, N as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, O as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MAX_HEARTBEAT_INTERVAL_MS$2, _ as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, d as resolveOpenMeldDistribution, f as CATALOG_SYNC_RETRY_INTERVAL_MS$1, g as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, h as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, i as getAuthSessionState, j as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, k as REGISTER_RESPONSE_TIMEOUT_MS$1, m as DAEMON_RUNTIME_CONTRACT_EPOCH$1, n as clearAuthSession, p as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, s as setAuthSession, u as isBinaryDistribution, v as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, w as MIN_HEARTBEAT_INTERVAL_MS$2, x as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, y as DEFAULT_HEARTBEAT_INTERVAL_MS$1 } from "./auth-session-
|
|
9
|
-
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-
|
|
3
|
+
import { $ as runWithHeldLock, $t as runtimeAgentControllerConversationIdMappingSpecSchema, At as openMeldBackupsDir, B as toSpaceRemoveMembersUrl, Bt as resolveDefaultOpenMeldHomeDirname, C as updateConfiguredDeviceRuntimeState, Ct as deviceOpenClawProfileBootstrapPath, D as normalizeBaseUrl, Dt as legacyAccountProfileSpacesDir, Et as isPublishedOpenMeldHome, Ft as openMeldRootDir, Gt as resolveOpenMeldRootDir, H as toSpaceUpdatesUrl, I as toSpaceLeaveUrl, It as openMeldVersionsDir, Jt as skillsDir, K as isOpenMeldLockError, Kt as runtimeDir, L as toSpaceMembersUrl, M as toSpaceCursorUrl, Mt as openMeldManagedBinaryPath, N as toSpaceDeleteUrl, Nt as openMeldManagedVersionBinaryPath, O as toDaemonRouteObservationUrl, Ot as normalizeAccountKey, Pt as openMeldManagedVersionDir, Q as resolveOpenMeldOrphanedLockIssue, R as toSpaceMetaUrl, S as setConfiguredSkillsConfig, St as accountsDir, T as updateConfiguredSkillsConfig, Tt as deviceOpenClawProfileWorkspaceDir, U as toSpaceWsUrl, Ut as resolveOpenMeldEnvPreset, Vt as resolveExplicitOpenMeldEnvPreset, W as acquireLock, Wt as resolveOpenMeldPresetOwnedPathInput, Xt as systemDir, Zt as formatLocalMachineIssueMessage, _ as getConfiguredViewCustomization, _t as OPENMELD_HOME_ENV_KEY, a as resolveBaseUrl, an as buildAgentControllerConversationRef, at as resolveCliContext, bt as accountProfileViewPath, c as resolveExplicitGatewayUrlOrThrow, cn as HOSTED_CENTER_AGENT_CONTROLLER_REF, d as createDefaultRuntimeAgentControllerSettings, dn as buildAgentControllerRoutingKey, dt as assessLocalMachineFailure, en as runtimeAgentControllerLaunchContractSchema, f as getConfiguredDaemonDispatchLimits, fn as canonicalizeAgentControllerRef, g as getConfiguredSkillsConfig, gn as parseAgentControllerRef$1, h as getConfiguredOpenMeldToolsMaintenance, hn as normalizeKnownBuiltinAgentControllerId, i as normalizeGatewayBaseUrlOrNull, it as readCliContextState, j as toSpaceCreateUrl, jt as openMeldBinDir, kt as normalizeOpenMeldProfileId, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, ln as HOSTED_CENTER_AGENT_CONTROLLER_REF_ID, lt as resolveOpenMeldLaneDescriptor, mn as normalizeBuiltinAgentControllerId, nn as runtimeStreamingModeSchema, o as resolveBaseUrlOrNull, on as conversationPolicySchema, ot as resolveCliContextId, p as getConfiguredDeviceRuntimeState, pn as canonicalizeBuiltinAgentControllerRef, pt as createBackgroundExecutionBlockedIssue, q as isOpenMeldOrphanedLockError, qt as runtimeLogsDir, r as normalizeGatewayBaseUrl, rn as runtimeTransportModeSchema, rt as listCliContextStates, s as resolveDefaultGatewayBaseUrl, sn as resolveBuiltinAgentControllerConversationKind, st as writeCliContextState, v as getRuntimeConfigReadHealth, vt as accountProfileLocalMetaPath, wt as deviceOpenClawProfileDir, x as setConfiguredOpenMeldToolsMaintenance, xt as accountProfileWorkspacePath, y as resolveRuntimeSkillsCustomTargetId, yt as accountProfileSpaceCacheDir, z as toSpacePasswordUrl } from "./base-url-PkgATS5u.js";
|
|
4
|
+
import { A as MAX_TEXT_LENGTH, At as createCenterAgentRoutineResponseSchema, B as sleep, C as createSpaceApi, D as toStructuredApiClientFailure, Dt as organizationComputersResponseSchema, E as resolveProfileSpaceHistoryGatewayHost, Et as profileErrorResponseSchema, F as OPENMELD_HEADER_PROFILE_ID, Ft as resumeCenterAgentRoutineResponseSchema, Gt as localProjectControlDaemonFrameSchema, H as getSpaceUpdatesResponseSchema, It as updateCenterAgentRoutineResponseSchema, Jt as postSpaceMembersResponseSchema, Kt as localProjectControlDiscoverProjectsResponseSchema, L as OPENMELD_HEADER_REQUEST_ID, M as parseIncoming$1, Mt as listCenterAgentRoutineRunsResponseSchema, N as parseServerErrorFrame$1, Nt as listCenterAgentRoutinesResponseSchema, O as DAEMON_STREAM_KEEPALIVE_PING, Ot as submitFeedbackIssueRequestSchema, P as resolveCustomMentionAliasOverride, Pt as pauseCenterAgentRoutineResponseSchema, Q as submitAgentControllerTaskLifecycleEventItemSchema, Rt as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, S as createRuntimeReportingApi, St as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, T as resolveAccountSpaceIndexGatewayHost, Tt as profileCapabilitiesResponseSchema, U as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Ut as agentActivitySnapshotResponseSchema, V as toErrorMessage$42, Wt as localProjectControlConnectionSchema, Xt as spaceMemberDirectoryEntrySchema, Yt as removeSpaceMembersResponseSchema, Zt as spaceMemberDirectorySchema, _n as agentControllerPermissionModeSchema, _t as organizationSkillReleaseSummarySchema, a as buildSpaceAttachmentDownloadPath, an as createProjectResponseSchema, at as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, bt as organizationDirectoryResponseSchema, c as createAgentProfileBindingApi, cn as updateProjectResponseSchema, ct as computerFileAccessPolicyInputSchema, d as createCurrentDeviceApi, dt as organizationSpaceDirectoryWithMemberCountsResponseSchema, ft as spaceCreatorSchema, g as createOrganizationApi, h as createOpenMeldApiClient, ht as listOrganizationSkillsResponseSchema, i as buildProfileSpaceHistoryUpsertPath, in as archiveProjectResponseSchema, it as gatewayErrorEnvelopeSchema, j as parseEnvelope$1, jt as deleteCenterAgentRoutineResponseSchema, kt as submitFeedbackIssueResponseSchema, ln as centerAgentToolSpeakerSchema, lt as computerFileAccessPolicySchema, m as createLocalRuntimeExpectedRoutesApi, mt as getOrganizationSkillResponseSchema, n as OpenMeldApiClientInvalidResponseError, o as createAccountSpaceIndexApi, on as listProjectsResponseSchema, ot as OPENMELD_RUNTIME_CAPABILITIES_HEADER, p as createFetchTransport, pt as spaceMetaSchema, qt as leaveSpaceResponseSchema, r as buildProfileSpaceHistoryStatusPath, rn as observedLocalAgentSessionSchema, s as createAgentActivityApi, sn as projectSchema, st as computerFileAccessDaemonFrameSchema, t as OpenMeldApiClientHttpError, tn as agentActivitySessionInventoryResponseSchema, un as openCodePermissionConfigSchema, ut as modelCatalogSchema, vn as agentControllerCollaborationModeSchema, vt as organizationSkillSummarySchema, wt as authProfileManagedRoleSchema, xt as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, y as createProfileSpaceHistoryApi, yn as toLegacySpaceAddressingWireValue, z as toErrorMessage$43, zt as agentActivityEventSchema } from "./dist-Bypn86JC.js";
|
|
5
|
+
import { $t as skippedDaemonProfileSchema, A as runtimeTransportRegisterSessionResponseSchema, An as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Ar as profileWorkspaceModeSchema, B as openMeldDaemonTaskResultPayloadSchema, Bn as localCliComponentUpdateProjectionSchema, Br as resolvePublicAgentFailureRecovery, Bt as resolveSpaceFileMimeType, C as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Cr as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, D as runtimeTransportOpenMeldToolsControlFramePayloadSchema, E as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Er as openMeldRuntimeProfileIdSchema, Fn as formatLocalComponentsSummaryDescription, Fr as trimmedStringFromUnknown, G as localFolderPickerDaemonFrameSchema, H as openMeldSpaceEgressActionSchema, Hr as shouldPreferMappedPublicAgentFailureReason, I as runtimeTransportSubmitTaskResultRequestSchema, In as formatLocalComponentsSummaryLabel, Ir as MAX_TEXT_LENGTH$1, Jn as openMeldToolsUpdateOperationPhaseSchema, K as localFolderPickerHelperProtocolResultSchema, Kr as resolveCommandAgentWorkActivity, Ln as formatLocalSetupActionDescription, Lr as resolveDetailedPublicAgentFailureReason$1, M as runtimeTransportResumeControllerConversationFramePayloadSchema, Mn as agentInteractionRequestSchema, N as runtimeTransportResumeControllerConversationResultFramePayloadSchema, Nn as agentInteractionResolutionSchema, O as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, P as runtimeTransportRouteCatalogChangedFramePayloadSchema, Pt as SPACE_FILE_MAX_SIZE_BYTES, R as openMeldDaemonTaskResultEnvelopeWriteSchema, Rn as formatLocalSetupActionLabel, Rr as resolveMappedPublicAgentFailureReason, S as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, Sn as resolveMessageEnvelopeTargetField, Sr as openMeldRequestContextSchema, T as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Tr as normalizeOptionalWorkingDirectory, U as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, Vr as sanitizeDispatchErrorSummary, W as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, Wn as localServiceComponentUpdateProjectionSchema, Wt as spaceFileNameSchema, Xt as openMeldDaemonControlPlaneRequestSchema, Zn as openMeldToolsUpdateRequestSourceSchema, Zt as openMeldDaemonControlPlaneResponseSchema, _ as runtimeTransportHeartbeatRequestSchema, _n as collectCanonicalMentionTextFragments, a as runtimeTransportCapabilitiesSchema, ar as runtimeCoordinatorExecutionTokenEnvelopeSchema, b as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, c as runtimeTransportDispatchInteractionRequestSchema, d as runtimeTransportDispatchPreviewEndRequestSchema, dr as resolveSingleSpaceMentionLabels, en as providerDispatchRuntimeContextSchema, f as runtimeTransportDispatchPreviewRequestSchema, fr as resolveSpaceMentionLabels, g as runtimeTransportForkAgentSessionResultSchema, gn as MESSAGE_MENTION_TYPE_VALUES, gt as SPACE_MENTION_REJECT_NOTICE_PURPOSE, h as runtimeTransportErrorCodeSchema, ht as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, i as localWakeRouteReportSchema, j as runtimeTransportRejectedProfileRegistrationSchema, k as runtimeTransportRegisterSessionRequestSchema, l as runtimeTransportDispatchInteractionResponseFramePayloadSchema, lr as normalizeSpacePasswordText, m as runtimeTransportDispatchToolActivityRequestSchema, mt as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, n as daemonExecutionCompatibilitySchema, o as runtimeTransportDeliverDispatchRequestSchema, or as runtimeTransportDeliveryExecutionIdentitySchema, p as runtimeTransportDispatchRuntimeEvidenceRequestSchema, q as localFolderPickerHelperResultSchema, qn as openMeldToolsUpdateAttemptSchema, r as daemonStreamFrameSchema, s as runtimeTransportDispatchInteractionDeliveredRequestSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as conversationExecutionStateSchema, tr as parseOptionalClientMessageId, u as runtimeTransportDispatchLifecycleRequestSchema, ut as CONVERSATION_CONTINUITY_WARNING_PURPOSE, v as runtimeTransportHeartbeatResponseSchema, vn as formatCanonicalMentionLiteral, vt as sanitizeSignalTextPreview, w as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, wr as agentProfileIdSchema, x as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, xn as normalizeMessageEnvelope, y as runtimeTransportLocalAgentControlCancelFramePayloadSchema, yn as getSpaceMessageAddressingRelationSupportForTargetKind, z as openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, zn as installedLocalComponentsSnapshotSchema, zr as resolvePublicAgentAvailabilityCopy } from "./runtime-transport-CJRu8NiO.js";
|
|
6
|
+
import { r as daemonServiceLaneSchema, t as daemonServiceContractSchema } from "./service-contract-CRyDcIIf.js";
|
|
7
|
+
import { A as isDaemonServiceRuntimeHeartbeatStale, B as setDaemonServiceRuntimeState, C as daemonServiceStableExecutableWrapperPath, D as getDaemonRuntimeStatus, E as ensureDaemonControlPlaneToken, F as releaseDaemonServiceLifecycleLock, G as withDaemonServiceStopLock, H as withDaemonServiceReconcileLock, I as resolveDaemonControlPlaneEndpoint, K as readDaemonLocalStateFile, L as resolveDaemonServiceRuntimeMetadata, M as readDaemonServiceLifecycleLockMeta, N as readDaemonServiceLifecycleLockMetaWithCleanup, O as getDaemonStatus, P as readDaemonServiceRuntimeSnapshot, R as restoreDaemonInstallStateSnapshot, S as daemonServiceRepairJournalPath, T as daemonStatePath, U as withDaemonServiceRegistrationMutationLock, V as uninstallDaemon, W as withDaemonServiceRunLock, _ as daemonRuntimeServiceManagerPath, a as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, b as daemonServiceLegacyExecutableWrapperPath, c as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, d as clearDaemonServiceRuntimeState, f as daemonDispatchJournalPath, g as daemonRuntimeRootPath, h as daemonRuntimeDataPath, i as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, j as readDaemonControlPlaneToken, k as installDaemon, l as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV, m as daemonRuntimeBundlesPath, n as writeDaemonRuntimeLease, o as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, p as daemonLifecycleJournalPath, q as writeDaemonLocalStateFile, r as DAEMON_HEARTBEAT_STALE_MS, s as DAEMON_SERVICE_RUNTIME_MODE_ENV, t as readDaemonRuntimeLease, u as acquireDaemonServiceLifecycleLock, v as daemonRuntimeStateRootPath, w as daemonServiceStableLauncherPath, x as daemonServiceRecognizedExecutableWrapperPaths, y as daemonServiceActiveBundleStatePath, z as rotateDaemonControlPlaneTokenIfExpired } from "./daemon-runtime-lease-Cath1v3w.js";
|
|
8
|
+
import { D as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, E as OPENCLAW_CLI_TIMEOUT_MS$1, M as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, N as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, O as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, S as MAX_HEARTBEAT_INTERVAL_MS$2, _ as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1, d as resolveOpenMeldDistribution, f as CATALOG_SYNC_RETRY_INTERVAL_MS$1, g as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, h as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, i as getAuthSessionState, j as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, k as REGISTER_RESPONSE_TIMEOUT_MS$1, m as DAEMON_RUNTIME_CONTRACT_EPOCH$1, n as clearAuthSession, p as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, s as setAuthSession, u as isBinaryDistribution, v as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, w as MIN_HEARTBEAT_INTERVAL_MS$2, x as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, y as DEFAULT_HEARTBEAT_INTERVAL_MS$1 } from "./auth-session-Bcfr1k3c.js";
|
|
9
|
+
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, f as buildOpenMeldRequestContextFromProfileIdentity, i as resolveSpaceRequestTimeoutMsForDiagnostics, l as canAttachAuthTokenToRequest, m as resolveAuthRequestCompatibility, n as createCliApiClientFoundation, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, u as resolveAuthTokenAttachment } from "./api-client-foundation-DhvXlRGR.js";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { homedir, tmpdir, userInfo } from "node:os";
|
|
12
|
+
import * as z$1 from "zod/v4";
|
|
12
13
|
import { z } from "zod/v4";
|
|
13
14
|
import path, { basename, delimiter, dirname, extname, isAbsolute, join, normalize, parse, relative, resolve, sep } from "node:path";
|
|
14
15
|
import process$1 from "node:process";
|
|
@@ -34,7 +35,7 @@ import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybi
|
|
|
34
35
|
var package_default = {
|
|
35
36
|
$schema: "https://www.schemastore.org/package.json",
|
|
36
37
|
name: "openmeld",
|
|
37
|
-
version: "0.3.
|
|
38
|
+
version: "0.3.107",
|
|
38
39
|
openMeldReleaseDate: "2026-08-25",
|
|
39
40
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
40
41
|
license: "MIT",
|
|
@@ -208,65 +209,65 @@ function resolveBuiltinAgentControllerBrand(agentControllerRef) {
|
|
|
208
209
|
}
|
|
209
210
|
//#endregion
|
|
210
211
|
//#region ../../packages/schemas/dist/schemas/cli/daemon-status-server-requirement.js
|
|
211
|
-
const cliVersionVerdictKindSchema = z.enum([
|
|
212
|
+
const cliVersionVerdictKindSchema = z$1.enum([
|
|
212
213
|
"aligned",
|
|
213
214
|
"channel_behind",
|
|
214
215
|
"channel_ahead",
|
|
215
216
|
"channel_unavailable",
|
|
216
217
|
"server_unavailable"
|
|
217
218
|
]);
|
|
218
|
-
const serviceVersionVerdictKindSchema = z.enum([
|
|
219
|
+
const serviceVersionVerdictKindSchema = z$1.enum([
|
|
219
220
|
"aligned",
|
|
220
221
|
"update_available",
|
|
221
222
|
"update_required",
|
|
222
223
|
"unknown",
|
|
223
224
|
"server_unavailable"
|
|
224
225
|
]);
|
|
225
|
-
const cliVersionVerdictSchema = z.strictObject({
|
|
226
|
+
const cliVersionVerdictSchema = z$1.strictObject({
|
|
226
227
|
kind: cliVersionVerdictKindSchema,
|
|
227
|
-
message: z.string().trim().min(1)
|
|
228
|
+
message: z$1.string().trim().min(1)
|
|
228
229
|
});
|
|
229
|
-
const serviceVersionVerdictSchema = z.strictObject({
|
|
230
|
+
const serviceVersionVerdictSchema = z$1.strictObject({
|
|
230
231
|
kind: serviceVersionVerdictKindSchema,
|
|
231
|
-
message: z.string().trim().min(1)
|
|
232
|
+
message: z$1.string().trim().min(1)
|
|
232
233
|
});
|
|
233
|
-
const daemonStatusServerRequirementUnavailableReasonSchema = z.enum([
|
|
234
|
+
const daemonStatusServerRequirementUnavailableReasonSchema = z$1.enum([
|
|
234
235
|
"signed_out",
|
|
235
236
|
"offline",
|
|
236
237
|
"request_failed"
|
|
237
238
|
]);
|
|
238
|
-
const availableDaemonStatusServerRequirementSchema = z.strictObject({
|
|
239
|
-
available: z.literal(true),
|
|
240
|
-
generatedAt: z.iso.datetime({ offset: true }),
|
|
239
|
+
const availableDaemonStatusServerRequirementSchema = z$1.strictObject({
|
|
240
|
+
available: z$1.literal(true),
|
|
241
|
+
generatedAt: z$1.iso.datetime({ offset: true }),
|
|
241
242
|
cli: localCliComponentUpdateProjectionSchema,
|
|
242
243
|
service: localServiceComponentUpdateProjectionSchema,
|
|
243
|
-
verdict: z.strictObject({
|
|
244
|
+
verdict: z$1.strictObject({
|
|
244
245
|
cli: cliVersionVerdictSchema,
|
|
245
246
|
service: serviceVersionVerdictSchema
|
|
246
247
|
})
|
|
247
248
|
});
|
|
248
|
-
const unavailableDaemonStatusServerRequirementSchema = z.strictObject({
|
|
249
|
-
available: z.literal(false),
|
|
249
|
+
const unavailableDaemonStatusServerRequirementSchema = z$1.strictObject({
|
|
250
|
+
available: z$1.literal(false),
|
|
250
251
|
reason: daemonStatusServerRequirementUnavailableReasonSchema,
|
|
251
|
-
detail: z.string().nullable()
|
|
252
|
+
detail: z$1.string().nullable()
|
|
252
253
|
});
|
|
253
|
-
const daemonStatusServerRequirementSchema = z.discriminatedUnion("available", [availableDaemonStatusServerRequirementSchema, unavailableDaemonStatusServerRequirementSchema]);
|
|
254
|
+
const daemonStatusServerRequirementSchema = z$1.discriminatedUnion("available", [availableDaemonStatusServerRequirementSchema, unavailableDaemonStatusServerRequirementSchema]);
|
|
254
255
|
//#endregion
|
|
255
256
|
//#region ../../packages/schemas/dist/schemas/http/organization-join-link.js
|
|
256
257
|
const ORGANIZATION_JOIN_LINK_ACCEPT_RATE_LIMITED_ERROR_CODE = "organization.join_link.accept.rate_limited";
|
|
257
|
-
const organizationJoinLinkTokenSchema = z.string().regex(/^joinlink_[0-9a-f]{64}$/);
|
|
258
|
-
z.strictObject({ organizationId: z.string().trim().min(1).max(255) });
|
|
259
|
-
const organizationJoinLinkSchema = z.strictObject({
|
|
260
|
-
id: z.string().min(1),
|
|
261
|
-
organizationId: z.string().min(1),
|
|
258
|
+
const organizationJoinLinkTokenSchema = z$1.string().regex(/^joinlink_[0-9a-f]{64}$/);
|
|
259
|
+
z$1.strictObject({ organizationId: z$1.string().trim().min(1).max(255) });
|
|
260
|
+
const organizationJoinLinkSchema = z$1.strictObject({
|
|
261
|
+
id: z$1.string().min(1),
|
|
262
|
+
organizationId: z$1.string().min(1),
|
|
262
263
|
token: organizationJoinLinkTokenSchema,
|
|
263
|
-
url: z.url(),
|
|
264
|
-
role: z.literal("member"),
|
|
265
|
-
createdBy: z.string().min(1),
|
|
266
|
-
createdAt: z.iso.datetime()
|
|
264
|
+
url: z$1.url(),
|
|
265
|
+
role: z$1.literal("member"),
|
|
266
|
+
createdBy: z$1.string().min(1),
|
|
267
|
+
createdAt: z$1.iso.datetime()
|
|
267
268
|
});
|
|
268
|
-
const getOrganizationJoinLinkResponseSchema = z.strictObject({
|
|
269
|
-
ok: z.literal(true),
|
|
269
|
+
const getOrganizationJoinLinkResponseSchema = z$1.strictObject({
|
|
270
|
+
ok: z$1.literal(true),
|
|
270
271
|
joinLink: organizationJoinLinkSchema.nullable()
|
|
271
272
|
});
|
|
272
273
|
const CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE = {
|
|
@@ -274,83 +275,83 @@ const CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE = {
|
|
|
274
275
|
settingsLocation: "Settings → Workspace → General",
|
|
275
276
|
settingsSection: "Invite link"
|
|
276
277
|
};
|
|
277
|
-
z.strictObject({ context: openMeldRequestContextSchema });
|
|
278
|
-
const centerAgentOrganizationInviteLinkGenerationGuidanceSchema = z.strictObject({
|
|
279
|
-
requiredRole: z.literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.requiredRole),
|
|
280
|
-
settingsLocation: z.literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.settingsLocation),
|
|
281
|
-
settingsSection: z.literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.settingsSection)
|
|
278
|
+
z$1.strictObject({ context: openMeldRequestContextSchema });
|
|
279
|
+
const centerAgentOrganizationInviteLinkGenerationGuidanceSchema = z$1.strictObject({
|
|
280
|
+
requiredRole: z$1.literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.requiredRole),
|
|
281
|
+
settingsLocation: z$1.literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.settingsLocation),
|
|
282
|
+
settingsSection: z$1.literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.settingsSection)
|
|
282
283
|
});
|
|
283
|
-
z.discriminatedUnion("active", [z.strictObject({
|
|
284
|
-
active: z.literal(true),
|
|
285
|
-
organizationName: z.string().trim().min(1),
|
|
286
|
-
url: z.url()
|
|
287
|
-
}), z.strictObject({
|
|
288
|
-
active: z.literal(false),
|
|
284
|
+
z$1.discriminatedUnion("active", [z$1.strictObject({
|
|
285
|
+
active: z$1.literal(true),
|
|
286
|
+
organizationName: z$1.string().trim().min(1),
|
|
287
|
+
url: z$1.url()
|
|
288
|
+
}), z$1.strictObject({
|
|
289
|
+
active: z$1.literal(false),
|
|
289
290
|
generationGuidance: centerAgentOrganizationInviteLinkGenerationGuidanceSchema
|
|
290
291
|
})]);
|
|
291
|
-
const organizationJoinLinkEnsureErrorCodeSchema = z.enum([
|
|
292
|
+
const organizationJoinLinkEnsureErrorCodeSchema = z$1.enum([
|
|
292
293
|
"organization.join_link.forbidden",
|
|
293
294
|
"organization.join_link.inactive",
|
|
294
295
|
"organization.join_link.invalid_input",
|
|
295
296
|
"organization.metadata_invalid",
|
|
296
297
|
"organization.personal_no_members"
|
|
297
298
|
]);
|
|
298
|
-
z.strictObject({
|
|
299
|
-
actorUserId: z.string().trim().min(1).max(255),
|
|
300
|
-
organizationId: z.string().trim().min(1).max(255)
|
|
299
|
+
z$1.strictObject({
|
|
300
|
+
actorUserId: z$1.string().trim().min(1).max(255),
|
|
301
|
+
organizationId: z$1.string().trim().min(1).max(255)
|
|
301
302
|
});
|
|
302
|
-
z.discriminatedUnion("ok", [z.strictObject({
|
|
303
|
+
z$1.discriminatedUnion("ok", [z$1.strictObject({
|
|
303
304
|
joinLink: organizationJoinLinkSchema,
|
|
304
|
-
ok: z.literal(true),
|
|
305
|
-
organizationName: z.string().trim().min(1)
|
|
306
|
-
}), z.strictObject({
|
|
305
|
+
ok: z$1.literal(true),
|
|
306
|
+
organizationName: z$1.string().trim().min(1)
|
|
307
|
+
}), z$1.strictObject({
|
|
307
308
|
code: organizationJoinLinkEnsureErrorCodeSchema,
|
|
308
|
-
message: z.string().trim().min(1),
|
|
309
|
-
ok: z.literal(false)
|
|
309
|
+
message: z$1.string().trim().min(1),
|
|
310
|
+
ok: z$1.literal(false)
|
|
310
311
|
})]);
|
|
311
|
-
z.strictObject({
|
|
312
|
+
z$1.strictObject({
|
|
312
313
|
context: openMeldRequestContextSchema,
|
|
313
314
|
speakerMember: centerAgentToolSpeakerSchema
|
|
314
315
|
});
|
|
315
|
-
z.discriminatedUnion("ok", [z.strictObject({
|
|
316
|
-
ok: z.literal(true),
|
|
317
|
-
organizationName: z.string().trim().min(1),
|
|
318
|
-
url: z.url()
|
|
319
|
-
}), z.strictObject({
|
|
320
|
-
error: z.strictObject({
|
|
316
|
+
z$1.discriminatedUnion("ok", [z$1.strictObject({
|
|
317
|
+
ok: z$1.literal(true),
|
|
318
|
+
organizationName: z$1.string().trim().min(1),
|
|
319
|
+
url: z$1.url()
|
|
320
|
+
}), z$1.strictObject({
|
|
321
|
+
error: z$1.strictObject({
|
|
321
322
|
code: organizationJoinLinkEnsureErrorCodeSchema,
|
|
322
|
-
message: z.string().trim().min(1)
|
|
323
|
+
message: z$1.string().trim().min(1)
|
|
323
324
|
}),
|
|
324
|
-
ok: z.literal(false)
|
|
325
|
+
ok: z$1.literal(false)
|
|
325
326
|
})]);
|
|
326
|
-
const revokeOrganizationJoinLinkResponseSchema = z.strictObject({
|
|
327
|
-
ok: z.literal(true),
|
|
328
|
-
revoked: z.boolean()
|
|
327
|
+
const revokeOrganizationJoinLinkResponseSchema = z$1.strictObject({
|
|
328
|
+
ok: z$1.literal(true),
|
|
329
|
+
revoked: z$1.boolean()
|
|
329
330
|
});
|
|
330
|
-
z.strictObject({ token: organizationJoinLinkTokenSchema });
|
|
331
|
-
z.discriminatedUnion("active", [z.strictObject({
|
|
332
|
-
ok: z.literal(true),
|
|
333
|
-
active: z.literal(true),
|
|
334
|
-
organizationName: z.string().min(1),
|
|
335
|
-
organizationSlug: z.string().min(1)
|
|
336
|
-
}), z.strictObject({
|
|
337
|
-
ok: z.literal(true),
|
|
338
|
-
active: z.literal(false)
|
|
331
|
+
z$1.strictObject({ token: organizationJoinLinkTokenSchema });
|
|
332
|
+
z$1.discriminatedUnion("active", [z$1.strictObject({
|
|
333
|
+
ok: z$1.literal(true),
|
|
334
|
+
active: z$1.literal(true),
|
|
335
|
+
organizationName: z$1.string().min(1),
|
|
336
|
+
organizationSlug: z$1.string().min(1)
|
|
337
|
+
}), z$1.strictObject({
|
|
338
|
+
ok: z$1.literal(true),
|
|
339
|
+
active: z$1.literal(false)
|
|
339
340
|
})]);
|
|
340
|
-
z.strictObject({ token: organizationJoinLinkTokenSchema });
|
|
341
|
-
z.strictObject({
|
|
342
|
-
ok: z.literal(true),
|
|
343
|
-
organizationId: z.string().min(1),
|
|
344
|
-
organizationName: z.string().min(1),
|
|
345
|
-
organizationSlug: z.string().min(1),
|
|
346
|
-
role: z.enum([
|
|
341
|
+
z$1.strictObject({ token: organizationJoinLinkTokenSchema });
|
|
342
|
+
z$1.strictObject({
|
|
343
|
+
ok: z$1.literal(true),
|
|
344
|
+
organizationId: z$1.string().min(1),
|
|
345
|
+
organizationName: z$1.string().min(1),
|
|
346
|
+
organizationSlug: z$1.string().min(1),
|
|
347
|
+
role: z$1.enum([
|
|
347
348
|
"owner",
|
|
348
349
|
"admin",
|
|
349
350
|
"member"
|
|
350
351
|
]),
|
|
351
|
-
alreadyMember: z.boolean()
|
|
352
|
+
alreadyMember: z$1.boolean()
|
|
352
353
|
});
|
|
353
|
-
const organizationJoinLinkErrorCodeSchema = z.enum([
|
|
354
|
+
const organizationJoinLinkErrorCodeSchema = z$1.enum([
|
|
354
355
|
"auth.invalid_origin",
|
|
355
356
|
ORGANIZATION_JOIN_LINK_ACCEPT_RATE_LIMITED_ERROR_CODE,
|
|
356
357
|
"organization.join_link.invalid_input",
|
|
@@ -361,15 +362,15 @@ const organizationJoinLinkErrorCodeSchema = z.enum([
|
|
|
361
362
|
"organization.personal_no_members",
|
|
362
363
|
"organization.metadata_invalid"
|
|
363
364
|
]);
|
|
364
|
-
const organizationJoinLinkErrorResponseSchema = z.strictObject({
|
|
365
|
-
ok: z.literal(false),
|
|
365
|
+
const organizationJoinLinkErrorResponseSchema = z$1.strictObject({
|
|
366
|
+
ok: z$1.literal(false),
|
|
366
367
|
code: organizationJoinLinkErrorCodeSchema,
|
|
367
|
-
message: z.string().min(1)
|
|
368
|
+
message: z$1.string().min(1)
|
|
368
369
|
});
|
|
369
370
|
//#endregion
|
|
370
371
|
//#region ../../packages/schemas/dist/schemas/cli/json-output.js
|
|
371
|
-
const schemaVersionSchema = z.literal(1);
|
|
372
|
-
z.enum([
|
|
372
|
+
const schemaVersionSchema = z$1.literal(1);
|
|
373
|
+
z$1.enum([
|
|
373
374
|
"auth.authentication_required",
|
|
374
375
|
"auth.session_token_unavailable",
|
|
375
376
|
"profile.required",
|
|
@@ -381,13 +382,13 @@ z.enum([
|
|
|
381
382
|
* command throws (or a blocking entry-check fires) under `--json`, then exits 1.
|
|
382
383
|
* Fully owned, so it is strict.
|
|
383
384
|
*/
|
|
384
|
-
const cliJsonErrorEnvelopeSchema = z.strictObject({
|
|
385
|
+
const cliJsonErrorEnvelopeSchema = z$1.strictObject({
|
|
385
386
|
schemaVersion: schemaVersionSchema,
|
|
386
|
-
type: z.literal("error"),
|
|
387
|
-
error: z.strictObject({
|
|
388
|
-
code: z.string(),
|
|
389
|
-
message: z.string(),
|
|
390
|
-
requestId: z.string().optional()
|
|
387
|
+
type: z$1.literal("error"),
|
|
388
|
+
error: z$1.strictObject({
|
|
389
|
+
code: z$1.string(),
|
|
390
|
+
message: z$1.string(),
|
|
391
|
+
requestId: z$1.string().optional()
|
|
391
392
|
})
|
|
392
393
|
});
|
|
393
394
|
/**
|
|
@@ -406,34 +407,34 @@ const cliJsonErrorEnvelopeSchema = z.strictObject({
|
|
|
406
407
|
* domain payload passes through the relaxed boundary.
|
|
407
408
|
*/
|
|
408
409
|
function defineSuccessEnvelope(type, shape) {
|
|
409
|
-
return z.looseObject({
|
|
410
|
+
return z$1.looseObject({
|
|
410
411
|
schemaVersion: schemaVersionSchema,
|
|
411
|
-
type: z.literal(type),
|
|
412
|
+
type: z$1.literal(type),
|
|
412
413
|
...shape
|
|
413
414
|
});
|
|
414
415
|
}
|
|
415
416
|
function defineStrictSuccessEnvelope(type, shape) {
|
|
416
|
-
return z.strictObject({
|
|
417
|
+
return z$1.strictObject({
|
|
417
418
|
schemaVersion: schemaVersionSchema,
|
|
418
|
-
type: z.literal(type),
|
|
419
|
+
type: z$1.literal(type),
|
|
419
420
|
...shape
|
|
420
421
|
});
|
|
421
422
|
}
|
|
422
|
-
const cliJsonDaemonRunEnvelopeSchema = defineSuccessEnvelope("daemon.run", { ok: z.boolean() });
|
|
423
|
-
const cliJsonDaemonInstallEnvelopeSchema = defineSuccessEnvelope("daemon.install", { status: z.string() });
|
|
424
|
-
const cliJsonDaemonUninstallEnvelopeSchema = defineSuccessEnvelope("daemon.uninstall", { status: z.enum(["removed", "not_installed"]) });
|
|
423
|
+
const cliJsonDaemonRunEnvelopeSchema = defineSuccessEnvelope("daemon.run", { ok: z$1.boolean() });
|
|
424
|
+
const cliJsonDaemonInstallEnvelopeSchema = defineSuccessEnvelope("daemon.install", { status: z$1.string() });
|
|
425
|
+
const cliJsonDaemonUninstallEnvelopeSchema = defineSuccessEnvelope("daemon.uninstall", { status: z$1.enum(["removed", "not_installed"]) });
|
|
425
426
|
const cliJsonDaemonReinstallEnvelopeSchema = defineSuccessEnvelope("daemon.reinstall", {});
|
|
426
427
|
const cliJsonDaemonStatusEnvelopeSchema = defineSuccessEnvelope("daemon.status", {
|
|
427
|
-
runtimeFlavor: z.enum(["binary", "node-bundle"]).optional(),
|
|
428
|
+
runtimeFlavor: z$1.enum(["binary", "node-bundle"]).optional(),
|
|
428
429
|
serverRequirement: daemonStatusServerRequirementSchema.optional()
|
|
429
430
|
});
|
|
430
431
|
const cliJsonDaemonStopEnvelopeSchema = defineSuccessEnvelope("daemon.stop", {});
|
|
431
432
|
const cliJsonDaemonAutostartEnvelopeSchema = defineSuccessEnvelope("daemon.autostart", {
|
|
432
|
-
action: z.enum(["enable", "disable"]),
|
|
433
|
-
enabled: z.boolean()
|
|
433
|
+
action: z$1.enum(["enable", "disable"]),
|
|
434
|
+
enabled: z$1.boolean()
|
|
434
435
|
});
|
|
435
|
-
const cliJsonAgentsDetectEnvelopeSchema = defineSuccessEnvelope("agents.detect", { count: z.number().int().nonnegative() });
|
|
436
|
-
const cliJsonAgentsListEnvelopeSchema = defineSuccessEnvelope("agents.list", { count: z.number().int().nonnegative() });
|
|
436
|
+
const cliJsonAgentsDetectEnvelopeSchema = defineSuccessEnvelope("agents.detect", { count: z$1.number().int().nonnegative() });
|
|
437
|
+
const cliJsonAgentsListEnvelopeSchema = defineSuccessEnvelope("agents.list", { count: z$1.number().int().nonnegative() });
|
|
437
438
|
const cliJsonAgentsShowEnvelopeSchema = defineSuccessEnvelope("agents.show", {});
|
|
438
439
|
const cliJsonAgentsEnableEnvelopeSchema = defineSuccessEnvelope("agents.enable", {});
|
|
439
440
|
const cliJsonAgentsDisableEnvelopeSchema = defineSuccessEnvelope("agents.disable", {});
|
|
@@ -441,40 +442,40 @@ const cliJsonFeedbackSubmittedEnvelopeSchema = defineSuccessEnvelope("feedback_s
|
|
|
441
442
|
issueId: submitFeedbackIssueResponseSchema.shape.issueId,
|
|
442
443
|
category: submitFeedbackIssueRequestSchema.shape.category,
|
|
443
444
|
submitterKind: submitFeedbackIssueRequestSchema.shape.submitterKind,
|
|
444
|
-
anonymous: z.boolean()
|
|
445
|
+
anonymous: z$1.boolean()
|
|
445
446
|
});
|
|
446
|
-
const cliJsonAgentActivityLocalBindingSchema = z.strictObject({
|
|
447
|
-
boundAtMs: z.number().int().nonnegative(),
|
|
448
|
-
organizationId: z.string().min(1),
|
|
449
|
-
projectId: z.string().min(1),
|
|
450
|
-
projectSlug: z.string().min(1),
|
|
451
|
-
repositoryFingerprint: z.string().nullable(),
|
|
452
|
-
repositoryPath: z.string().min(1)
|
|
447
|
+
const cliJsonAgentActivityLocalBindingSchema = z$1.strictObject({
|
|
448
|
+
boundAtMs: z$1.number().int().nonnegative(),
|
|
449
|
+
organizationId: z$1.string().min(1),
|
|
450
|
+
projectId: z$1.string().min(1),
|
|
451
|
+
projectSlug: z$1.string().min(1),
|
|
452
|
+
repositoryFingerprint: z$1.string().nullable(),
|
|
453
|
+
repositoryPath: z$1.string().min(1)
|
|
453
454
|
});
|
|
454
455
|
const cliJsonProjectsListEnvelopeSchema = defineStrictSuccessEnvelope("projects.list", {
|
|
455
456
|
...listProjectsResponseSchema.shape,
|
|
456
|
-
localBindings: z.array(cliJsonAgentActivityLocalBindingSchema)
|
|
457
|
+
localBindings: z$1.array(cliJsonAgentActivityLocalBindingSchema)
|
|
457
458
|
});
|
|
458
459
|
const cliJsonProjectsCreateEnvelopeSchema = defineStrictSuccessEnvelope("projects.create", createProjectResponseSchema.shape);
|
|
459
460
|
const cliJsonProjectsUpdateEnvelopeSchema = defineStrictSuccessEnvelope("projects.update", updateProjectResponseSchema.shape);
|
|
460
461
|
const cliJsonProjectsArchiveEnvelopeSchema = defineStrictSuccessEnvelope("projects.archive", archiveProjectResponseSchema.shape);
|
|
461
|
-
const cliJsonAgentActivityIntegrationUpdateSchema = z.strictObject({
|
|
462
|
-
claude: z.enum([
|
|
462
|
+
const cliJsonAgentActivityIntegrationUpdateSchema = z$1.strictObject({
|
|
463
|
+
claude: z$1.enum([
|
|
463
464
|
"changed",
|
|
464
465
|
"missing",
|
|
465
466
|
"reused"
|
|
466
467
|
]),
|
|
467
|
-
codex: z.enum([
|
|
468
|
+
codex: z$1.enum([
|
|
468
469
|
"changed",
|
|
469
470
|
"missing",
|
|
470
471
|
"reused"
|
|
471
472
|
]),
|
|
472
|
-
cursor: z.enum([
|
|
473
|
+
cursor: z$1.enum([
|
|
473
474
|
"changed",
|
|
474
475
|
"missing",
|
|
475
476
|
"reused"
|
|
476
477
|
]),
|
|
477
|
-
openCode: z.enum([
|
|
478
|
+
openCode: z$1.enum([
|
|
478
479
|
"changed",
|
|
479
480
|
"missing",
|
|
480
481
|
"reused"
|
|
@@ -482,47 +483,47 @@ const cliJsonAgentActivityIntegrationUpdateSchema = z.strictObject({
|
|
|
482
483
|
});
|
|
483
484
|
const cliJsonProjectsBindEnvelopeSchema = defineStrictSuccessEnvelope("projects.bind", {
|
|
484
485
|
binding: cliJsonAgentActivityLocalBindingSchema,
|
|
485
|
-
integrationSetup: z.discriminatedUnion("status", [z.strictObject({
|
|
486
|
+
integrationSetup: z$1.discriminatedUnion("status", [z$1.strictObject({
|
|
486
487
|
integrations: cliJsonAgentActivityIntegrationUpdateSchema,
|
|
487
|
-
status: z.literal("ready")
|
|
488
|
-
}), z.strictObject({
|
|
489
|
-
message: z.string().trim().min(1).max(512),
|
|
490
|
-
status: z.literal("needs_attention")
|
|
488
|
+
status: z$1.literal("ready")
|
|
489
|
+
}), z$1.strictObject({
|
|
490
|
+
message: z$1.string().trim().min(1).max(512),
|
|
491
|
+
status: z$1.literal("needs_attention")
|
|
491
492
|
})]),
|
|
492
493
|
project: projectSchema
|
|
493
494
|
});
|
|
494
495
|
const cliJsonProjectsUnbindEnvelopeSchema = defineStrictSuccessEnvelope("projects.unbind", {
|
|
495
|
-
organizationId: z.string().min(1),
|
|
496
|
-
projectSlug: z.string().min(1),
|
|
497
|
-
unbound: z.literal(true)
|
|
496
|
+
organizationId: z$1.string().min(1),
|
|
497
|
+
projectSlug: z$1.string().min(1),
|
|
498
|
+
unbound: z$1.literal(true)
|
|
498
499
|
});
|
|
499
500
|
const cliJsonProjectConnectionSnapshotShape = {
|
|
500
|
-
organizationId: z.string().min(1),
|
|
501
|
-
projectId: z.string().min(1),
|
|
502
|
-
projectSlug: z.string().min(1),
|
|
503
|
-
connections: z.array(localProjectControlConnectionSchema)
|
|
501
|
+
organizationId: z$1.string().min(1),
|
|
502
|
+
projectId: z$1.string().min(1),
|
|
503
|
+
projectSlug: z$1.string().min(1),
|
|
504
|
+
connections: z$1.array(localProjectControlConnectionSchema)
|
|
504
505
|
};
|
|
505
506
|
const cliJsonProjectsConnectionsListEnvelopeSchema = defineStrictSuccessEnvelope("projects.connections.list", { ...cliJsonProjectConnectionSnapshotShape });
|
|
506
507
|
const cliJsonProjectsConnectionsSetDefaultEnvelopeSchema = defineStrictSuccessEnvelope("projects.connections.set_default", {
|
|
507
508
|
...cliJsonProjectConnectionSnapshotShape,
|
|
508
|
-
status: z.enum(["updated", "unchanged"])
|
|
509
|
+
status: z$1.enum(["updated", "unchanged"])
|
|
509
510
|
});
|
|
510
511
|
const cliJsonProjectsConnectionsRemoveEnvelopeSchema = defineStrictSuccessEnvelope("projects.connections.remove", {
|
|
511
512
|
...cliJsonProjectConnectionSnapshotShape,
|
|
512
|
-
status: z.enum(["removed", "unchanged"])
|
|
513
|
+
status: z$1.enum(["removed", "unchanged"])
|
|
513
514
|
});
|
|
514
515
|
const cliJsonAgentActivityReadEnvelopeSchema = defineStrictSuccessEnvelope("activity.read", agentActivitySnapshotResponseSchema.shape);
|
|
515
516
|
const cliJsonAgentActivitySessionsEnvelopeSchema = defineStrictSuccessEnvelope("activity.sessions", agentActivitySessionInventoryResponseSchema.shape);
|
|
516
|
-
const cliJsonAgentActivityIntegrationStatusSchema = z.strictObject({
|
|
517
|
-
claude: z.boolean(),
|
|
518
|
-
codex: z.boolean(),
|
|
519
|
-
cursor: z.boolean(),
|
|
520
|
-
openCode: z.boolean()
|
|
517
|
+
const cliJsonAgentActivityIntegrationStatusSchema = z$1.strictObject({
|
|
518
|
+
claude: z$1.boolean(),
|
|
519
|
+
codex: z$1.boolean(),
|
|
520
|
+
cursor: z$1.boolean(),
|
|
521
|
+
openCode: z$1.boolean()
|
|
521
522
|
});
|
|
522
|
-
const cliJsonAgentActivityHealthSchema = z.strictObject({
|
|
523
|
-
pending: z.number().int().nonnegative(),
|
|
524
|
-
permanentlyRejected: z.number().int().nonnegative(),
|
|
525
|
-
retrying: z.number().int().nonnegative()
|
|
523
|
+
const cliJsonAgentActivityHealthSchema = z$1.strictObject({
|
|
524
|
+
pending: z$1.number().int().nonnegative(),
|
|
525
|
+
permanentlyRejected: z$1.number().int().nonnegative(),
|
|
526
|
+
retrying: z$1.number().int().nonnegative()
|
|
526
527
|
});
|
|
527
528
|
const cliJsonAgentActivityInstallEnvelopeSchema = defineStrictSuccessEnvelope("activity.install", { integrations: cliJsonAgentActivityIntegrationUpdateSchema });
|
|
528
529
|
const cliJsonAgentActivityUninstallEnvelopeSchema = defineStrictSuccessEnvelope("activity.uninstall", { integrations: cliJsonAgentActivityIntegrationUpdateSchema });
|
|
@@ -535,12 +536,12 @@ const cliJsonAgentActivityHealthEnvelopeSchema = defineStrictSuccessEnvelope("ac
|
|
|
535
536
|
controllerTaskHealth: cliJsonAgentActivityHealthSchema,
|
|
536
537
|
health: cliJsonAgentActivityHealthSchema
|
|
537
538
|
});
|
|
538
|
-
const cliJsonAgentActivitySyncEnvelopeSchema = defineStrictSuccessEnvelope("activity.sync", { result: z.strictObject({
|
|
539
|
-
controllerTaskEventSubmittedCount: z.number().int().nonnegative(),
|
|
539
|
+
const cliJsonAgentActivitySyncEnvelopeSchema = defineStrictSuccessEnvelope("activity.sync", { result: z$1.strictObject({
|
|
540
|
+
controllerTaskEventSubmittedCount: z$1.number().int().nonnegative(),
|
|
540
541
|
controllerTaskHealth: cliJsonAgentActivityHealthSchema,
|
|
541
542
|
health: cliJsonAgentActivityHealthSchema,
|
|
542
|
-
observedCount: z.number().int().nonnegative(),
|
|
543
|
-
reason: z.enum([
|
|
543
|
+
observedCount: z$1.number().int().nonnegative(),
|
|
544
|
+
reason: z$1.enum([
|
|
544
545
|
"service_contract_unavailable",
|
|
545
546
|
"auth_unavailable",
|
|
546
547
|
"registration_rejected",
|
|
@@ -555,8 +556,8 @@ const cliJsonAgentActivitySyncEnvelopeSchema = defineStrictSuccessEnvelope("acti
|
|
|
555
556
|
"inventory_write_retryable_http_failure",
|
|
556
557
|
"inventory_write_transport_failure"
|
|
557
558
|
]).nullable(),
|
|
558
|
-
sessionInventory: z.strictObject({
|
|
559
|
-
reason: z.enum([
|
|
559
|
+
sessionInventory: z$1.strictObject({
|
|
560
|
+
reason: z$1.enum([
|
|
560
561
|
"service_contract_unavailable",
|
|
561
562
|
"auth_unavailable",
|
|
562
563
|
"registration_rejected",
|
|
@@ -565,23 +566,23 @@ const cliJsonAgentActivitySyncEnvelopeSchema = defineStrictSuccessEnvelope("acti
|
|
|
565
566
|
"inventory_write_retryable_http_failure",
|
|
566
567
|
"inventory_write_transport_failure"
|
|
567
568
|
]).nullable(),
|
|
568
|
-
sessionCount: z.number().int().nonnegative(),
|
|
569
|
-
sourceCount: z.number().int().nonnegative(),
|
|
570
|
-
status: z.enum([
|
|
569
|
+
sessionCount: z$1.number().int().nonnegative(),
|
|
570
|
+
sourceCount: z$1.number().int().nonnegative(),
|
|
571
|
+
status: z$1.enum([
|
|
571
572
|
"idle",
|
|
572
573
|
"submitted",
|
|
573
574
|
"unavailable"
|
|
574
575
|
]),
|
|
575
|
-
submittedSourceCount: z.number().int().nonnegative()
|
|
576
|
+
submittedSourceCount: z$1.number().int().nonnegative()
|
|
576
577
|
}),
|
|
577
|
-
status: z.enum([
|
|
578
|
+
status: z$1.enum([
|
|
578
579
|
"idle",
|
|
579
580
|
"submitted",
|
|
580
581
|
"unavailable"
|
|
581
582
|
]),
|
|
582
|
-
submittedCount: z.number().int().nonnegative()
|
|
583
|
+
submittedCount: z$1.number().int().nonnegative()
|
|
583
584
|
}) });
|
|
584
|
-
const cliJsonAgentActivityContextEnvelopeSchema = defineStrictSuccessEnvelope("activity.context", { context: z.string().min(1).max(300).nullable() });
|
|
585
|
+
const cliJsonAgentActivityContextEnvelopeSchema = defineStrictSuccessEnvelope("activity.context", { context: z$1.string().min(1).max(300).nullable() });
|
|
585
586
|
const cliJsonRoutinesListEnvelopeSchema = defineStrictSuccessEnvelope("routines.list", listCenterAgentRoutinesResponseSchema.shape);
|
|
586
587
|
const cliJsonRoutinesCreateEnvelopeSchema = defineStrictSuccessEnvelope("routines.create", createCenterAgentRoutineResponseSchema.shape);
|
|
587
588
|
const cliJsonRoutinesShowEnvelopeSchema = defineStrictSuccessEnvelope("routines.show", createCenterAgentRoutineResponseSchema.shape);
|
|
@@ -592,11 +593,11 @@ const cliJsonRoutinesDeleteEnvelopeSchema = defineStrictSuccessEnvelope("routine
|
|
|
592
593
|
const cliJsonRoutinesRunsEnvelopeSchema = defineStrictSuccessEnvelope("routines.runs", listCenterAgentRoutineRunsResponseSchema.shape);
|
|
593
594
|
const cliJsonSpaceMembersEnvelopeSchema = defineStrictSuccessEnvelope("space.members", spaceMemberDirectorySchema.shape);
|
|
594
595
|
const cliJsonSpaceListOrganizationEnvelopeSchema = defineStrictSuccessEnvelope("space.list.organization", {
|
|
595
|
-
scope: z.literal("organization"),
|
|
596
|
+
scope: z$1.literal("organization"),
|
|
596
597
|
organizationId: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.organizationId,
|
|
597
598
|
generatedAt: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.generatedAt,
|
|
598
|
-
total: z.number().int().nonnegative(),
|
|
599
|
-
returned: z.number().int().nonnegative(),
|
|
599
|
+
total: z$1.number().int().nonnegative(),
|
|
600
|
+
returned: z$1.number().int().nonnegative(),
|
|
600
601
|
spaces: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.spaces
|
|
601
602
|
});
|
|
602
603
|
const cliJsonOrganizationDirectoryEnvelopeSchema = defineStrictSuccessEnvelope("organization.directory", organizationDirectoryResponseSchema.shape);
|
|
@@ -607,14 +608,14 @@ const cliJsonOrganizationInviteLinkRevokeEnvelopeSchema = defineStrictSuccessEnv
|
|
|
607
608
|
const cliJsonSkillsListEnvelopeSchema = defineStrictSuccessEnvelope("skills.list", listOrganizationSkillsResponseSchema.shape);
|
|
608
609
|
const cliJsonSkillsShowEnvelopeSchema = defineStrictSuccessEnvelope("skills.show", getOrganizationSkillResponseSchema.shape);
|
|
609
610
|
const cliJsonSkillsLoadEnvelopeSchema = defineStrictSuccessEnvelope("skills.load", {
|
|
610
|
-
cachePath: z.string().min(1),
|
|
611
|
+
cachePath: z$1.string().min(1),
|
|
611
612
|
digest: organizationSkillReleaseSummarySchema.shape.digest,
|
|
612
613
|
organizationId: organizationSkillSummarySchema.shape.organizationId,
|
|
613
614
|
releaseId: organizationSkillReleaseSummarySchema.shape.id,
|
|
614
|
-
resourcePaths: z.array(z.string().min(1)).max(128),
|
|
615
|
-
reused: z.boolean(),
|
|
615
|
+
resourcePaths: z$1.array(z$1.string().min(1)).max(128),
|
|
616
|
+
reused: z$1.boolean(),
|
|
616
617
|
skillId: organizationSkillSummarySchema.shape.id,
|
|
617
|
-
skillMarkdownPath: z.string().min(1),
|
|
618
|
+
skillMarkdownPath: z$1.string().min(1),
|
|
618
619
|
skillName: organizationSkillSummarySchema.shape.name
|
|
619
620
|
});
|
|
620
621
|
/**
|
|
@@ -622,7 +623,7 @@ const cliJsonSkillsLoadEnvelopeSchema = defineStrictSuccessEnvelope("skills.load
|
|
|
622
623
|
* envelope, discriminated on `type`. A `--json` driver dispatches on
|
|
623
624
|
* `schemaVersion` + `type`; that frame is the contract this validates.
|
|
624
625
|
*/
|
|
625
|
-
const cliJsonOutputEnvelopeSchema = z.discriminatedUnion("type", [
|
|
626
|
+
const cliJsonOutputEnvelopeSchema = z$1.discriminatedUnion("type", [
|
|
626
627
|
cliJsonErrorEnvelopeSchema,
|
|
627
628
|
cliJsonDaemonRunEnvelopeSchema,
|
|
628
629
|
cliJsonDaemonInstallEnvelopeSchema,
|
|
@@ -675,9 +676,9 @@ const cliJsonOutputEnvelopeSchema = z.discriminatedUnion("type", [
|
|
|
675
676
|
]);
|
|
676
677
|
//#endregion
|
|
677
678
|
//#region ../../packages/schemas/dist/schemas/config/agent-activity-route-registry.js
|
|
678
|
-
const agentActivityRouteRegistrySchema = z.strictObject({
|
|
679
|
-
routes: z.array(z.strictObject({ rootDir: z.string().trim().min(1).max(4096) })).max(64),
|
|
680
|
-
version: z.literal(1)
|
|
679
|
+
const agentActivityRouteRegistrySchema = z$1.strictObject({
|
|
680
|
+
routes: z$1.array(z$1.strictObject({ rootDir: z$1.string().trim().min(1).max(4096) })).max(64),
|
|
681
|
+
version: z$1.literal(1)
|
|
681
682
|
}).superRefine((value, context) => {
|
|
682
683
|
const rootDirs = /* @__PURE__ */ new Set();
|
|
683
684
|
for (const [index, route] of value.routes.entries()) {
|
|
@@ -696,12 +697,12 @@ const agentActivityRouteRegistrySchema = z.strictObject({
|
|
|
696
697
|
//#endregion
|
|
697
698
|
//#region ../../packages/schemas/dist/schemas/daemon/route-catalog-cache.js
|
|
698
699
|
const DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME = "openmeld-daemon-route-catalog-cache-v4";
|
|
699
|
-
const cachedDaemonRouteConfigSchema = z.strictObject({
|
|
700
|
-
agentControllerRef: z.string().trim().min(1),
|
|
701
|
-
bindingId: z.string().trim().min(1).optional(),
|
|
700
|
+
const cachedDaemonRouteConfigSchema = z$1.strictObject({
|
|
701
|
+
agentControllerRef: z$1.string().trim().min(1),
|
|
702
|
+
bindingId: z$1.string().trim().min(1).optional(),
|
|
702
703
|
agentControllerCollaborationMode: agentControllerCollaborationModeSchema.optional(),
|
|
703
704
|
agentControllerPermissionMode: agentControllerPermissionModeSchema.optional(),
|
|
704
|
-
configurationRevision: z.number().int().positive().optional(),
|
|
705
|
+
configurationRevision: z$1.number().int().positive().optional(),
|
|
705
706
|
contextIdMappingSpec: runtimeAgentControllerConversationIdMappingSpecSchema,
|
|
706
707
|
conversationPolicy: conversationPolicySchema.optional(),
|
|
707
708
|
openCodePermission: openCodePermissionConfigSchema.optional(),
|
|
@@ -709,30 +710,30 @@ const cachedDaemonRouteConfigSchema = z.strictObject({
|
|
|
709
710
|
profileId: agentProfileIdSchema,
|
|
710
711
|
streamingMode: runtimeStreamingModeSchema,
|
|
711
712
|
transportMode: runtimeTransportModeSchema,
|
|
712
|
-
openMeldServiceRuntimeId: z.string().trim().min(1).optional()
|
|
713
|
+
openMeldServiceRuntimeId: z$1.string().trim().min(1).optional()
|
|
713
714
|
});
|
|
714
|
-
const daemonRouteCatalogCacheBodySchema = z.strictObject({
|
|
715
|
-
cachedAt: z.iso.datetime({ offset: true }),
|
|
716
|
-
runtimeContractEpoch: z.literal(CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH),
|
|
717
|
-
ownerUserId: z.string().trim().min(1),
|
|
715
|
+
const daemonRouteCatalogCacheBodySchema = z$1.strictObject({
|
|
716
|
+
cachedAt: z$1.iso.datetime({ offset: true }),
|
|
717
|
+
runtimeContractEpoch: z$1.literal(CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH),
|
|
718
|
+
ownerUserId: z$1.string().trim().min(1),
|
|
718
719
|
lane: daemonServiceLaneSchema,
|
|
719
|
-
serviceBundleId: z.string().trim().min(1),
|
|
720
|
-
profileIds: z.array(agentProfileIdSchema),
|
|
721
|
-
routes: z.array(cachedDaemonRouteConfigSchema),
|
|
722
|
-
skippedProfiles: z.array(skippedDaemonProfileSchema)
|
|
720
|
+
serviceBundleId: z$1.string().trim().min(1),
|
|
721
|
+
profileIds: z$1.array(agentProfileIdSchema),
|
|
722
|
+
routes: z$1.array(cachedDaemonRouteConfigSchema),
|
|
723
|
+
skippedProfiles: z$1.array(skippedDaemonProfileSchema)
|
|
723
724
|
});
|
|
724
|
-
const daemonRouteCatalogCacheSchema = z.discriminatedUnion("v", [
|
|
725
|
+
const daemonRouteCatalogCacheSchema = z$1.discriminatedUnion("v", [
|
|
725
726
|
daemonRouteCatalogCacheBodySchema.extend({
|
|
726
|
-
v: z.literal(2),
|
|
727
|
-
schema: z.literal("openmeld-daemon-route-catalog-cache-v2")
|
|
727
|
+
v: z$1.literal(2),
|
|
728
|
+
schema: z$1.literal("openmeld-daemon-route-catalog-cache-v2")
|
|
728
729
|
}),
|
|
729
730
|
daemonRouteCatalogCacheBodySchema.extend({
|
|
730
|
-
v: z.literal(3),
|
|
731
|
-
schema: z.literal("openmeld-daemon-route-catalog-cache-v3")
|
|
731
|
+
v: z$1.literal(3),
|
|
732
|
+
schema: z$1.literal("openmeld-daemon-route-catalog-cache-v3")
|
|
732
733
|
}),
|
|
733
734
|
daemonRouteCatalogCacheBodySchema.extend({
|
|
734
|
-
v: z.literal(4),
|
|
735
|
-
schema: z.literal(DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME)
|
|
735
|
+
v: z$1.literal(4),
|
|
736
|
+
schema: z$1.literal(DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME)
|
|
736
737
|
})
|
|
737
738
|
]).superRefine((value, ctx) => {
|
|
738
739
|
const routeIds = new Set(value.routes.map((route) => route.profileId));
|
|
@@ -745,76 +746,76 @@ const daemonRouteCatalogCacheSchema = z.discriminatedUnion("v", [
|
|
|
745
746
|
//#endregion
|
|
746
747
|
//#region ../../packages/schemas/dist/schemas/daemon/runtime-reporting-health.js
|
|
747
748
|
const RUNTIME_REPORTING_HEALTH_SCHEMA_NAME = "openmeld-runtime-reporting-health-v1";
|
|
748
|
-
z.enum(["runtimeAgentController", "providerConversationProof"]);
|
|
749
|
-
const runtimeReportingHealthFailureSchema = z.strictObject({
|
|
750
|
-
at: z.iso.datetime({ offset: true }),
|
|
751
|
-
reasonCode: z.string().min(1).max(160),
|
|
752
|
-
message: z.string().min(1).max(500)
|
|
749
|
+
z$1.enum(["runtimeAgentController", "providerConversationProof"]);
|
|
750
|
+
const runtimeReportingHealthFailureSchema = z$1.strictObject({
|
|
751
|
+
at: z$1.iso.datetime({ offset: true }),
|
|
752
|
+
reasonCode: z$1.string().min(1).max(160),
|
|
753
|
+
message: z$1.string().min(1).max(500)
|
|
753
754
|
});
|
|
754
|
-
const runtimeReportingApplicabilitySchema = z.strictObject({
|
|
755
|
-
status: z.enum(["applicable", "not_applicable"]),
|
|
756
|
-
observedAt: z.iso.datetime({ offset: true })
|
|
755
|
+
const runtimeReportingApplicabilitySchema = z$1.strictObject({
|
|
756
|
+
status: z$1.enum(["applicable", "not_applicable"]),
|
|
757
|
+
observedAt: z$1.iso.datetime({ offset: true })
|
|
757
758
|
});
|
|
758
|
-
const runtimeReportingServiceIdentitySchema = z.strictObject({
|
|
759
|
-
deviceId: z.string().trim().min(1),
|
|
760
|
-
contractGeneration: z.int().nonnegative()
|
|
759
|
+
const runtimeReportingServiceIdentitySchema = z$1.strictObject({
|
|
760
|
+
deviceId: z$1.string().trim().min(1),
|
|
761
|
+
contractGeneration: z$1.int().nonnegative()
|
|
761
762
|
});
|
|
762
|
-
const runtimeReportingChannelHealthSchema = z.strictObject({
|
|
763
|
+
const runtimeReportingChannelHealthSchema = z$1.strictObject({
|
|
763
764
|
applicability: runtimeReportingApplicabilitySchema.optional(),
|
|
764
|
-
lastSuccessAt: z.iso.datetime({ offset: true }).nullable(),
|
|
765
|
-
consecutiveFailures: z.int().nonnegative(),
|
|
765
|
+
lastSuccessAt: z$1.iso.datetime({ offset: true }).nullable(),
|
|
766
|
+
consecutiveFailures: z$1.int().nonnegative(),
|
|
766
767
|
lastFailure: runtimeReportingHealthFailureSchema.nullable()
|
|
767
768
|
});
|
|
768
|
-
const runtimeReportingHealthStateSchema = z.strictObject({
|
|
769
|
-
schema: z.literal(RUNTIME_REPORTING_HEALTH_SCHEMA_NAME),
|
|
770
|
-
v: z.literal(1),
|
|
769
|
+
const runtimeReportingHealthStateSchema = z$1.strictObject({
|
|
770
|
+
schema: z$1.literal(RUNTIME_REPORTING_HEALTH_SCHEMA_NAME),
|
|
771
|
+
v: z$1.literal(1),
|
|
771
772
|
serviceIdentity: runtimeReportingServiceIdentitySchema.optional(),
|
|
772
|
-
serviceIdentityObservedAt: z.iso.datetime({ offset: true }).optional(),
|
|
773
|
+
serviceIdentityObservedAt: z$1.iso.datetime({ offset: true }).optional(),
|
|
773
774
|
runtimeAgentController: runtimeReportingChannelHealthSchema,
|
|
774
775
|
providerConversationProof: runtimeReportingChannelHealthSchema
|
|
775
776
|
});
|
|
776
777
|
//#endregion
|
|
777
778
|
//#region ../../packages/schemas/dist/schemas/daemon/service-update-job.js
|
|
778
779
|
const OPENMELD_DAEMON_SERVICE_UPDATE_JOB_SCHEMA = "openmeld-daemon-service-update-job-v2";
|
|
779
|
-
const daemonServiceUpdatePreparedBundleSchema = z.strictObject({
|
|
780
|
-
v: z.literal(2),
|
|
781
|
-
schema: z.literal("openmeld-daemon-active-bundle-v2"),
|
|
782
|
-
bundleId: z.string().min(1),
|
|
783
|
-
daemonVersion: z.string().min(1),
|
|
784
|
-
entryScriptRelativePath: z.string().min(1),
|
|
785
|
-
bundleFormat: z.enum([
|
|
780
|
+
const daemonServiceUpdatePreparedBundleSchema = z$1.strictObject({
|
|
781
|
+
v: z$1.literal(2),
|
|
782
|
+
schema: z$1.literal("openmeld-daemon-active-bundle-v2"),
|
|
783
|
+
bundleId: z$1.string().min(1),
|
|
784
|
+
daemonVersion: z$1.string().min(1),
|
|
785
|
+
entryScriptRelativePath: z$1.string().min(1),
|
|
786
|
+
bundleFormat: z$1.enum([
|
|
786
787
|
"legacy_linked_v1",
|
|
787
788
|
"self_contained_v1",
|
|
788
789
|
"binary_v1"
|
|
789
790
|
]),
|
|
790
|
-
sourceEntryScriptPath: z.string().min(1),
|
|
791
|
-
sourcePackageRootPath: z.string().min(1),
|
|
792
|
-
sourceDistRootPath: z.string().min(1),
|
|
793
|
-
sourceDistFingerprint: z.string().min(1).nullable().optional(),
|
|
794
|
-
sourceKind: z.enum([
|
|
791
|
+
sourceEntryScriptPath: z$1.string().min(1),
|
|
792
|
+
sourcePackageRootPath: z$1.string().min(1),
|
|
793
|
+
sourceDistRootPath: z$1.string().min(1),
|
|
794
|
+
sourceDistFingerprint: z$1.string().min(1).nullable().optional(),
|
|
795
|
+
sourceKind: z$1.enum([
|
|
795
796
|
"workspace",
|
|
796
797
|
"package_install",
|
|
797
798
|
"npx_cache",
|
|
798
799
|
"unknown"
|
|
799
800
|
]),
|
|
800
|
-
createdAt: z.iso.datetime({ offset: true }),
|
|
801
|
-
updatedAt: z.iso.datetime({ offset: true })
|
|
801
|
+
createdAt: z$1.iso.datetime({ offset: true }),
|
|
802
|
+
updatedAt: z$1.iso.datetime({ offset: true })
|
|
802
803
|
});
|
|
803
|
-
const daemonServiceUpdateJobBodySchema = z.strictObject({
|
|
804
|
-
attempts: z.number().int().nonnegative(),
|
|
805
|
-
desiredState: z.enum(["background", "stopped"]),
|
|
806
|
-
errorMessage: z.string().min(1).nullable(),
|
|
807
|
-
jobId: z.string().min(1),
|
|
804
|
+
const daemonServiceUpdateJobBodySchema = z$1.strictObject({
|
|
805
|
+
attempts: z$1.number().int().nonnegative(),
|
|
806
|
+
desiredState: z$1.enum(["background", "stopped"]),
|
|
807
|
+
errorMessage: z$1.string().min(1).nullable(),
|
|
808
|
+
jobId: z$1.string().min(1),
|
|
808
809
|
preparedBundle: daemonServiceUpdatePreparedBundleSchema,
|
|
809
|
-
requestedAt: z.iso.datetime({ offset: true }),
|
|
810
|
-
targetVersion: z.string().min(1),
|
|
811
|
-
updatedAt: z.iso.datetime({ offset: true }),
|
|
812
|
-
urgency: z.enum(["available", "required"])
|
|
810
|
+
requestedAt: z$1.iso.datetime({ offset: true }),
|
|
811
|
+
targetVersion: z$1.string().min(1),
|
|
812
|
+
updatedAt: z$1.iso.datetime({ offset: true }),
|
|
813
|
+
urgency: z$1.enum(["available", "required"])
|
|
813
814
|
});
|
|
814
815
|
const daemonServiceUpdateJobV1Schema = daemonServiceUpdateJobBodySchema.extend({
|
|
815
|
-
v: z.literal(1),
|
|
816
|
-
schema: z.literal("openmeld-daemon-service-update-job-v1"),
|
|
817
|
-
status: z.enum([
|
|
816
|
+
v: z$1.literal(1),
|
|
817
|
+
schema: z$1.literal("openmeld-daemon-service-update-job-v1"),
|
|
818
|
+
status: z$1.enum([
|
|
818
819
|
"scheduled",
|
|
819
820
|
"running",
|
|
820
821
|
"completed",
|
|
@@ -822,12 +823,12 @@ const daemonServiceUpdateJobV1Schema = daemonServiceUpdateJobBodySchema.extend({
|
|
|
822
823
|
])
|
|
823
824
|
});
|
|
824
825
|
const daemonServiceUpdateJobSchema = daemonServiceUpdateJobBodySchema.extend({
|
|
825
|
-
v: z.literal(2),
|
|
826
|
-
schema: z.literal(OPENMELD_DAEMON_SERVICE_UPDATE_JOB_SCHEMA),
|
|
826
|
+
v: z$1.literal(2),
|
|
827
|
+
schema: z$1.literal(OPENMELD_DAEMON_SERVICE_UPDATE_JOB_SCHEMA),
|
|
827
828
|
phase: openMeldToolsUpdateOperationPhaseSchema,
|
|
828
829
|
requestSource: openMeldToolsUpdateRequestSourceSchema
|
|
829
830
|
});
|
|
830
|
-
const storedDaemonServiceUpdateJobSchema = z.discriminatedUnion("v", [daemonServiceUpdateJobV1Schema, daemonServiceUpdateJobSchema]);
|
|
831
|
+
const storedDaemonServiceUpdateJobSchema = z$1.discriminatedUnion("v", [daemonServiceUpdateJobV1Schema, daemonServiceUpdateJobSchema]);
|
|
831
832
|
//#endregion
|
|
832
833
|
//#region ../../packages/schemas/dist/schemas/http/cli-binary-manifest.js
|
|
833
834
|
const SHA256_HEX_PATTERN = /^[a-f0-9]{64}$/u;
|
|
@@ -842,50 +843,50 @@ function isBase64(value) {
|
|
|
842
843
|
}
|
|
843
844
|
return true;
|
|
844
845
|
}
|
|
845
|
-
const cliBinaryArtifactSchema = z.object({
|
|
846
|
-
sha256: z.string().regex(SHA256_HEX_PATTERN),
|
|
847
|
-
sizeBytes: z.number().int().positive(),
|
|
848
|
-
url: z.url()
|
|
846
|
+
const cliBinaryArtifactSchema = z$1.object({
|
|
847
|
+
sha256: z$1.string().regex(SHA256_HEX_PATTERN),
|
|
848
|
+
sizeBytes: z$1.number().int().positive(),
|
|
849
|
+
url: z$1.url()
|
|
849
850
|
});
|
|
850
|
-
const cliBinaryArchiveTransportSchema = z.object({
|
|
851
|
-
archiveFormat: z.literal("gzip"),
|
|
852
|
-
archiveSha256: z.string().regex(SHA256_HEX_PATTERN),
|
|
853
|
-
archiveSizeBytes: z.number().int().positive(),
|
|
854
|
-
archiveUrl: z.url()
|
|
851
|
+
const cliBinaryArchiveTransportSchema = z$1.object({
|
|
852
|
+
archiveFormat: z$1.literal("gzip"),
|
|
853
|
+
archiveSha256: z$1.string().regex(SHA256_HEX_PATTERN),
|
|
854
|
+
archiveSizeBytes: z$1.number().int().positive(),
|
|
855
|
+
archiveUrl: z$1.url()
|
|
855
856
|
});
|
|
856
857
|
cliBinaryArtifactSchema.extend(cliBinaryArchiveTransportSchema.shape);
|
|
857
|
-
const cliBinaryDeltaPatchSchema = z.object({
|
|
858
|
-
baseSha256: z.string().regex(SHA256_HEX_PATTERN),
|
|
859
|
-
baseSizeBytes: z.number().int().positive(),
|
|
860
|
-
blockSizeBytes: z.literal(4096),
|
|
861
|
-
patchFormat: z.literal("block-ranges-v1"),
|
|
862
|
-
schemaVersion: z.literal(1),
|
|
863
|
-
segments: z.array(z.object({
|
|
864
|
-
dataBase64: z.string().min(4).refine(isBase64, "invalid base64"),
|
|
865
|
-
offset: z.number().int().nonnegative()
|
|
858
|
+
const cliBinaryDeltaPatchSchema = z$1.object({
|
|
859
|
+
baseSha256: z$1.string().regex(SHA256_HEX_PATTERN),
|
|
860
|
+
baseSizeBytes: z$1.number().int().positive(),
|
|
861
|
+
blockSizeBytes: z$1.literal(4096),
|
|
862
|
+
patchFormat: z$1.literal("block-ranges-v1"),
|
|
863
|
+
schemaVersion: z$1.literal(1),
|
|
864
|
+
segments: z$1.array(z$1.object({
|
|
865
|
+
dataBase64: z$1.string().min(4).refine(isBase64, "invalid base64"),
|
|
866
|
+
offset: z$1.number().int().nonnegative()
|
|
866
867
|
})).max(1e5),
|
|
867
|
-
targetSha256: z.string().regex(SHA256_HEX_PATTERN),
|
|
868
|
-
targetSizeBytes: z.number().int().positive()
|
|
868
|
+
targetSha256: z$1.string().regex(SHA256_HEX_PATTERN),
|
|
869
|
+
targetSizeBytes: z$1.number().int().positive()
|
|
869
870
|
});
|
|
870
|
-
const cliBinaryDeltaTransportSchema = z.object({
|
|
871
|
-
fromSha256: z.string().regex(SHA256_HEX_PATTERN),
|
|
872
|
-
fromSizeBytes: z.number().int().positive(),
|
|
873
|
-
fromVersion: z.string().trim().min(1),
|
|
874
|
-
patchCompression: z.literal("gzip"),
|
|
875
|
-
patchFormat: z.literal("block-ranges-v1"),
|
|
876
|
-
patchPayloadSizeBytes: z.number().int().positive(),
|
|
877
|
-
patchSha256: z.string().regex(SHA256_HEX_PATTERN),
|
|
878
|
-
patchSizeBytes: z.number().int().positive(),
|
|
879
|
-
patchUrl: z.url()
|
|
871
|
+
const cliBinaryDeltaTransportSchema = z$1.object({
|
|
872
|
+
fromSha256: z$1.string().regex(SHA256_HEX_PATTERN),
|
|
873
|
+
fromSizeBytes: z$1.number().int().positive(),
|
|
874
|
+
fromVersion: z$1.string().trim().min(1),
|
|
875
|
+
patchCompression: z$1.literal("gzip"),
|
|
876
|
+
patchFormat: z$1.literal("block-ranges-v1"),
|
|
877
|
+
patchPayloadSizeBytes: z$1.number().int().positive(),
|
|
878
|
+
patchSha256: z$1.string().regex(SHA256_HEX_PATTERN),
|
|
879
|
+
patchSizeBytes: z$1.number().int().positive(),
|
|
880
|
+
patchUrl: z$1.url()
|
|
880
881
|
});
|
|
881
882
|
const cliBinaryReleaseSchema = cliBinaryArtifactSchema.extend({
|
|
882
883
|
archiveFormat: cliBinaryArchiveTransportSchema.shape.archiveFormat.optional(),
|
|
883
884
|
archiveSha256: cliBinaryArchiveTransportSchema.shape.archiveSha256.optional(),
|
|
884
885
|
archiveSizeBytes: cliBinaryArchiveTransportSchema.shape.archiveSizeBytes.optional(),
|
|
885
886
|
archiveUrl: cliBinaryArchiveTransportSchema.shape.archiveUrl.optional(),
|
|
886
|
-
codeIdentifier: z.string().trim().min(1).optional(),
|
|
887
|
-
deltas: z.array(cliBinaryDeltaTransportSchema).max(8).optional(),
|
|
888
|
-
teamIdentifier: z.string().trim().min(1).optional()
|
|
887
|
+
codeIdentifier: z$1.string().trim().min(1).optional(),
|
|
888
|
+
deltas: z$1.array(cliBinaryDeltaTransportSchema).max(8).optional(),
|
|
889
|
+
teamIdentifier: z$1.string().trim().min(1).optional()
|
|
889
890
|
}).superRefine((release, context) => {
|
|
890
891
|
const archiveFields = [
|
|
891
892
|
release.archiveFormat,
|
|
@@ -914,51 +915,51 @@ const cliBinaryReleaseSchema = cliBinaryArtifactSchema.extend({
|
|
|
914
915
|
deltaBases.add(baseKey);
|
|
915
916
|
}
|
|
916
917
|
});
|
|
917
|
-
const cliBinaryManifestSchema = z.object({
|
|
918
|
-
channels: z.object({ stable: z.object({
|
|
919
|
-
minRequiredCliVersion: z.string().trim().min(1).nullable().optional(),
|
|
920
|
-
platforms: z.record(z.string().trim().min(1), cliBinaryReleaseSchema).refine((platforms) => Object.keys(platforms).length > 0, { message: "at least one platform is required" }),
|
|
921
|
-
version: z.string().trim().min(1)
|
|
918
|
+
const cliBinaryManifestSchema = z$1.object({
|
|
919
|
+
channels: z$1.object({ stable: z$1.object({
|
|
920
|
+
minRequiredCliVersion: z$1.string().trim().min(1).nullable().optional(),
|
|
921
|
+
platforms: z$1.record(z$1.string().trim().min(1), cliBinaryReleaseSchema).refine((platforms) => Object.keys(platforms).length > 0, { message: "at least one platform is required" }),
|
|
922
|
+
version: z$1.string().trim().min(1)
|
|
922
923
|
}) }),
|
|
923
|
-
schemaVersion: z.literal(1)
|
|
924
|
+
schemaVersion: z$1.literal(1)
|
|
924
925
|
});
|
|
925
926
|
//#endregion
|
|
926
927
|
//#region ../../packages/schemas/dist/schemas/http/daemon-route-observation.js
|
|
927
|
-
const daemonRouteObservationRouteSchema = z.discriminatedUnion("online", [z.strictObject({
|
|
928
|
-
online: z.literal(true),
|
|
929
|
-
daemonSessionId: z.string().min(1),
|
|
930
|
-
deviceId: z.string().min(1),
|
|
928
|
+
const daemonRouteObservationRouteSchema = z$1.discriminatedUnion("online", [z$1.strictObject({
|
|
929
|
+
online: z$1.literal(true),
|
|
930
|
+
daemonSessionId: z$1.string().min(1),
|
|
931
|
+
deviceId: z$1.string().min(1),
|
|
931
932
|
lane: daemonServiceLaneSchema,
|
|
932
|
-
serviceVersion: z.string().trim().min(1).nullable().optional(),
|
|
933
|
-
connectionGeneration: z.number().int().positive(),
|
|
934
|
-
leaseEpoch: z.number().int().positive(),
|
|
935
|
-
lastHeartbeatMs: z.number().int().nonnegative(),
|
|
933
|
+
serviceVersion: z$1.string().trim().min(1).nullable().optional(),
|
|
934
|
+
connectionGeneration: z$1.number().int().positive(),
|
|
935
|
+
leaseEpoch: z$1.number().int().positive(),
|
|
936
|
+
lastHeartbeatMs: z$1.number().int().nonnegative(),
|
|
936
937
|
capabilities: runtimeTransportCapabilitiesSchema,
|
|
937
938
|
executionCompatibility: daemonExecutionCompatibilitySchema,
|
|
938
939
|
localWakeRouteReport: localWakeRouteReportSchema.optional()
|
|
939
|
-
}), z.strictObject({
|
|
940
|
-
online: z.literal(false),
|
|
940
|
+
}), z$1.strictObject({
|
|
941
|
+
online: z$1.literal(false),
|
|
941
942
|
reasonCode: runtimeTransportErrorCodeSchema,
|
|
942
|
-
lastHeartbeatMs: z.number().int().nonnegative().optional(),
|
|
943
|
+
lastHeartbeatMs: z$1.number().int().nonnegative().optional(),
|
|
943
944
|
ownerService: runtimeTransportLookupRouteOwnerServiceEvidenceSchema.optional(),
|
|
944
945
|
executionCompatibility: daemonExecutionCompatibilitySchema.optional(),
|
|
945
946
|
localWakeRouteReport: localWakeRouteReportSchema.optional(),
|
|
946
947
|
rejectedProfileRegistration: runtimeTransportRejectedProfileRegistrationSchema.optional()
|
|
947
948
|
})]);
|
|
948
|
-
const daemonRouteObservationResponseSchema = z.strictObject({
|
|
949
|
-
observedAt: z.string().trim().min(1),
|
|
950
|
-
profileId: z.string().trim().min(1),
|
|
949
|
+
const daemonRouteObservationResponseSchema = z$1.strictObject({
|
|
950
|
+
observedAt: z$1.string().trim().min(1),
|
|
951
|
+
profileId: z$1.string().trim().min(1),
|
|
951
952
|
route: daemonRouteObservationRouteSchema
|
|
952
953
|
});
|
|
953
954
|
//#endregion
|
|
954
955
|
//#region ../../packages/schemas/dist/schemas/http/space-cursor.js
|
|
955
|
-
const patchCursorLastSeenTsSchema = z.number().int().finite().min(0);
|
|
956
|
-
const patchCursorStringSchema = z.string().transform((value) => value.trim());
|
|
956
|
+
const patchCursorLastSeenTsSchema = z$1.number().int().finite().min(0);
|
|
957
|
+
const patchCursorStringSchema = z$1.string().transform((value) => value.trim());
|
|
957
958
|
const patchCursorRoleSchema = patchCursorStringSchema.refine((value) => value.length <= MAX_TEXT_LENGTH$1, { message: "Role too long" });
|
|
958
959
|
const MENTION_ALIAS_MAX_LENGTH$1 = 128;
|
|
959
960
|
const MENTION_ALIAS_TOKEN_REGEX$3 = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
|
|
960
961
|
const patchCursorMentionAliasSchema = patchCursorStringSchema.refine((value) => value.length <= MENTION_ALIAS_MAX_LENGTH$1, { message: "MentionAlias too long" }).refine((value) => value.length === 0 || MENTION_ALIAS_TOKEN_REGEX$3.test(value), { message: "Invalid mentionAlias" });
|
|
961
|
-
const patchSpaceCursorBodySchema = z.strictObject({
|
|
962
|
+
const patchSpaceCursorBodySchema = z$1.strictObject({
|
|
962
963
|
lastSeenTs: patchCursorLastSeenTsSchema.optional(),
|
|
963
964
|
role: patchCursorRoleSchema.optional(),
|
|
964
965
|
mentionAlias: patchCursorMentionAliasSchema.optional()
|
|
@@ -1029,14 +1030,14 @@ function normalizeSpaceCursorPatch(input) {
|
|
|
1029
1030
|
}
|
|
1030
1031
|
//#endregion
|
|
1031
1032
|
//#region ../../packages/schemas/dist/schemas/space-mesh/continuity.js
|
|
1032
|
-
const continuitySchema = z.strictObject({
|
|
1033
|
-
messagesSinceThen: z.number().int().finite().min(0),
|
|
1034
|
-
higherAuthorityUpdates: z.boolean()
|
|
1033
|
+
const continuitySchema = z$1.strictObject({
|
|
1034
|
+
messagesSinceThen: z$1.number().int().finite().min(0),
|
|
1035
|
+
higherAuthorityUpdates: z$1.boolean()
|
|
1035
1036
|
});
|
|
1036
1037
|
//#endregion
|
|
1037
1038
|
//#region ../../packages/schemas/dist/schemas/space-mesh/dispatch-brief.js
|
|
1038
|
-
const briefLineSchema = z.preprocess(trimmedStringFromUnknown, z.string().min(1));
|
|
1039
|
-
const dispatchBriefSchema = z.strictObject({
|
|
1039
|
+
const briefLineSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1));
|
|
1040
|
+
const dispatchBriefSchema = z$1.strictObject({
|
|
1040
1041
|
activatedBy: briefLineSchema,
|
|
1041
1042
|
sourceMessage: briefLineSchema,
|
|
1042
1043
|
replyTarget: briefLineSchema,
|
|
@@ -17831,7 +17832,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
17831
17832
|
};
|
|
17832
17833
|
}
|
|
17833
17834
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
17834
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
17835
|
+
const { getAuthSessionMetadata } = await import("./auth-session-Bcfr1k3c.js").then((n) => n.t);
|
|
17835
17836
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
17836
17837
|
}
|
|
17837
17838
|
function resolveHostKey(baseUrl) {
|
|
@@ -20314,12 +20315,19 @@ async function resolveAlignedDaemonActiveBundleEntryPath(input = {}) {
|
|
|
20314
20315
|
}).resolvedEntryPath;
|
|
20315
20316
|
}
|
|
20316
20317
|
async function resolveCurrentDaemonFingerprintForState(state) {
|
|
20317
|
-
if (state?.bundleFormat === "binary_v1")
|
|
20318
|
+
if (state?.bundleFormat === "binary_v1") {
|
|
20319
|
+
const entryPath = await resolveDaemonBundleEntryPathFromState(state);
|
|
20320
|
+
return entryPath ? await hashDaemonBinaryFile(entryPath) : null;
|
|
20321
|
+
}
|
|
20318
20322
|
return await resolveCurrentDaemonSourceDistFingerprint();
|
|
20319
20323
|
}
|
|
20320
20324
|
async function resolveDaemonBundleEntryPathFromState(state, pathInput = {}) {
|
|
20321
20325
|
if (!state) return null;
|
|
20322
|
-
if (state.bundleFormat === "binary_v1")
|
|
20326
|
+
if (state.bundleFormat === "binary_v1") {
|
|
20327
|
+
const stableExecutablePath = daemonServiceExecutableWrapperPath(pathInput);
|
|
20328
|
+
if (await pathExists$5(stableExecutablePath)) return stableExecutablePath;
|
|
20329
|
+
return await pathExists$5(state.sourceEntryScriptPath) ? state.sourceEntryScriptPath : null;
|
|
20330
|
+
}
|
|
20323
20331
|
const entryPath = join(resolveDaemonBundleRootPath(state.bundleId, pathInput), state.entryScriptRelativePath);
|
|
20324
20332
|
return await pathExists$5(entryPath) ? entryPath : null;
|
|
20325
20333
|
}
|
|
@@ -20434,6 +20442,30 @@ async function hashDaemonBinaryFile(filePath) {
|
|
|
20434
20442
|
hash.update(await readFile(filePath));
|
|
20435
20443
|
return hash.digest("hex");
|
|
20436
20444
|
}
|
|
20445
|
+
async function ensureDaemonServiceStableBinaryExecutable(pathInput = {}) {
|
|
20446
|
+
const activeBundle = await readDaemonActiveBundleState();
|
|
20447
|
+
if (activeBundle?.bundleFormat !== "binary_v1") throw new Error("OpenMeld cannot prepare the stable macOS Service executable without an active binary bundle.");
|
|
20448
|
+
const sourcePath = activeBundle.sourceEntryScriptPath;
|
|
20449
|
+
const expectedFingerprint = activeBundle.sourceDistFingerprint ?? await hashDaemonBinaryFile(sourcePath);
|
|
20450
|
+
const stableExecutablePath = daemonServiceExecutableWrapperPath(pathInput);
|
|
20451
|
+
const stableExecutableStat = await lstat(stableExecutablePath).catch(() => null);
|
|
20452
|
+
if (stableExecutableStat?.isFile() === true && !stableExecutableStat.isSymbolicLink() && await hashDaemonBinaryFile(stableExecutablePath).catch(() => null) === expectedFingerprint) {
|
|
20453
|
+
await chmod(stableExecutablePath, 448);
|
|
20454
|
+
return stableExecutablePath;
|
|
20455
|
+
}
|
|
20456
|
+
await mkdir(dirname(stableExecutablePath), { recursive: true });
|
|
20457
|
+
const preparedPath = `${stableExecutablePath}.next-${String(process$1.pid)}`;
|
|
20458
|
+
await rm(preparedPath, { force: true });
|
|
20459
|
+
try {
|
|
20460
|
+
await copyFile(sourcePath, preparedPath);
|
|
20461
|
+
await chmod(preparedPath, 448);
|
|
20462
|
+
if (await hashDaemonBinaryFile(preparedPath) !== expectedFingerprint) throw new Error("OpenMeld could not verify the prepared stable macOS Service executable.");
|
|
20463
|
+
await rename(preparedPath, stableExecutablePath);
|
|
20464
|
+
return stableExecutablePath;
|
|
20465
|
+
} finally {
|
|
20466
|
+
await rm(preparedPath, { force: true }).catch(() => void 0);
|
|
20467
|
+
}
|
|
20468
|
+
}
|
|
20437
20469
|
async function verifyDaemonActiveBundleIntegrity(activeBundle) {
|
|
20438
20470
|
const expectedFingerprint = activeBundle.sourceDistFingerprint?.trim();
|
|
20439
20471
|
if (!expectedFingerprint || activeBundle.bundleFormat === "legacy_linked_v1") return false;
|
|
@@ -22648,7 +22680,17 @@ async function resolveUnguardedDaemonServiceManager(controller, pathInput = {})
|
|
|
22648
22680
|
//#region src/local-service/lifecycle/daemon-service-manager-command-match.ts
|
|
22649
22681
|
function matchesExpectedDaemonServiceManagerCommand(input) {
|
|
22650
22682
|
if (input.controller === "windows-service") return typeof input.definitionPath === "string" && input.definitionPath.length > 0 && input.commandSummary.includes(input.definitionPath);
|
|
22651
|
-
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary")
|
|
22683
|
+
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary") {
|
|
22684
|
+
if (input.controller === "launchd") {
|
|
22685
|
+
const stableExecutablePath = daemonServiceExecutableWrapperPath(input.pathInput);
|
|
22686
|
+
return [
|
|
22687
|
+
`${stableExecutablePath} service run`,
|
|
22688
|
+
`"${stableExecutablePath}" service run`,
|
|
22689
|
+
`'${stableExecutablePath}' service run`
|
|
22690
|
+
].some((expectedPrefix) => input.commandSummary.includes(expectedPrefix));
|
|
22691
|
+
}
|
|
22692
|
+
return containsOpenMeldManagedBinaryPath(input.commandSummary, input.pathInput);
|
|
22693
|
+
}
|
|
22652
22694
|
return resolveExpectedDaemonServiceManagerCommandPaths({
|
|
22653
22695
|
controller: input.controller,
|
|
22654
22696
|
includeLegacyExecutableWrappers: input.includeLegacyExecutableWrappers === true,
|
|
@@ -22659,7 +22701,13 @@ async function matchesExpectedDaemonServiceManagerDefinition(input) {
|
|
|
22659
22701
|
if (typeof input.definitionPath !== "string" || input.definitionPath.trim().length === 0) return false;
|
|
22660
22702
|
const definition = await readFile(input.definitionPath, "utf8").catch(() => null);
|
|
22661
22703
|
if (definition === null) return false;
|
|
22662
|
-
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary")
|
|
22704
|
+
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary") {
|
|
22705
|
+
if (input.controller === "launchd") {
|
|
22706
|
+
const stableExecutablePath = daemonServiceExecutableWrapperPath(input.pathInput);
|
|
22707
|
+
return definition.includes(`<string>${stableExecutablePath}</string>`);
|
|
22708
|
+
}
|
|
22709
|
+
return containsOpenMeldManagedBinaryPath(definition, input.pathInput);
|
|
22710
|
+
}
|
|
22663
22711
|
return resolveExpectedDaemonServiceManagerCommandPaths({
|
|
22664
22712
|
controller: input.controller ?? null,
|
|
22665
22713
|
pathInput: input.pathInput
|
|
@@ -37175,9 +37223,9 @@ function createModelCatalogReadSession(input) {
|
|
|
37175
37223
|
async function readModelCatalogOnce(baseUrl) {
|
|
37176
37224
|
try {
|
|
37177
37225
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
37178
|
-
import("./dist-
|
|
37179
|
-
import("./base-url-
|
|
37180
|
-
import("./api-client-foundation-
|
|
37226
|
+
import("./dist-Bypn86JC.js").then((n) => n.w),
|
|
37227
|
+
import("./base-url-PkgATS5u.js").then((n) => n.n),
|
|
37228
|
+
import("./api-client-foundation-DhvXlRGR.js").then((n) => n.t)
|
|
37181
37229
|
]);
|
|
37182
37230
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
37183
37231
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -42594,7 +42642,7 @@ function buildDaemonSystemServiceCommandSpec(input) {
|
|
|
42594
42642
|
}
|
|
42595
42643
|
function resolveDaemonServiceExecutable(input) {
|
|
42596
42644
|
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary") return {
|
|
42597
|
-
executable: input.binaryExecutablePath ?? openMeldManagedVersionBinaryPath(resolveCliSelfVersion()),
|
|
42645
|
+
executable: input.controller === "launchd" ? daemonServiceExecutableWrapperPath() : input.binaryExecutablePath ?? openMeldManagedVersionBinaryPath(resolveCliSelfVersion()),
|
|
42598
42646
|
specArgs: input.args
|
|
42599
42647
|
};
|
|
42600
42648
|
const launcherPath = daemonServiceLauncherPath();
|
|
@@ -42608,7 +42656,10 @@ function resolveDaemonServiceExecutable(input) {
|
|
|
42608
42656
|
};
|
|
42609
42657
|
}
|
|
42610
42658
|
async function ensureDaemonSystemServiceCommandFiles(input) {
|
|
42611
|
-
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary")
|
|
42659
|
+
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary") {
|
|
42660
|
+
if (input.controller === "launchd") await ensureDaemonServiceStableBinaryExecutable();
|
|
42661
|
+
return;
|
|
42662
|
+
}
|
|
42612
42663
|
await writeDaemonServiceLauncher();
|
|
42613
42664
|
if (input.controller === "launchd") await writeDaemonServiceExecutableWrapper();
|
|
42614
42665
|
}
|
|
@@ -44379,9 +44430,9 @@ async function buildDaemonServiceUpdateWorkerSpec(job, pathInput = {}) {
|
|
|
44379
44430
|
controller: mainManager.controller,
|
|
44380
44431
|
...job.preparedBundle.bundleFormat === "binary_v1" ? { binaryExecutablePath: job.preparedBundle.sourceEntryScriptPath } : {}
|
|
44381
44432
|
});
|
|
44382
|
-
const targetEntryPath = await resolveDaemonBundleEntryPathFromState(job.preparedBundle);
|
|
44383
|
-
if (!targetEntryPath) throw new Error("OpenMeld could not resolve the prepared Service update executable.");
|
|
44384
44433
|
const binaryDistribution = job.preparedBundle.bundleFormat === "binary_v1";
|
|
44434
|
+
const targetEntryPath = binaryDistribution ? job.preparedBundle.sourceEntryScriptPath : await resolveDaemonBundleEntryPathFromState(job.preparedBundle);
|
|
44435
|
+
if (!targetEntryPath) throw new Error("OpenMeld could not resolve the prepared Service update executable.");
|
|
44385
44436
|
return {
|
|
44386
44437
|
args: binaryDistribution ? ["service", "update-worker"] : [
|
|
44387
44438
|
targetEntryPath,
|
|
@@ -59338,6 +59389,9 @@ function startOpenMeldToolsAutomaticUpdateLoop(input) {
|
|
|
59338
59389
|
async function readOpenMeldToolsMaintenancePolicy() {
|
|
59339
59390
|
return await getConfiguredOpenMeldToolsMaintenance();
|
|
59340
59391
|
}
|
|
59392
|
+
async function writeOpenMeldToolsMaintenancePolicy(policy) {
|
|
59393
|
+
await setConfiguredOpenMeldToolsMaintenance(policy);
|
|
59394
|
+
}
|
|
59341
59395
|
async function resolveOpenMeldToolsMaintenanceProjection() {
|
|
59342
59396
|
try {
|
|
59343
59397
|
return {
|
|
@@ -64744,6 +64798,10 @@ function resolveDaemonCapabilities(input) {
|
|
|
64744
64798
|
localAgentInteraction: true,
|
|
64745
64799
|
...input.profileConfigurationRevision === true ? { profileConfigurationRevision: true } : {},
|
|
64746
64800
|
...input.localComponentsStatus ? { localComponents: input.localComponentsStatus } : {},
|
|
64801
|
+
openMeldToolsControl: {
|
|
64802
|
+
requestUpdate: true,
|
|
64803
|
+
setAutomaticUpdates: true
|
|
64804
|
+
},
|
|
64747
64805
|
localAgentControl: {
|
|
64748
64806
|
cancel: true,
|
|
64749
64807
|
forkSession: true,
|
|
@@ -65199,6 +65257,30 @@ function buildResultFrame$1(frame, result) {
|
|
|
65199
65257
|
});
|
|
65200
65258
|
}
|
|
65201
65259
|
//#endregion
|
|
65260
|
+
//#region src/local-service/maintenance/openmeld-tools-control-handler.ts
|
|
65261
|
+
async function handleOpenMeldToolsControlRequest(input) {
|
|
65262
|
+
if (input.request.operation === "request_update") return {
|
|
65263
|
+
operation: "request_update",
|
|
65264
|
+
result: input.coordinator ? await input.coordinator.requestUpdate({ requestSource: input.request.requestSource }) : { status: "unavailable" }
|
|
65265
|
+
};
|
|
65266
|
+
const current = await readOpenMeldToolsMaintenancePolicy();
|
|
65267
|
+
if (current.automaticUpdatesEnabled === input.request.automaticUpdatesEnabled) return {
|
|
65268
|
+
operation: "set_automatic_updates",
|
|
65269
|
+
result: {
|
|
65270
|
+
automaticUpdatesEnabled: current.automaticUpdatesEnabled,
|
|
65271
|
+
status: "unchanged"
|
|
65272
|
+
}
|
|
65273
|
+
};
|
|
65274
|
+
await writeOpenMeldToolsMaintenancePolicy({ automaticUpdatesEnabled: input.request.automaticUpdatesEnabled });
|
|
65275
|
+
return {
|
|
65276
|
+
operation: "set_automatic_updates",
|
|
65277
|
+
result: {
|
|
65278
|
+
automaticUpdatesEnabled: input.request.automaticUpdatesEnabled,
|
|
65279
|
+
status: "updated"
|
|
65280
|
+
}
|
|
65281
|
+
};
|
|
65282
|
+
}
|
|
65283
|
+
//#endregion
|
|
65202
65284
|
//#region src/local-service/projects/local-project-activity-sync.ts
|
|
65203
65285
|
function didLocalProjectConnectionsChange(frame) {
|
|
65204
65286
|
switch (frame.code) {
|
|
@@ -73215,6 +73297,43 @@ async function runDaemonSocketSession(input) {
|
|
|
73215
73297
|
}
|
|
73216
73298
|
return false;
|
|
73217
73299
|
};
|
|
73300
|
+
const handleOpenMeldToolsControlFrame = (frame) => {
|
|
73301
|
+
if (frame.code !== "daemon.openmeld_tools_control.request") return false;
|
|
73302
|
+
const parsed = runtimeTransportOpenMeldToolsControlFramePayloadSchema.safeParse(frame.payload);
|
|
73303
|
+
if (!parsed.success) {
|
|
73304
|
+
emitRunLine({
|
|
73305
|
+
presenter: input.presenter,
|
|
73306
|
+
code: "daemon.run.openmeld_tools_control_invalid",
|
|
73307
|
+
text: "OpenMeld Tools control request was invalid."
|
|
73308
|
+
});
|
|
73309
|
+
return true;
|
|
73310
|
+
}
|
|
73311
|
+
handleOpenMeldToolsControlRequest({
|
|
73312
|
+
coordinator: input.openMeldToolsUpdateCoordinator,
|
|
73313
|
+
request: parsed.data.request
|
|
73314
|
+
}).then((result) => {
|
|
73315
|
+
const payload = runtimeTransportOpenMeldToolsControlResultFramePayloadSchema.parse({
|
|
73316
|
+
requestId: parsed.data.requestId,
|
|
73317
|
+
result
|
|
73318
|
+
});
|
|
73319
|
+
sendDaemonFrame(input.socket, {
|
|
73320
|
+
code: "daemon.openmeld_tools_control.result",
|
|
73321
|
+
payload
|
|
73322
|
+
});
|
|
73323
|
+
scheduleHeartbeat({
|
|
73324
|
+
delayMs: 0,
|
|
73325
|
+
reason: "openmeld_tools_control_changed"
|
|
73326
|
+
});
|
|
73327
|
+
}).catch((error) => {
|
|
73328
|
+
emitRunLine({
|
|
73329
|
+
presenter: input.presenter,
|
|
73330
|
+
code: "daemon.run.openmeld_tools_control_failed",
|
|
73331
|
+
text: `OpenMeld Tools control failed: ${toErrorMessage$31(error)}`
|
|
73332
|
+
});
|
|
73333
|
+
});
|
|
73334
|
+
return true;
|
|
73335
|
+
};
|
|
73336
|
+
const handleServiceControlFrame = (frame) => handleOpenMeldToolsControlFrame(frame) || handleLocalAgentRegistrationControlFrame(frame);
|
|
73218
73337
|
input.socket.onMessage((raw) => {
|
|
73219
73338
|
if (raw === "pong") {
|
|
73220
73339
|
keepalive.observePong();
|
|
@@ -73242,7 +73361,7 @@ async function runDaemonSocketSession(input) {
|
|
|
73242
73361
|
});
|
|
73243
73362
|
return;
|
|
73244
73363
|
}
|
|
73245
|
-
if (
|
|
73364
|
+
if (handleServiceControlFrame(parsedFrame)) return;
|
|
73246
73365
|
if (parsedFrame.code === "daemon.local_agent_control.refresh_catalog") {
|
|
73247
73366
|
handleLocalAgentControlRefreshCatalogFrame(parsedFrame.payload).catch((error) => {
|
|
73248
73367
|
emitRunLine({
|
|
@@ -74076,13 +74195,14 @@ const runDaemonServiceLoop = async (input) => {
|
|
|
74076
74195
|
});
|
|
74077
74196
|
}
|
|
74078
74197
|
});
|
|
74198
|
+
const openMeldToolsUpdateCoordinator = createOpenMeldToolsUpdateCoordinator({ reportBackgroundError: (error) => {
|
|
74199
|
+
warnDaemonEvent("[openmeld.tools.update_failed]", {
|
|
74200
|
+
event: "cli.openmeld_tools.update_failed",
|
|
74201
|
+
errorMessage: toErrorMessage$31(error)
|
|
74202
|
+
});
|
|
74203
|
+
} });
|
|
74079
74204
|
const stopOpenMeldToolsAutomaticUpdates = startOpenMeldToolsAutomaticUpdateLoop({
|
|
74080
|
-
coordinator:
|
|
74081
|
-
warnDaemonEvent("[openmeld.tools.update_failed]", {
|
|
74082
|
-
event: "cli.openmeld_tools.update_failed",
|
|
74083
|
-
errorMessage: toErrorMessage$31(error)
|
|
74084
|
-
});
|
|
74085
|
-
} }),
|
|
74205
|
+
coordinator: openMeldToolsUpdateCoordinator,
|
|
74086
74206
|
onError: (error) => {
|
|
74087
74207
|
warnDaemonEvent("[openmeld.tools.automatic_update_failed]", {
|
|
74088
74208
|
event: "cli.openmeld_tools.automatic_update_failed",
|
|
@@ -74234,6 +74354,7 @@ const runDaemonServiceLoop = async (input) => {
|
|
|
74234
74354
|
},
|
|
74235
74355
|
onAgentActivitySessionsChanged: requestAgentActivitySync,
|
|
74236
74356
|
onLocalProjectConnectionsChanged: refreshAgentActivityForProjectConnectionChange,
|
|
74357
|
+
openMeldToolsUpdateCoordinator,
|
|
74237
74358
|
ownerUserId,
|
|
74238
74359
|
profileOwnerName,
|
|
74239
74360
|
presenter: input.presenter,
|
|
@@ -108088,4 +108209,4 @@ function isHumanInteractiveSpaceRuntime(runtime) {
|
|
|
108088
108209
|
//#endregion
|
|
108089
108210
|
export { runAgentsRepair as $, installAgentActivityIntegrations as $a, readDaemonServiceJobCrashExitCode as $i, formatDaemonServiceMissingRecommendation as $n, resolveOpenClawLocalDiagnosticsValue as $r, readBundledOpenMeldCliSkillDocumentByPath as $t, assertFullSignalIdArgument as A, updateOpenMeldProfile as Aa, resolveNativeAgentControllerPermissionModeForController as Ai, upsertSpaceConfig as An, setDefaultProjectConnection as Ao, DualViewGuideError as Ar, shouldEmitAgentOverview as At, persistAgentTransportSelection as B, resolveAuthenticationGuidanceFromMessage as Ba, assessServerRequiredVersion as Bi, promptSearchMultiselect as Bn, outJsonLine as Bo, runPendingDaemonServiceUpdate as Br, parseJsonResponse$1 as Bt, toSpaceMetaUpsertInput as C, resolveOpenMeldProfileOrNull as Ca, getAgentControllerPermissionModeFieldLabel as Ci, submitRuntimeAgentControllerReport as Cn, removeProjectOutbox as Co, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as Cr, runDaemonTeardownStrict as Ct, formatHumanReadTargetList as D, listOpenMeldProfiles as Da, resolveAgentExecutionStatus as Di, resolveLocalAgentControllerLaunchability as Dn, migrateProjectBindingStore as Do, registerAuthLoginRequestOptions as Dr, reconcileCliVersionView as Dt, buildHumanReplyContextSummary as E, deleteOpenMeldProfile as Ea, resolveAgentControllerPermissionModeForController as Ei, resolveLocalAgentControllerBlockerReasonCodes as En, listProjectConnectionsWithStatus as Eo, registerDaemonControlTargetOptions as Er, buildProfileWorkspaceRows as Et, emitSpaceAgentOverview as F, buildAgentAuthenticationGuide as Fa, buildDaemonServiceTargetSpec as Fi, buildSignalMessageReadProjection as Fn, renderInfoCard as Fo, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as Fr, fetchSpaceMeta as Ft, runAgentsCustomList as G, LocalDaemonControlPlaneClientError as Ga, resetCurrentCommandCheckState as Gi, isCliUpdateCheckApplicable as Gn, cliJsonSkillsLoadEnvelopeSchema as Go, resolveServiceReadinessFromServiceStatus as Gr, runDaemonStartDecisionPrompt as Gt, runAgents as H, setProfileDefaultView as Ha, finishCurrentCommandCheckScope as Hi, isReturnKeypress as Hn, cliBinaryDeltaPatchSchema as Ho, ensureDaemonRuntimePaths as Hr, writeInstalledLocalComponentsSnapshot as Ht, emitSpaceCliAgentOverview as I, buildHumanAuthenticationCard as Ia, resolveDaemonServiceAlignmentDecision as Ii, buildSpaceRoundReadProjection as In, renderTextInfoCard as Io, areAllowedActionsEquivalent as Ir, updateSpaceMeta as It, runAgentsDetect as J, registerAgentActivityRoute as Ja, resolveVersionChangeDirection as Ji, readDispatchSpaceActionContextFromEnv as Jn, organizationJoinLinkErrorResponseSchema as Jo, formatAgentReplyReadinessLabel as Jr, runSkillsEnsure as Jt, runAgentsCustomRemove as K, requestLocalAgentActivitySync as Ka, startCurrentCommandCheckScope as Ki, assertDispatchOwnedRuntimePublicWriteAllowed as Kn, cliJsonSkillsShowEnvelopeSchema as Ko, resolveDaemonServiceFreshnessWarning as Kr, collectSkillsReadinessSnapshot as Kt, prepareLocalAgentReadiness as L, createAuthenticationError as La, classifyDaemonServiceRunStartability as Li, buildUpdatesReplyWorkflowProjection as Ln, sanitizeTerminalDisplayText as Lo, buildAgentFacingPublicationModeGuideLines as Lr, readGatewayJsonResponse as Lt, prepareAuthenticatedSpaceCommandContext as M, clearSelectedOpenMeldProfileId as Ma, buildDaemonRouteObservationPresentation as Mi, buildDispatchResultMessageReadProjection as Mn, canonicalizeLocalProjectPath as Mo, buildDualViewGuideMessage as Mr, readDaemonStartFailureLogTailLines as Mt, resolveOpenMeldProfileForSpaceCommand as N, getSelectedOpenMeldProfileId as Na, buildOnboardingPlan as Ni, buildDispatchResultReplyWorkflowProjection as Nn, enqueueControllerTaskLifecycleEventWhileLocked as No, formatAgentOverviewPayload as Nr, fetchSpaceUpdates as Nt, parseEnvelope as O, primeOpenMeldProfilesSessionCache as Oa, resolveAgentProfileEditCapabilities as Oi, resolveLocalAgentControllerReportDecision as On, removeProjectConnection as Oo, registerBuiltinAgentSelectionOptions as Or, emitDaemonAgentOverview as Ot, resolveSpaceAccessLabel as P, setSelectedOpenMeldProfileId as Pa, getSetupFlowCopy as Pi, buildSignalIndex as Pn, readControllerTaskLifecycleOutboxHealth as Po, OPENMELD_AGENT_MENTAL_MODEL_LINES as Pr, createCliSpaceApi as Pt, runAgentsManage as Q, defaultManagedIntegrationPaths as Qa, isDaemonServiceJobNeverSpawned as Qi, formatDaemonServiceDowngradeBlockedRecommendation as Qn, resolveGatewayChainReadiness as Qr, ensureLocalSkills as Qt, buildReplyReadinessGuidance as R, resolveAuthenticationGuidance as Ra, classifyDaemonServiceWakeability as Ri, createSpaceMemberIdentityIndex as Rn, emitCliJsonEnvelope as Ro, canonicalizeAllowedActions as Rr, readGatewayTextResponse as Rt, loadSpaceSignalIndexOrNull as S, requireOpenMeldProfile as Sa, getAgentControllerPermissionModeDisplayMetadata as Si, submitProfileRuntimeAgentControllerReport as Sn, readAgentActivityOutboxHealth as So, registerSpaceMemberSelectionOptions as Sr, runDaemonStop as St, buildFormalSignalReadPayload as T, createOpenMeldHumanProfile as Ta, parseAgentControllerRef as Ti, collectLocalAgentControllerInventory as Tn, listProjectBindings as To, getCliVersionInfo as Tr, buildProfileWorkspacePresentation as Tt, runAgentsConfig as U, LocalProjectConnectionError as Ua, getCurrentCommandCheckState as Ui, runInteractivePrompt as Un, cliJsonOutputEnvelopeSchema as Uo, resolveDaemonDeviceId as Ur, resolveDaemonServiceParticipationStatus as Ut, resolveAgentProfileSetup as V, getProfileDefaultView as Va, resolveOpenMeldEnvironmentTarget as Vi, promptSearchSelect as Vn, outLine as Vo, scheduleDaemonServiceUpdate as Vr, resolveLocalComponentsStatus as Vt, runAgentsCustomAdd as W, validateLocalProjectConnectionPath as Wa, isCurrentCommandCheckScopeActive as Wi, assessCliUpdate as Wn, cliJsonSkillsListEnvelopeSchema as Wo, formatDaemonFailureContextText as Wr, runDaemonServiceParticipationGate as Wt, runAgentsEnable as X, unregisterAgentActivityRoute as Xa, readCurrentObservedDaemonRuntimeStatus as Xi, formatElapsedTime as Xn, compareAgentControllerRefsForDisplay as Xo, formatHumanReplyReadinessReason as Xr, runSkillsUninstall as Xt, runAgentsDisable as Y, resolveAgentActivityRouteForPath as Ya, readCurrentDaemonRuntimeContext as Yi, writeDispatchSpaceActionRecord as Yn, revokeOrganizationJoinLinkResponseSchema as Yo, formatDeviceReplyReadinessLabel as Yr, runSkillsInstall as Yt, runAgentsList as Z, AGENT_ACTIVITY_INTEGRATION_OWNER as Za, getDaemonSystemServiceLogPath as Zi, resolveElapsedTimeMs as Zn, package_default as Zo, mapAgentReplyReadinessToLegacyAutoReply as Zr, runSkillsUpdate as Zt, runSpaceWriteWithPasswordRetry as _, formatMessage as _a, listBuiltinAgentsRegistryEntries as _i, ensureAgentProfileRuntimeBinding as _n, resolveObservedAgentActivityBinding as _o, createStartAgentIdentityGuideError as _r, runDaemonInterrupt as _t, runSpaceDelete as a, ensureVersionStateReady as aa, normalizeCustomProfileWorkspacePath as ai, evaluateCommandAuthentication as an, formatOpenMeldCliCommands as ao, createResetConfirmationGuideError as ar, printOpenMeldBanner as at, buildIdentityOnlyMembersSnapshotForReadProjection as b, resolveViewProfileKey as ba, buildAgentControllerRef as bi, assessActionParticipationCandidate as bn, enqueueAgentActivityHookEvent as bo, getCommandEntryContract as br, runDaemonSnapshot as bt, runSpaceLeave as c, readVersionState as ca, setCustomProfileWorkspace as ci, runAuthMenu as cn, formatProfileAwareOpenMeldCliCommands as co, createSpaceContractSetGuideError as cr, renderOpenMeldLogo as ct, runSpaceRemoveMembers as d, toStartBackgroundHelperExecutionCompatibility as da, describeProfileWorkspacePathValidationFailure as di, buildAuthStatusSnapshot as dn, syncLocalAgentActivity as do, createSpacePublicationSetGuideError as dr, resolveSpaceSendText as dt, resolveDaemonServiceManager as ea, readRecentDaemonLifecycleEvents as ei, readRuntimeReportingHealthState as en, readAgentActivityIntegrationStatus as eo, canUseInteractivePrompts as er, runAgentsShow as et, runSpaceSend as f, resolveCurrentDaemonExpectedVersion as fa, syncDeviceRuntimeStateProjection as fi, formatActiveOrganizationLabel as fn, readDaemonServiceContract as fo, createSpaceRemoveMembersGuideError as fr, runDaemon as ft, runSpaceReadWithPasswordRetry as g, createPresenter as ga, reconcileNewRunnableBuiltinAgentsForSetup as gi, promptTextEntry as gn, buildAgentActivityEvent as go, createSpaceUpdatesGuideError as gr, runDaemonInstall as gt, uploadPreparedSpaceFiles as h, renderHumanTextErrorCard as ha, listAgentTargetStates as hi, resolveCreateProfileName as hn, removeAgentActivityContextCache as ho, createSpaceTargetGuideError as hr, runDaemonCancel as ht, runSpaceCreate as i, compareSemver as ia, ensureOpenMeldManagedProfileWorkspace as ii, ensureCommandAuthenticationOrCancel as in, formatOpenMeldCliCommand as io, createProfileMenuGuideError as ir, colorizeDisplayProfileLabel as it, assertValidSpaceIdTarget as j, alignSelectedOpenMeldProfileStorage as ja, PREPARE_SESSION_RECONNECT_GRACE_MS as ji, assertNoRemovedCcSpaceAddressingSyntax as jn, unbindProject as jo, formatDualViewGuideForDisplay as jr, runDaemonStartupPreflight as jt, isSpaceCommandOutputHandledError as k, resolveOpenMeldProfile as ka, resolveEvidenceSyncHealth as ki, inspectSpaceCacheFile as kn, runIfAgentActivityBindingGenerationIsCurrent as ko, buildAgentOverviewFromContract as kr, createDelayedSpinner as kt, runSpaceList as l, writeVersionState as la, setOpenMeldManagedProfileWorkspace as li, runAuthStatus as ln, resolveSetupFollowUpCliEntryCommand as lo, createSpaceLeaveGuideError as lr, renderOpenMeldTagline as lt, prepareRequestedSpaceSendFiles as m, renderHumanErrorCard as ma, resolveAgentProfilePrimaryAgentControllerReport as mi, resolveCreateProfileKind as mn, readAgentActivityContextForPath as mo, createSpaceSubcommandTargetGuideError as mr, runDaemonBackgroundStartForDecision as mt, promptAndConfirmSpacePassword as n, performManagedInstall as na, createModelCatalogReadSession as ni, connectWebSocket as nn, uninstallAgentActivityIntegrations as no, createProfileActionGuideError as nr, postLocalParticipationMutationReconcile as nt, runSpaceHistory as o, fetchLatestCliBinaryRelease as oa, readProfileWorkspaceConfig as oi, runAuthLogin as on, formatOpenMeldCliLine as oo, createSpaceAddMembersGuideError as or, renderOpenMeldBrandBlockLines as ot, runSpaceWatch as p, buildHumanErrorCopy as pa, createPrimaryBindingReadSession as pi, createProfileByKind as pn, upsertDaemonServiceContract as po, createSpaceResultGuideError as pr, runDaemonAutostart as pt, runAgentsCustomUpdate as q, isAgentActivityRouteRegistered as qa, inspectDaemonServiceInventory as qi, readDispatchOwnedRuntimeGuard as qn, getOrganizationJoinLinkResponseSchema as qo, resolveCurrentReplyReadinessSnapshot as qr, runSkillsCheck as qt, runSpaceAddMembers as r, buildNextVersionState as ra, resolveProfileWorkspaceRuntime as ri, buildCommandAuthenticationPromptMessage as rn, formatInlineOpenMeldCliCommands as ro, createProfileCreateGuideError as rr, colorizeAgentLabel as rt, runSpaceJoin as s, fetchLatestPackageInfo as sa, resolveConfiguredProfileWorkspacePath as si, runAuthLogout as sn, formatOpenMeldCliTextBlock as so, createSpaceAliasTargetGuideError as sr, renderOpenMeldHeader as st, buildCreateSpacePasswordPromptConfig as t, buildInstallSelfJsonPayload as ta, syncProfileWorkspaceState as ti, readRecentDaemonDispatchJournalEvents as tn, resolveAgentActivityDispatcherCommand as to, createDoctorFailedGuideError as tr, formatTransportModeDisplay as tt, runSpacePassword as u, resolveDaemonRuntimeContractCompatibility as ua, validateCustomProfileWorkspacePath as ui, buildAuthStatusRows as un, resolveUserFacingCliEntryCommand as uo, createSpaceMenuGuideError as ur, resolveGatewayWebOrigin as ut, buildHumanReadSignalsTranscriptItems as v, parseCliViewMode as va, notifyDaemonRouteCatalogChanged as vi, formatServiceParticipationReadinessLabel as vn, normalizeSharedSessionTitle as vo, createStartAuthenticationGuideError as vr, runDaemonReinstall as vt, buildFormalDispatchResultReadPayload as w, createOpenMeldAgentProfile as wa, listAgentControllerPermissionModeOptions as wi, submitRuntimeAgentControllerReports as wn, bindProject as wo, registerSkillsTargetSelectionOptions as wr, runDaemonUninstall as wt, loadSpaceIdentityDirectoryOrNull as x, isSelectedOpenMeldProfileRequiredError as xa, createAgentExecutionStatusDisplayRows as xi, computeRetryDelayMs as xn, removeProjectInbox as xo, getCommandHintsFromContract as xr, runDaemonStatusFlow as xt, emitHumanReadSignalsTextProjection as y, resolveRuntimeContext as ya, resolveLocalRegistryAgentIdFromAgentControllerRef as yi, resolveServiceParticipationReadiness as yn, readCodexSessionTitles as yo, createUpgradeConfirmationGuideError as yr, runDaemonRunAfterEntryChecks as yt, resolveHumanControllerDisplayName as z, resolveAuthenticationGuidanceFromError as za, resolveServiceUpdateUrgency as zi, formatRemovedCcRelationMessage as zn, errLine as zo, readOpenMeldToolsUpdateContextFromEnv as zr, toStructuredGatewayFailure as zt };
|
|
108090
108211
|
|
|
108091
|
-
//# sourceMappingURL=command-
|
|
108212
|
+
//# sourceMappingURL=command-DmVde7c-.js.map
|