openmeld 0.3.222 → 0.3.224
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-Wc69O6rA.js → add-me-membership-CGISMRPF.js} +2 -2
- package/dist/{add-me-membership-Wc69O6rA.js.map → add-me-membership-CGISMRPF.js.map} +1 -1
- package/dist/{agents-B8zhQnGw.js → agents-CR7BebgO.js} +12 -12
- package/dist/{agents-B8zhQnGw.js.map → agents-CR7BebgO.js.map} +1 -1
- package/dist/{api-client-foundation-DTiFoGpI.js → api-client-foundation-CqbIn_de.js} +1 -1
- package/dist/{api-client-foundation-DnJ_JYli.js → api-client-foundation-DpVwrgh-.js} +3 -3
- package/dist/{api-client-foundation-DnJ_JYli.js.map → api-client-foundation-DpVwrgh-.js.map} +1 -1
- package/dist/auth-session-BJfKu74u.js +4 -0
- package/dist/{auth-session-nhS8jyux.js → auth-session-uEk_Tx6T.js} +8 -8
- package/dist/auth-session-uEk_Tx6T.js.map +1 -0
- package/dist/{base-url-CMBApK1J.js → base-url-DXrUiSMI.js} +1 -1
- package/dist/{base-url-D7uE_xTo.js → base-url-DvjOkKPs.js} +2 -2
- package/dist/{base-url-D7uE_xTo.js.map → base-url-DvjOkKPs.js.map} +1 -1
- package/dist/{channel-ggx0o_aG.js → channel-B2fD2_be.js} +4 -4
- package/dist/{channel-ggx0o_aG.js.map → channel-B2fD2_be.js.map} +1 -1
- package/dist/{cli-binary-manifest-DiUulkp0.js → cli-binary-manifest-CT5X05lk.js} +30 -4
- package/dist/cli-binary-manifest-CT5X05lk.js.map +1 -0
- package/dist/{command-Bz9x7V2T.js → command-CQ9XRwqf.js} +22 -165
- package/dist/command-CQ9XRwqf.js.map +1 -0
- package/dist/{computer-connection-M3N6plkj.js → computer-connection-Dm7iTnRK.js} +2 -2
- package/dist/{computer-connection-M3N6plkj.js.map → computer-connection-Dm7iTnRK.js.map} +1 -1
- package/dist/{computer-connection-review-DY5BK_27.js → computer-connection-review-RHAoddSS.js} +6 -6
- package/dist/{computer-connection-review-DY5BK_27.js.map → computer-connection-review-RHAoddSS.js.map} +1 -1
- package/dist/{computer-disconnect-DR1WDSPK.js → computer-disconnect-BWRsge_2.js} +10 -10
- package/dist/{computer-disconnect-DR1WDSPK.js.map → computer-disconnect-BWRsge_2.js.map} +1 -1
- package/dist/{computer-setup-continuation-2gs8z-nB.js → computer-setup-continuation-BOCRH0qq.js} +4 -4
- package/dist/{computer-setup-continuation-2gs8z-nB.js.map → computer-setup-continuation-BOCRH0qq.js.map} +1 -1
- package/dist/context-Bdh3nAzw.js +162 -0
- package/dist/context-Bdh3nAzw.js.map +1 -0
- package/dist/{control-plane-e3W6PD2M.js → control-plane-rTE2rHZ5.js} +2 -2
- package/dist/{control-plane-e3W6PD2M.js.map → control-plane-rTE2rHZ5.js.map} +1 -1
- package/dist/{daemon-device-id-DWO9_QW6.js → daemon-device-id-B1Af2Zmn.js} +344 -36
- package/dist/daemon-device-id-B1Af2Zmn.js.map +1 -0
- package/dist/{daemon-frame-transport-D2-tazuK.js → daemon-frame-transport-WiB73yhT.js} +519 -12
- package/dist/daemon-frame-transport-WiB73yhT.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-DyKx1xzm.js → daemon-lifecycle-journal-CDZLWgMj.js} +11 -11
- package/dist/daemon-lifecycle-journal-CDZLWgMj.js.map +1 -0
- package/dist/{daemon-runtime-lease-BUr4qsLo.js → daemon-runtime-lease-1LMeZ6IS.js} +2 -2
- package/dist/{daemon-runtime-lease-BUr4qsLo.js.map → daemon-runtime-lease-1LMeZ6IS.js.map} +1 -1
- package/dist/{daemon-runtime-lease-C9X8xV_F.js → daemon-runtime-lease-Bz0ucJj3.js} +1 -1
- package/dist/{daemon-service-contract-BpOBMGX0.js → daemon-service-contract-GLmAxsq-.js} +4 -4
- package/dist/{daemon-service-contract-BpOBMGX0.js.map → daemon-service-contract-GLmAxsq-.js.map} +1 -1
- package/dist/{daemon-service-manager-HL4VKbIU.js → daemon-service-manager-C8RUCMDo.js} +9 -7
- package/dist/daemon-service-manager-C8RUCMDo.js.map +1 -0
- package/dist/{daemon-service-manager-B-QrDe5p.js → daemon-service-manager-CU-79a4z.js} +1 -1
- package/dist/{daemon-service-runtime-bKt0YjC7.js → daemon-service-runtime-CBJtgM4P.js} +397 -51
- package/dist/daemon-service-runtime-CBJtgM4P.js.map +1 -0
- package/dist/{daemon-service-update-coordinator-D8O1uTtu.js → daemon-service-update-coordinator-0LB_XGVZ.js} +48 -33
- package/dist/daemon-service-update-coordinator-0LB_XGVZ.js.map +1 -0
- package/dist/{daemon-state-B44aq2nm.js → daemon-state-Ca0WK5x0.js} +3 -3
- package/dist/{daemon-state-B44aq2nm.js.map → daemon-state-Ca0WK5x0.js.map} +1 -1
- package/dist/{dist-B07ziN_u.js → dist-BeJcIdCZ.js} +25 -17
- package/dist/dist-BeJcIdCZ.js.map +1 -0
- package/dist/dist-C32frPV2.js +4 -0
- package/dist/{dist-B2EauBG6.js → dist-YbTZ-Y-2.js} +16 -12
- package/dist/dist-YbTZ-Y-2.js.map +1 -0
- package/dist/{elapsed-time-Ooo4IC25.js → elapsed-time-q8lSPcfm.js} +6 -6
- package/dist/{elapsed-time-Ooo4IC25.js.map → elapsed-time-q8lSPcfm.js.map} +1 -1
- package/dist/{entry-DeIRMCiW.js → entry-CpS6tnIk.js} +12 -12
- package/dist/{entry-DeIRMCiW.js.map → entry-CpS6tnIk.js.map} +1 -1
- package/dist/{installation-inventory-DThnBEhV.js → installation-inventory-C5FsAvrf.js} +5 -5
- package/dist/{installation-inventory-DThnBEhV.js.map → installation-inventory-C5FsAvrf.js.map} +1 -1
- package/dist/{installer-D2bWZT88.js → installer-054NLJg6.js} +2 -2
- package/dist/{installer-D2bWZT88.js.map → installer-054NLJg6.js.map} +1 -1
- package/dist/io-DT66typ4.js +16 -0
- package/dist/io-DT66typ4.js.map +1 -0
- package/dist/{local-components-B6SCXZf9.js → local-components-DleLEzSU.js} +2 -1
- package/dist/local-components-DleLEzSU.js.map +1 -0
- package/dist/{lock-Bsl_ElWy.js → lock-iue1J2xy.js} +8 -5
- package/dist/lock-iue1J2xy.js.map +1 -0
- package/dist/{cli-space-api-CQtKu9Zt.js → meta-api-B1k3mwHN.js} +203 -19
- package/dist/meta-api-B1k3mwHN.js.map +1 -0
- package/dist/{openmeld-BQy0nMox.js → openmeld-BFO3sfC_.js} +93 -1027
- package/dist/openmeld-BFO3sfC_.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-environment-target-B6HqY0_a.js → openmeld-environment-target-BBn5Ko6p.js} +3 -3
- package/dist/{openmeld-environment-target-B6HqY0_a.js.map → openmeld-environment-target-BBn5Ko6p.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-BSODPHbn.js → openmeld-maintenance-worker-Ce4ehQ-c.js} +15 -14
- package/dist/openmeld-maintenance-worker-Ce4ehQ-c.js.map +1 -0
- package/dist/{openmeld-tools-update-join-BfY0GnDs.js → openmeld-tools-update-join-D24llJ9L.js} +4 -4
- package/dist/{openmeld-tools-update-join-BfY0GnDs.js.map → openmeld-tools-update-join-D24llJ9L.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-B-XB4dmO.js → openmeld-tools-update-process-frame-BtFKp70p.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-B-XB4dmO.js.map → openmeld-tools-update-process-frame-BtFKp70p.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-j-RXwFsK.js → openmeld-tools-update-process-frame-DbEZ3fEh.js} +1 -1
- package/dist/openmeld.js +9 -5
- package/dist/openmeld.js.map +1 -1
- package/dist/{prepare-provider-runtime-CWZcuMF6.js → prepare-provider-runtime-MB-BxOgt.js} +3342 -1327
- package/dist/prepare-provider-runtime-MB-BxOgt.js.map +1 -0
- package/dist/{prepare-session-executor-CkDxstsf.js → prepare-session-executor-zvSZ6jqy.js} +29 -28
- package/dist/prepare-session-executor-zvSZ6jqy.js.map +1 -0
- package/dist/{presenter-BcxiQyJg.js → presenter-MJ5YgsOT.js} +3 -13
- package/dist/presenter-MJ5YgsOT.js.map +1 -0
- package/dist/{process-channel-BQwtOlRc.js → process-channel-CgbduFCz.js} +2 -2
- package/dist/{process-channel-BQwtOlRc.js.map → process-channel-CgbduFCz.js.map} +1 -1
- package/dist/process-environment-BWSFeUu6.js +49 -0
- package/dist/process-environment-BWSFeUu6.js.map +1 -0
- package/dist/process-identity-BQLdaZdB.js +190 -0
- package/dist/process-identity-BQLdaZdB.js.map +1 -0
- package/dist/process-launch-B0pHlkV_.js +173 -0
- package/dist/process-launch-B0pHlkV_.js.map +1 -0
- package/dist/{published-production-safety-dp-fOmmB.js → published-production-safety-C40hKrBA.js} +2 -2
- package/dist/{published-production-safety-dp-fOmmB.js.map → published-production-safety-C40hKrBA.js.map} +1 -1
- package/dist/{runtime-BYaFkkLK.js → runtime-D6jItuQ-.js} +155 -702
- package/dist/runtime-D6jItuQ-.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-BUUub9_1.js → runtime-agent-controller-reporting-submission-D9ysbi7R.js} +9 -9
- package/dist/{runtime-agent-controller-reporting-submission-BUUub9_1.js.map → runtime-agent-controller-reporting-submission-D9ysbi7R.js.map} +1 -1
- package/dist/{runtime-reporting-health-state-BgwfrH7f.js → runtime-reporting-health-state-DA-_vW-n.js} +2210 -60
- package/dist/runtime-reporting-health-state-DA-_vW-n.js.map +1 -0
- package/dist/{runtime-transport-Cc_RN-PL.js → runtime-transport-YIYHSJPn.js} +99 -14
- package/dist/runtime-transport-YIYHSJPn.js.map +1 -0
- package/dist/{service-CfO38_a-.js → service-Dz2MsvGr.js} +126 -550
- package/dist/service-Dz2MsvGr.js.map +1 -0
- package/dist/{service-account-admission-Dy2W3n3_.js → service-account-admission-BfdJ-kKR.js} +18 -10
- package/dist/service-account-admission-BfdJ-kKR.js.map +1 -0
- package/dist/{service-account-authorization-DKpIpxXo.js → service-account-authorization-DZbUOD29.js} +6 -6
- package/dist/{service-account-authorization-DKpIpxXo.js.map → service-account-authorization-DZbUOD29.js.map} +1 -1
- package/dist/{service-account-control-CCPQAZzn.js → service-account-control-DCMOKXDT.js} +16 -16
- package/dist/service-account-control-DCMOKXDT.js.map +1 -0
- package/dist/{service-control-capabilities-C9UHSMPz.js → service-control-capabilities-3_bdeHXu.js} +1 -1
- package/dist/{service-control-capabilities-xGylBNoH.js → service-control-capabilities-Bb738e_d.js} +19 -15
- package/dist/service-control-capabilities-Bb738e_d.js.map +1 -0
- package/dist/{service-control-carrier-capability-DDNyE5cB.js → service-control-carrier-capability-gMk5gMKU.js} +11 -4
- package/dist/service-control-carrier-capability-gMk5gMKU.js.map +1 -0
- package/dist/{state-CQG3k9eh.js → state-GxF_KAM1.js} +4 -4
- package/dist/{state-CQG3k9eh.js.map → state-GxF_KAM1.js.map} +1 -1
- package/dist/{upgrade-D5FxGbh1.js → upgrade-DfJwCD5H.js} +52 -32
- package/dist/upgrade-DfJwCD5H.js.map +1 -0
- package/dist/upgrade-DgmYWeNu.js +4 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/dist/windows-artifact-DJ9DKjfc.js +16 -0
- package/dist/windows-artifact-DJ9DKjfc.js.map +1 -0
- package/dist/windows-task-command-COu_6Ke3.js +74 -0
- package/dist/windows-task-command-COu_6Ke3.js.map +1 -0
- package/dist/windows-task-entry-CtRpUbiK.js +50 -0
- package/dist/windows-task-entry-CtRpUbiK.js.map +1 -0
- package/dist/{windows-user-task-Bx2yYnOM.js → windows-user-task-B8NcRg_u.js} +1 -1
- package/dist/{windows-user-task-CRGbKggi.js → windows-user-task-Io5QuEVR.js} +108 -51
- package/dist/windows-user-task-Io5QuEVR.js.map +1 -0
- package/package.json +12 -12
- package/skills/openmeld-cli/playbooks/space-ops.md +9 -3
- package/skills/openmeld-cli/references/commands.md +0 -1
- package/dist/auth-session-D8dbMpaK.js +0 -4
- package/dist/auth-session-nhS8jyux.js.map +0 -1
- package/dist/cli-binary-manifest-DiUulkp0.js.map +0 -1
- package/dist/cli-space-api-CQtKu9Zt.js.map +0 -1
- package/dist/command-Bz9x7V2T.js.map +0 -1
- package/dist/context-l_31Mn4X.js +0 -473
- package/dist/context-l_31Mn4X.js.map +0 -1
- package/dist/daemon-device-id-DWO9_QW6.js.map +0 -1
- package/dist/daemon-frame-transport-D2-tazuK.js.map +0 -1
- package/dist/daemon-lifecycle-journal-DyKx1xzm.js.map +0 -1
- package/dist/daemon-service-manager-HL4VKbIU.js.map +0 -1
- package/dist/daemon-service-runtime-bKt0YjC7.js.map +0 -1
- package/dist/daemon-service-update-coordinator-D8O1uTtu.js.map +0 -1
- package/dist/dist-B07ziN_u.js.map +0 -1
- package/dist/dist-B2EauBG6.js.map +0 -1
- package/dist/dist-DhWI1iyi.js +0 -4
- package/dist/local-components-B6SCXZf9.js.map +0 -1
- package/dist/lock-Bsl_ElWy.js.map +0 -1
- package/dist/openmeld-BQy0nMox.js.map +0 -1
- package/dist/openmeld-maintenance-worker-BSODPHbn.js.map +0 -1
- package/dist/prepare-provider-runtime-CWZcuMF6.js.map +0 -1
- package/dist/prepare-session-executor-CkDxstsf.js.map +0 -1
- package/dist/presenter-BcxiQyJg.js.map +0 -1
- package/dist/process-identity-CNus0e6E.js +0 -146
- package/dist/process-identity-CNus0e6E.js.map +0 -1
- package/dist/runtime-BYaFkkLK.js.map +0 -1
- package/dist/runtime-reporting-health-state-BgwfrH7f.js.map +0 -1
- package/dist/runtime-transport-Cc_RN-PL.js.map +0 -1
- package/dist/service-CfO38_a-.js.map +0 -1
- package/dist/service-account-admission-Dy2W3n3_.js.map +0 -1
- package/dist/service-account-control-CCPQAZzn.js.map +0 -1
- package/dist/service-control-capabilities-xGylBNoH.js.map +0 -1
- package/dist/service-control-carrier-capability-DDNyE5cB.js.map +0 -1
- package/dist/upgrade-D5FxGbh1.js.map +0 -1
- package/dist/upgrade-DhFEu0k6.js +0 -4
- package/dist/windows-user-task-CRGbKggi.js.map +0 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { C as assessLocalMachineFailure, E as createServiceSpawnPendingIssue, F as accountsDir, W as isPublishedOpenMeldHome,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { E as ServiceAccountAdmissionError, S as setAuthSession, _ as onAuthSessionCredentialAvailable, a as beginAuthSessionTransition, d as getAuthSessionState, i as assertAuthSessionMutationAvailable, o as buildStoredAuthSessionIdentity, s as clearAuthSession, v as onAuthSessionCredentialObservation, w as withAdmittedServiceSession } from "./auth-session-
|
|
8
|
-
import { s as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-
|
|
9
|
-
import {
|
|
3
|
+
import { C as assessLocalMachineFailure, E as createServiceSpawnPendingIssue, F as accountsDir, W as isPublishedOpenMeldHome, dt as resolveOpenMeldServiceOwnedPathInput, i as isOpenMeldLockError, k as formatLocalMachineIssueMessage, lt as resolveOpenMeldEnvPreset, q as normalizeAccountKey, tt as openMeldRootDir, u as resolveOpenMeldOrphanedLockIssue, ut as resolveOpenMeldRootDir, x as resolveOpenMeldLaneDescriptor } from "./lock-iue1J2xy.js";
|
|
4
|
+
import { Ci as serviceConnectionEvidenceEventSchema, Di as localProjectControlDaemonFrameSchema, Fi as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, Ii as OPENMELD_RUNTIME_CAPABILITIES_HEADER, Li as computerFileAccessDaemonFrameSchema, Oi as localProjectControlDiscoverProjectsResponseSchema, Vn as DAEMON_STREAM_KEEPALIVE_PING, ar as betterAuthDeviceAuthorizationCodeResponseSchema, cr as betterAuthDeviceAuthorizationTokenResponseSchema, ir as betterAuthDeviceAuthorizationCodeRequestSchema, lr as betterAuthSessionSnapshotResponseSchema, or as betterAuthDeviceAuthorizationErrorResponseSchema, rr as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, sn as createServiceConnectionEvidenceApi, sr as betterAuthDeviceAuthorizationTokenRequestSchema, wi as serviceConnectionEvidenceJournalSchema } from "./dist-BeJcIdCZ.js";
|
|
5
|
+
import { Ar as pruneStaleLeases, At as ensureOpenMeldManagedProfileWorkspace, Bt as createMutableRouteCatalogState, Dn as emitReconcileCompletedEvidence, Dr as MIN_HEARTBEAT_INTERVAL_MS, En as emitDriftDetectedEvidence, Er as MAX_HEARTBEAT_INTERVAL_MS, Ft as resolveConfiguredProfileWorkspacePathForAccount, Hn as buildAuthenticatedControlPlaneResponse, Ht as summarizeSkippedDaemonProfiles, I as listAgentTargetStates, It as setCustomProfileWorkspace, Jt as isDaemonReconcileInProgressError, Mr as resolveCatalogSyncIntervalMs, Nt as readProfileWorkspaceConfigForAccount, O as syncDeviceRuntimeStateProjection, On as emitReconcileStartedEvidence, Or as applyAcceptedLeases, Ot as resolveRegistryRuntimeAdapterCapabilitySnapshot, Tr as ADAPTIVE_HEARTBEAT_JITTER_RATIO, Ut as syncDaemonRouteCatalogState, Vt as createRouteCatalogFromMutableState, _t as removeProjectConnection, bt as setDefaultProjectConnection, ct as ProjectBindingOperationError, ft as listProjectBindings, gt as removeMissingProjectConnections, jr as resolveAdaptiveHeartbeatIntervalMs, kn as DaemonServiceRunError, kr as applyIntervalJitterMs$1, ln as resolveCatalogSyncSkippedProfilesLogState, lt as ProjectBindingStoreUpdateRequiredError, pt as listProjectConnectionsWithStatus, tn as buildLocalServiceDiagnosticsPayload, ut as bindProject, wr as resolveRouteRegistrationReconcileDecision } from "./prepare-provider-runtime-MB-BxOgt.js";
|
|
6
|
+
import { B as runtimeTransportRouteCatalogChangedFramePayloadSchema, Br as localFolderPickerDaemonFrameSchema, Cn as OPENMELD_COMPUTER_CARE_HEADER, F as runtimeTransportRegisterSessionRequestSchema, Hr as localFolderPickerHelperResultSchema, Mr as OPENMELD_REASONING_STREAM_HEADER, N as runtimeTransportOpenMeldToolsControlFramePayloadSchema, P as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, Rr as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, S as runtimeTransportHeartbeatRequestSchema, Vr as localFolderPickerHelperProtocolResultSchema, Vt as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, j as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, k as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, n as OPENMELD_ADMISSION_EVIDENCE_HEADER, nt as sanitizeDispatchErrorSummary, r as OPENMELD_EXECUTION_ADMISSION_HEADER, s as localWakeRouteWorkingFolderObservationSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, zr as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER } from "./runtime-transport-YIYHSJPn.js";
|
|
7
|
+
import { E as ServiceAccountAdmissionError, S as setAuthSession, _ as onAuthSessionCredentialAvailable, a as beginAuthSessionTransition, d as getAuthSessionState, i as assertAuthSessionMutationAvailable, o as buildStoredAuthSessionIdentity, s as clearAuthSession, v as onAuthSessionCredentialObservation, w as withAdmittedServiceSession } from "./auth-session-uEk_Tx6T.js";
|
|
8
|
+
import { s as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-rTE2rHZ5.js";
|
|
9
|
+
import { a as formatLocalSetupActionLabel, i as formatLocalSetupActionDescription, n as formatLocalComponentsSummaryDescription, o as installedLocalComponentsSnapshotSchema, r as formatLocalComponentsSummaryLabel } from "./local-components-DleLEzSU.js";
|
|
10
10
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
11
|
-
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { i as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { $ as
|
|
18
|
-
import { c as serviceExecutionHostSnapshotSchema, n as createExecutionHostClient, o as serviceExecutionHostMethods, t as ExecutionHostError } from "./channel-
|
|
19
|
-
import { a as resolveBaseUrl, c as resolveExplicitGatewayUrlOrThrow, f as getConfiguredDaemonDispatchLimits, i as normalizeGatewayBaseUrlOrNull, o as resolveBaseUrlOrNull, r as normalizeGatewayBaseUrl } from "./base-url-
|
|
20
|
-
import { i as readProcessStartIdentity, n as isPreciseProcessStartIdentity, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-CNus0e6E.js";
|
|
11
|
+
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-GxF_KAM1.js";
|
|
12
|
+
import { $ as emitDaemonDispatchJournalEvent, R as resolveNextRuntimeAgentControllerReportSyncAtMs, it as updateComputerFileAccessPolicy, n as handleDaemonTransportFrame, nt as readComputerFileAccessPolicy, o as sendDaemonFrame, r as parseDaemonFrame, rt as resolveComputerFileAccessStorePath, s as collectObservedSessionWorkingDirectories, tt as ComputerFileAccessStoreError, xn as cliJsonOutputEnvelopeSchema } from "./daemon-frame-transport-WiB73yhT.js";
|
|
13
|
+
import { A as prepareDaemonServiceBundle, G as readManagedCliInstallation, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, a as resolveDaemonRuntimeState, b as cleanupInactiveDaemonServiceBundles, f as listDaemonOwnedProcesses, h as resolveDaemonBundleIdFromEntryPath, i as readCurrentObservedDaemonRuntimeStatus, j as readDaemonActiveBundleState, n as getEffectiveDaemonRuntimeStatus, o as resolveDaemonServiceManagerForRuntimeState, p as extractDaemonCommandEntryPath, r as readCurrentDaemonRuntimeContext, s as waitForDaemonSystemServiceToStop, t as clearDaemonRuntimeStateIfDefinitelyStopped, u as cleanupLegacySharedDaemonServiceState, v as isOpenMeldManagedBinaryPath } from "./daemon-service-runtime-CBJtgM4P.js";
|
|
14
|
+
import { A as DEFAULT_RECONNECT_DELAY_MS, B as requireOpenMeldProfile, C as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, D as DAEMON_STREAM_CONNECT_TIMEOUT_MS, F as REGISTER_RESPONSE_TIMEOUT_MS, I as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, M as MAX_RECONNECT_DELAY_MS, N as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, O as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, Q as readDaemonCatalogSyncSignal, R as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS, V as resolveOpenMeldProfileOrNull, _ as toErrorMessage$5, b as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, c as normalizeHeartbeatIntervalMs, ct as buildHumanAuthenticationCard, d as normalizeText$1, dt as resolveAuthenticationGuidance, f as nowIsoString, i as resolvePreferredDaemonDeviceId, j as HEARTBEAT_RESPONSE_TIMEOUT_MS, k as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, lt as createAuthenticationError, mt as resolveAuthenticationReasonFromState, n as ensureDaemonRuntimePaths, ot as buildAuthenticationStatusLabel, r as resolveDaemonDeviceId, s as emitRunLine, st as buildCommandAuthenticationPromptMessage$1, tt as clearAllSelectedOpenMeldProfileIds, u as normalizeOptionalText$1, ut as extractAuthenticationPromptAction, v as warnDaemonEvent, w as DAEMON_RUNTIME_CONTRACT_EPOCH, x as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, y as CATALOG_SYNC_RETRY_INTERVAL_MS } from "./daemon-device-id-B1Af2Zmn.js";
|
|
15
|
+
import { i as writeDaemonRuntimeLease } from "./daemon-runtime-lease-1LMeZ6IS.js";
|
|
16
|
+
import { i as readProcessStartIdentity, n as isPreciseProcessStartIdentity, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-BQLdaZdB.js";
|
|
17
|
+
import { $ as buildDaemonServiceDependencyTitle, At as DAEMON_SERVICE_REPAIR_ANOMALIES, Bt as assessCliUpdate, C as formatDaemonServiceRefreshReliabilityMessage, Ct as readDaemonRuntimeContractRepairReport, D as writeDaemonStartFailureState, E as clearDaemonStartFailureState, Et as isVersionDowngrade, Ft as resolveServiceUpdateUrgency, Ht as ensureDaemonSystemServiceCommandFiles, It as assessServerRequiredVersion, Lt as describeServerRequiredVersionUnavailableReason, Mt as classifyDaemonServiceRunStartability, Nt as classifyDaemonServiceWakeability, Ot as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, Pt as resolveCurrentDaemonExpectedVersion, Q as buildDaemonServiceDependencySummary, S as buildDaemonServiceUpdateRequiredNextStep, St as ensureDaemonRuntimeContractState, Tt as resolveDaemonServiceAlignmentDecision, Ut as resolveInstalledDaemonSystemServiceCommandSpec, W as resolveLocalServiceDemand, X as buildDaemonServiceDependencyMeaning, Y as buildDaemonServiceDependencyDetails, Z as buildDaemonServiceDependencyNextStep, _t as resolveDaemonStopStrategy, a as isDaemonInventoryRunningAndStartReady$1, c as waitForSystemServiceStartup$1, ct as writeOpenMeldToolsMaintenancePolicy, d as captureDaemonServiceEvidenceBestEffort, dt as uninstallDaemonServiceUpdateWorker, et as resolveDaemonServiceDependencyDiagnostics, f as formatDaemonFailureContextText, ft as inspectDaemonServiceInventory, g as resolveServiceReadiness, gt as readCurrentDaemonOwnerSnapshot, h as resolveDaemonStatusAuthenticationAttention, ht as hasActiveDaemonOwners, i as runDaemonServiceLifecycle, kt as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, l as startDaemonSystemServiceWithAutoRepair, lt as ensureDaemonServiceMaintenanceInstalled, m as resolveDaemonStatusAttention, mt as formatDaemonOwnerSummaryLabel, n as scheduleDaemonServiceUpdate, nt as createOpenMeldToolsUpdateCoordinator, o as isSystemServiceStartupTimeoutError, ot as readOpenMeldToolsMaintenancePolicy, p as resolveDaemonStatusSnapshot, pt as buildDaemonOwnerSnapshotFromObservedState, r as DaemonServiceLifecycleDrainTimeoutError, s as resolveSystemServiceStartupWaitMs, st as resolveOpenMeldToolsMaintenanceProjection, tt as writeDaemonServiceContract, u as captureDaemonServiceEvidence, v as buildDaemonServiceRefreshNextStep, vt as resolveStoppedContractWriteBlockedReason, w as formatDaemonServiceUpdateRequiredMessage, wt as buildDaemonServiceTargetSpec, x as buildDaemonServiceStatusReadOnlyDetail, y as buildDaemonServiceRefreshPromptMessage, yt as summarizeDaemonOwnerSnapshot } from "./daemon-service-update-coordinator-0LB_XGVZ.js";
|
|
18
|
+
import { c as serviceExecutionHostSnapshotSchema, n as createExecutionHostClient, o as serviceExecutionHostMethods, t as ExecutionHostError } from "./channel-B2fD2_be.js";
|
|
19
|
+
import { a as resolveBaseUrl, c as resolveExplicitGatewayUrlOrThrow, f as getConfiguredDaemonDispatchLimits, i as normalizeGatewayBaseUrlOrNull, o as resolveBaseUrlOrNull, r as normalizeGatewayBaseUrl } from "./base-url-DvjOkKPs.js";
|
|
21
20
|
import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
|
|
22
21
|
import { t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
|
|
23
|
-
import { A as getDaemonStatus, G as withDaemonServiceRegistrationMutationLock, H as setDaemonServiceRuntimeState, I as readDaemonServiceRuntimeSnapshot, K as withDaemonServiceRunLock, L as releaseDaemonServiceLifecycleLock, M as isDaemonServiceRuntimeHeartbeatStale, O as ensureDaemonControlPlaneToken, R as resolveDaemonControlPlaneEndpoint, S as daemonServiceRepairJournalPath, U as uninstallDaemon, W as withDaemonServiceReconcileLock, _ as daemonRuntimeStateRootPath, a as DAEMON_SERVICE_RUNTIME_MODE_ENV, c as acquireDaemonServiceLifecycleLock, f as daemonLifecycleJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, j as installDaemon, l as clearDaemonServiceRuntimeState, o as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, q as withDaemonServiceStopLock, z as resolveDaemonServiceRuntimeMetadata } from "./daemon-state-
|
|
24
|
-
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, t as clearDaemonServiceContract } from "./daemon-service-contract-
|
|
22
|
+
import { A as getDaemonStatus, G as withDaemonServiceRegistrationMutationLock, H as setDaemonServiceRuntimeState, I as readDaemonServiceRuntimeSnapshot, K as withDaemonServiceRunLock, L as releaseDaemonServiceLifecycleLock, M as isDaemonServiceRuntimeHeartbeatStale, O as ensureDaemonControlPlaneToken, R as resolveDaemonControlPlaneEndpoint, S as daemonServiceRepairJournalPath, U as uninstallDaemon, W as withDaemonServiceReconcileLock, _ as daemonRuntimeStateRootPath, a as DAEMON_SERVICE_RUNTIME_MODE_ENV, c as acquireDaemonServiceLifecycleLock, f as daemonLifecycleJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, j as installDaemon, l as clearDaemonServiceRuntimeState, o as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, q as withDaemonServiceStopLock, z as resolveDaemonServiceRuntimeMetadata } from "./daemon-state-Ca0WK5x0.js";
|
|
23
|
+
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, t as clearDaemonServiceContract } from "./daemon-service-contract-GLmAxsq-.js";
|
|
25
24
|
import { a as formatOpenMeldCliTextBlock, n as formatOpenMeldCliCommand, r as formatOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
|
|
26
|
-
import { r as resolveAuthBaseUrl, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
27
|
-
import { t as admitServiceAccountStop } from "./service-account-authorization-
|
|
28
|
-
import { S as requestLocalDaemonShutdown, c as runWithDaemonLifecycleCommandJournal, d as compareSemver, i as readLatestDaemonLifecycleOriginEvent, l as OPENMELD_VERSION, n as formatDaemonLifecycleOriginSummary, o as resolveRecentDaemonSignalStopCause, r as readLatestDaemonLifecycleConnectionStateEvent, s as runDaemonServiceManagerAction, t as emitDaemonLifecycleEvent, w as sendLocalDaemonControlPlaneRequest, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
25
|
+
import { r as resolveAuthBaseUrl, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BBn5Ko6p.js";
|
|
26
|
+
import { t as admitServiceAccountStop } from "./service-account-authorization-DZbUOD29.js";
|
|
27
|
+
import { S as requestLocalDaemonShutdown, c as runWithDaemonLifecycleCommandJournal, d as compareSemver, i as readLatestDaemonLifecycleOriginEvent, l as OPENMELD_VERSION, n as formatDaemonLifecycleOriginSummary, o as resolveRecentDaemonSignalStopCause, r as readLatestDaemonLifecycleConnectionStateEvent, s as runDaemonServiceManagerAction, t as emitDaemonLifecycleEvent, w as sendLocalDaemonControlPlaneRequest, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-CDZLWgMj.js";
|
|
29
28
|
import { n as toErrorMessage$6, t as sleep } from "./dist-BLuEEVHh.js";
|
|
30
|
-
import { S as resolveDaemonServiceManager, _ as readDaemonServiceJobCrashExitCode, a as disableDaemonServiceAutostartIfConfigured, c as getDaemonSystemServiceLogPath, f as isDaemonServiceJobSpawnPending, o as formatDaemonServiceJobDiagnosticsEvidence, s as getDaemonServiceLaunchdLabel } from "./daemon-service-manager-
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
29
|
+
import { S as resolveDaemonServiceManager, _ as readDaemonServiceJobCrashExitCode, a as disableDaemonServiceAutostartIfConfigured, c as getDaemonSystemServiceLogPath, f as isDaemonServiceJobSpawnPending, o as formatDaemonServiceJobDiagnosticsEvidence, s as getDaemonServiceLaunchdLabel } from "./daemon-service-manager-C8RUCMDo.js";
|
|
30
|
+
import { n as resolveRuntimeContext } from "./context-Bdh3nAzw.js";
|
|
31
|
+
import { n as outJsonLine, r as outLine } from "./io-DT66typ4.js";
|
|
32
|
+
import { n as sanitizeTerminalDisplayText, t as createPresenter } from "./presenter-MJ5YgsOT.js";
|
|
33
|
+
import { X as getCommandEntryContract, _ as createAuthLoginGuideError, a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, g as canUseInteractivePrompts, h as resolveOpenMeldToolsUpdateOperationProjection, l as formatDaemonServiceMissingRunStepOne, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, pt as validateDaemonControlTargetInput, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo, xt as buildAgentOverviewFromContract } from "./elapsed-time-q8lSPcfm.js";
|
|
34
|
+
import { c as buildRequestAuthHeaders, i as AuthRequestCredentialError, l as canAttachAuthTokenToRequest, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, t as createCliApiClientFoundation, u as fingerprintRequestAuthorization } from "./api-client-foundation-DpVwrgh-.js";
|
|
35
|
+
import { t as childExecutionHostChannel } from "./process-channel-CgbduFCz.js";
|
|
36
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-C5FsAvrf.js";
|
|
37
37
|
import { createHash, randomUUID } from "node:crypto";
|
|
38
38
|
import { delimiter, dirname, isAbsolute, join, resolve } from "node:path";
|
|
39
39
|
import { access, mkdir, open, readFile, readdir, realpath, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
@@ -51,510 +51,6 @@ import WebSocket from "ws";
|
|
|
51
51
|
const SERVICE_CONNECTION_ID_QUERY_PARAMETER = "connectionId";
|
|
52
52
|
z$1.uuid();
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region ../../packages/schemas/dist/schemas/cli/daemon-status-server-requirement.js
|
|
55
|
-
const cliVersionVerdictKindSchema = z$1.enum([
|
|
56
|
-
"aligned",
|
|
57
|
-
"channel_behind",
|
|
58
|
-
"channel_ahead",
|
|
59
|
-
"channel_unavailable",
|
|
60
|
-
"server_unavailable"
|
|
61
|
-
]);
|
|
62
|
-
const serviceVersionVerdictKindSchema = z$1.enum([
|
|
63
|
-
"aligned",
|
|
64
|
-
"update_available",
|
|
65
|
-
"update_required",
|
|
66
|
-
"unknown",
|
|
67
|
-
"server_unavailable"
|
|
68
|
-
]);
|
|
69
|
-
const cliVersionVerdictSchema = z$1.strictObject({
|
|
70
|
-
kind: cliVersionVerdictKindSchema,
|
|
71
|
-
message: z$1.string().trim().min(1)
|
|
72
|
-
});
|
|
73
|
-
const serviceVersionVerdictSchema = z$1.strictObject({
|
|
74
|
-
kind: serviceVersionVerdictKindSchema,
|
|
75
|
-
message: z$1.string().trim().min(1)
|
|
76
|
-
});
|
|
77
|
-
const daemonStatusServerRequirementUnavailableReasonSchema = z$1.enum([
|
|
78
|
-
"signed_out",
|
|
79
|
-
"offline",
|
|
80
|
-
"request_failed"
|
|
81
|
-
]);
|
|
82
|
-
const availableDaemonStatusServerRequirementSchema = z$1.strictObject({
|
|
83
|
-
available: z$1.literal(true),
|
|
84
|
-
generatedAt: z$1.iso.datetime({ offset: true }),
|
|
85
|
-
cli: localCliComponentUpdateProjectionSchema,
|
|
86
|
-
service: localServiceComponentUpdateProjectionSchema,
|
|
87
|
-
verdict: z$1.strictObject({
|
|
88
|
-
cli: cliVersionVerdictSchema,
|
|
89
|
-
service: serviceVersionVerdictSchema
|
|
90
|
-
})
|
|
91
|
-
});
|
|
92
|
-
const unavailableDaemonStatusServerRequirementSchema = z$1.strictObject({
|
|
93
|
-
available: z$1.literal(false),
|
|
94
|
-
reason: daemonStatusServerRequirementUnavailableReasonSchema,
|
|
95
|
-
detail: z$1.string().nullable()
|
|
96
|
-
});
|
|
97
|
-
const daemonStatusServerRequirementSchema = z$1.discriminatedUnion("available", [availableDaemonStatusServerRequirementSchema, unavailableDaemonStatusServerRequirementSchema]);
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region ../../packages/schemas/dist/schemas/http/organization-join-link.js
|
|
100
|
-
const ORGANIZATION_JOIN_LINK_ACCEPT_RATE_LIMITED_ERROR_CODE = "organization.join_link.accept.rate_limited";
|
|
101
|
-
const organizationJoinLinkTokenSchema = string().regex(/^joinlink_[0-9a-f]{64}$/);
|
|
102
|
-
const organizationJoinLinkManagementQuerySchema = strictObject({
|
|
103
|
-
organizationId: string().trim().min(1).max(255),
|
|
104
|
-
spaceId: string().trim().min(1).max(255).optional(),
|
|
105
|
-
mode: enumFactory(["direct", "request"]).optional(),
|
|
106
|
-
responseVersion: literal("3").optional()
|
|
107
|
-
});
|
|
108
|
-
const organizationJoinLinkSchema = strictObject({
|
|
109
|
-
id: string().min(1),
|
|
110
|
-
organizationId: string().min(1),
|
|
111
|
-
token: organizationJoinLinkTokenSchema,
|
|
112
|
-
url: url(),
|
|
113
|
-
role: literal("member"),
|
|
114
|
-
createdBy: string().min(1),
|
|
115
|
-
createdAt: iso.datetime(),
|
|
116
|
-
mode: enumFactory(["direct", "request"]).optional(),
|
|
117
|
-
expiresAt: iso.datetime().nullable().optional(),
|
|
118
|
-
spaceId: string().min(1).nullable().optional()
|
|
119
|
-
});
|
|
120
|
-
const getOrganizationJoinLinkResponseSchema = strictObject({
|
|
121
|
-
ok: literal(true),
|
|
122
|
-
joinLink: organizationJoinLinkSchema.nullable()
|
|
123
|
-
});
|
|
124
|
-
const CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE = {
|
|
125
|
-
requiredRole: "member",
|
|
126
|
-
settingsLocation: "Settings → Workspace → General",
|
|
127
|
-
settingsSection: "Invite link"
|
|
128
|
-
};
|
|
129
|
-
strictObject({ context: openMeldRequestContextSchema });
|
|
130
|
-
const centerAgentOrganizationInviteLinkGenerationGuidanceSchema = strictObject({
|
|
131
|
-
requiredRole: literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.requiredRole),
|
|
132
|
-
settingsLocation: literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.settingsLocation),
|
|
133
|
-
settingsSection: literal(CENTER_AGENT_ORGANIZATION_INVITE_LINK_GENERATION_GUIDANCE.settingsSection)
|
|
134
|
-
});
|
|
135
|
-
discriminatedUnion("active", [strictObject({
|
|
136
|
-
active: literal(true),
|
|
137
|
-
organizationName: string().trim().min(1),
|
|
138
|
-
url: url()
|
|
139
|
-
}), strictObject({
|
|
140
|
-
active: literal(false),
|
|
141
|
-
generationGuidance: centerAgentOrganizationInviteLinkGenerationGuidanceSchema
|
|
142
|
-
})]);
|
|
143
|
-
const organizationJoinLinkEnsureErrorCodeSchema = enumFactory([
|
|
144
|
-
"organization.join_link.forbidden",
|
|
145
|
-
"organization.join_link.inactive",
|
|
146
|
-
"organization.join_link.invalid_input",
|
|
147
|
-
"organization.metadata_invalid",
|
|
148
|
-
"organization.personal_no_members"
|
|
149
|
-
]);
|
|
150
|
-
strictObject({
|
|
151
|
-
actorUserId: string().trim().min(1).max(255),
|
|
152
|
-
organizationId: string().trim().min(1).max(255)
|
|
153
|
-
});
|
|
154
|
-
discriminatedUnion("ok", [strictObject({
|
|
155
|
-
joinLink: organizationJoinLinkSchema,
|
|
156
|
-
ok: literal(true),
|
|
157
|
-
organizationName: string().trim().min(1)
|
|
158
|
-
}), strictObject({
|
|
159
|
-
code: organizationJoinLinkEnsureErrorCodeSchema,
|
|
160
|
-
message: string().trim().min(1),
|
|
161
|
-
ok: literal(false)
|
|
162
|
-
})]);
|
|
163
|
-
strictObject({
|
|
164
|
-
context: openMeldRequestContextSchema,
|
|
165
|
-
speakerMember: centerAgentToolSpeakerSchema
|
|
166
|
-
});
|
|
167
|
-
discriminatedUnion("ok", [strictObject({
|
|
168
|
-
ok: literal(true),
|
|
169
|
-
organizationName: string().trim().min(1),
|
|
170
|
-
url: url()
|
|
171
|
-
}), strictObject({
|
|
172
|
-
error: strictObject({
|
|
173
|
-
code: organizationJoinLinkEnsureErrorCodeSchema,
|
|
174
|
-
message: string().trim().min(1)
|
|
175
|
-
}),
|
|
176
|
-
ok: literal(false)
|
|
177
|
-
})]);
|
|
178
|
-
const revokeOrganizationJoinLinkResponseSchema = strictObject({
|
|
179
|
-
ok: literal(true),
|
|
180
|
-
revoked: boolean()
|
|
181
|
-
});
|
|
182
|
-
strictObject({
|
|
183
|
-
token: organizationJoinLinkTokenSchema,
|
|
184
|
-
responseVersion: enumFactory(["2", "3"]).optional()
|
|
185
|
-
});
|
|
186
|
-
discriminatedUnion("active", [strictObject({
|
|
187
|
-
ok: literal(true),
|
|
188
|
-
active: literal(true),
|
|
189
|
-
organizationName: string().min(1),
|
|
190
|
-
organizationSlug: string().min(1),
|
|
191
|
-
mode: enumFactory(["direct", "request"]).optional(),
|
|
192
|
-
expiresAt: iso.datetime().nullable().optional(),
|
|
193
|
-
spaceId: string().min(1).nullable().optional()
|
|
194
|
-
}), strictObject({
|
|
195
|
-
ok: literal(true),
|
|
196
|
-
active: literal(false)
|
|
197
|
-
})]);
|
|
198
|
-
const acceptOrganizationJoinLinkBodySchema = strictObject({ token: organizationJoinLinkTokenSchema });
|
|
199
|
-
strictObject({
|
|
200
|
-
ok: literal(true),
|
|
201
|
-
organizationId: string().min(1),
|
|
202
|
-
organizationName: string().min(1),
|
|
203
|
-
organizationSlug: string().min(1),
|
|
204
|
-
role: enumFactory([
|
|
205
|
-
"owner",
|
|
206
|
-
"admin",
|
|
207
|
-
"member"
|
|
208
|
-
]),
|
|
209
|
-
alreadyMember: boolean()
|
|
210
|
-
});
|
|
211
|
-
const organizationJoinLinkErrorCodeSchema = enumFactory([
|
|
212
|
-
"auth.invalid_origin",
|
|
213
|
-
ORGANIZATION_JOIN_LINK_ACCEPT_RATE_LIMITED_ERROR_CODE,
|
|
214
|
-
"organization.join_link.invalid_input",
|
|
215
|
-
"organization.join_link.authentication_required",
|
|
216
|
-
"organization.join_link.approval_required",
|
|
217
|
-
"organization.join_link.forbidden",
|
|
218
|
-
"organization.join_link.email_verification_required",
|
|
219
|
-
"organization.join_link.inactive",
|
|
220
|
-
"organization.personal_no_members",
|
|
221
|
-
"organization.metadata_invalid"
|
|
222
|
-
]);
|
|
223
|
-
const organizationJoinLinkErrorResponseSchema = strictObject({
|
|
224
|
-
ok: literal(false),
|
|
225
|
-
code: organizationJoinLinkErrorCodeSchema,
|
|
226
|
-
message: string().min(1)
|
|
227
|
-
});
|
|
228
|
-
//#endregion
|
|
229
|
-
//#region ../../packages/schemas/dist/schemas/cli/json-output.js
|
|
230
|
-
const schemaVersionSchema = z$1.literal(1);
|
|
231
|
-
z$1.enum([
|
|
232
|
-
"auth.authentication_required",
|
|
233
|
-
"auth.session_token_unavailable",
|
|
234
|
-
"profile.required",
|
|
235
|
-
"local_state.repair_required",
|
|
236
|
-
"upgrade.required"
|
|
237
|
-
]);
|
|
238
|
-
/**
|
|
239
|
-
* The failure envelope: the top-level boundary prints exactly this when a
|
|
240
|
-
* command throws (or a blocking entry-check fires) under `--json`, then exits 1.
|
|
241
|
-
* Fully owned, so it is strict.
|
|
242
|
-
*/
|
|
243
|
-
const cliJsonErrorEnvelopeSchema = z$1.strictObject({
|
|
244
|
-
schemaVersion: schemaVersionSchema,
|
|
245
|
-
type: z$1.literal("error"),
|
|
246
|
-
error: z$1.strictObject({
|
|
247
|
-
code: z$1.string(),
|
|
248
|
-
message: z$1.string(),
|
|
249
|
-
requestId: z$1.string().optional()
|
|
250
|
-
})
|
|
251
|
-
});
|
|
252
|
-
/**
|
|
253
|
-
* Success envelopes share the `{ schemaVersion, type }` frame and then flatten a
|
|
254
|
-
* command-specific result onto the envelope. The deep result shapes (daemon
|
|
255
|
-
* install/run/status state, runtime projections, agent registration summaries)
|
|
256
|
-
* are owned by their respective daemon / agents runtime contracts. This envelope
|
|
257
|
-
* is the FRAME owner: it pins the version literal and the closed `type`
|
|
258
|
-
* discriminant, and deliberately RELAXES the flattened payload via
|
|
259
|
-
* `z.looseObject` rather than re-deriving those domain-owned shapes here — doing
|
|
260
|
-
* so would create a second source of truth for payloads another owner already
|
|
261
|
-
* defines. (`shared-contracts.md`: "Document any relaxed object boundary.")
|
|
262
|
-
*
|
|
263
|
-
* Only fields the CLI authors directly on the envelope (and that carry a stable
|
|
264
|
-
* literal or primitive shape) are validated here; everything flattened from a
|
|
265
|
-
* domain payload passes through the relaxed boundary.
|
|
266
|
-
*/
|
|
267
|
-
function defineSuccessEnvelope(type, shape) {
|
|
268
|
-
return z$1.looseObject({
|
|
269
|
-
schemaVersion: schemaVersionSchema,
|
|
270
|
-
type: z$1.literal(type),
|
|
271
|
-
...shape
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
function defineStrictSuccessEnvelope(type, shape) {
|
|
275
|
-
return z$1.strictObject({
|
|
276
|
-
schemaVersion: schemaVersionSchema,
|
|
277
|
-
type: z$1.literal(type),
|
|
278
|
-
...shape
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
const cliJsonDaemonRunEnvelopeSchema = defineSuccessEnvelope("daemon.run", { ok: z$1.boolean() });
|
|
282
|
-
const cliJsonDaemonInstallEnvelopeSchema = defineSuccessEnvelope("daemon.install", { status: z$1.string() });
|
|
283
|
-
const cliJsonDaemonUninstallEnvelopeSchema = defineSuccessEnvelope("daemon.uninstall", { status: z$1.enum(["removed", "not_installed"]) });
|
|
284
|
-
const cliJsonDaemonReinstallEnvelopeSchema = defineSuccessEnvelope("daemon.reinstall", {});
|
|
285
|
-
const cliJsonDaemonStatusEnvelopeSchema = defineSuccessEnvelope("daemon.status", {
|
|
286
|
-
runtimeFlavor: z$1.enum(["binary", "node-bundle"]).optional(),
|
|
287
|
-
serverRequirement: daemonStatusServerRequirementSchema.optional()
|
|
288
|
-
});
|
|
289
|
-
const cliJsonServiceControlCapabilitiesEnvelopeSchema = defineSuccessEnvelope("service.control_capabilities", serviceControlCapabilitiesSchema.shape);
|
|
290
|
-
const cliJsonDaemonStopEnvelopeSchema = defineSuccessEnvelope("daemon.stop", {});
|
|
291
|
-
const cliJsonDaemonAutostartEnvelopeSchema = defineSuccessEnvelope("daemon.autostart", {
|
|
292
|
-
action: z$1.enum(["enable", "disable"]),
|
|
293
|
-
enabled: z$1.boolean()
|
|
294
|
-
});
|
|
295
|
-
const cliJsonAgentsDetectEnvelopeSchema = defineSuccessEnvelope("agents.detect", { count: z$1.number().int().nonnegative() });
|
|
296
|
-
const cliJsonAgentsListEnvelopeSchema = defineSuccessEnvelope("agents.list", { count: z$1.number().int().nonnegative() });
|
|
297
|
-
const cliJsonAgentsShowEnvelopeSchema = defineSuccessEnvelope("agents.show", {});
|
|
298
|
-
const cliJsonAgentsEnableEnvelopeSchema = defineSuccessEnvelope("agents.enable", {});
|
|
299
|
-
const cliJsonAgentsDisableEnvelopeSchema = defineSuccessEnvelope("agents.disable", {});
|
|
300
|
-
const cliJsonFeedbackSubmittedEnvelopeSchema = defineSuccessEnvelope("feedback_submitted", {
|
|
301
|
-
issueId: submitFeedbackIssueResponseSchema.shape.issueId,
|
|
302
|
-
category: submitFeedbackIssueRequestSchema.shape.category,
|
|
303
|
-
submitterKind: submitFeedbackIssueRequestSchema.shape.submitterKind,
|
|
304
|
-
anonymous: z$1.boolean()
|
|
305
|
-
});
|
|
306
|
-
const cliJsonAgentActivityLocalBindingSchema = z$1.strictObject({
|
|
307
|
-
boundAtMs: z$1.number().int().nonnegative(),
|
|
308
|
-
organizationId: z$1.string().min(1),
|
|
309
|
-
projectId: z$1.string().min(1),
|
|
310
|
-
projectSlug: z$1.string().min(1),
|
|
311
|
-
repositoryFingerprint: z$1.string().nullable(),
|
|
312
|
-
repositoryPath: z$1.string().min(1)
|
|
313
|
-
});
|
|
314
|
-
const cliJsonProjectsListEnvelopeSchema = defineStrictSuccessEnvelope("projects.list", {
|
|
315
|
-
...listProjectsResponseSchema.shape,
|
|
316
|
-
localBindings: z$1.array(cliJsonAgentActivityLocalBindingSchema)
|
|
317
|
-
});
|
|
318
|
-
const cliJsonProjectsCreateEnvelopeSchema = defineStrictSuccessEnvelope("projects.create", createProjectResponseSchema.shape);
|
|
319
|
-
const cliJsonProjectsUpdateEnvelopeSchema = defineStrictSuccessEnvelope("projects.update", updateProjectResponseSchema.shape);
|
|
320
|
-
const cliJsonProjectsArchiveEnvelopeSchema = defineStrictSuccessEnvelope("projects.archive", archiveProjectResponseSchema.shape);
|
|
321
|
-
const cliJsonAgentActivityIntegrationUpdateSchema = z$1.strictObject({
|
|
322
|
-
claude: z$1.enum([
|
|
323
|
-
"changed",
|
|
324
|
-
"missing",
|
|
325
|
-
"reused"
|
|
326
|
-
]),
|
|
327
|
-
codex: z$1.enum([
|
|
328
|
-
"changed",
|
|
329
|
-
"missing",
|
|
330
|
-
"reused"
|
|
331
|
-
]),
|
|
332
|
-
cursor: z$1.enum([
|
|
333
|
-
"changed",
|
|
334
|
-
"missing",
|
|
335
|
-
"reused"
|
|
336
|
-
]),
|
|
337
|
-
openCode: z$1.enum([
|
|
338
|
-
"changed",
|
|
339
|
-
"missing",
|
|
340
|
-
"reused"
|
|
341
|
-
])
|
|
342
|
-
});
|
|
343
|
-
const cliJsonProjectsBindEnvelopeSchema = defineStrictSuccessEnvelope("projects.bind", {
|
|
344
|
-
binding: cliJsonAgentActivityLocalBindingSchema,
|
|
345
|
-
integrationSetup: z$1.discriminatedUnion("status", [z$1.strictObject({
|
|
346
|
-
integrations: cliJsonAgentActivityIntegrationUpdateSchema,
|
|
347
|
-
status: z$1.literal("ready")
|
|
348
|
-
}), z$1.strictObject({
|
|
349
|
-
message: z$1.string().trim().min(1).max(512),
|
|
350
|
-
status: z$1.literal("needs_attention")
|
|
351
|
-
})]),
|
|
352
|
-
project: projectSchema
|
|
353
|
-
});
|
|
354
|
-
const cliJsonProjectsUnbindEnvelopeSchema = defineStrictSuccessEnvelope("projects.unbind", {
|
|
355
|
-
organizationId: z$1.string().min(1),
|
|
356
|
-
projectSlug: z$1.string().min(1),
|
|
357
|
-
unbound: z$1.literal(true)
|
|
358
|
-
});
|
|
359
|
-
const cliJsonProjectConnectionSnapshotShape = {
|
|
360
|
-
organizationId: z$1.string().min(1),
|
|
361
|
-
projectId: z$1.string().min(1),
|
|
362
|
-
projectSlug: z$1.string().min(1),
|
|
363
|
-
connections: z$1.array(localProjectControlConnectionSchema)
|
|
364
|
-
};
|
|
365
|
-
const cliJsonProjectsConnectionsListEnvelopeSchema = defineStrictSuccessEnvelope("projects.connections.list", { ...cliJsonProjectConnectionSnapshotShape });
|
|
366
|
-
const cliJsonProjectsConnectionsSetDefaultEnvelopeSchema = defineStrictSuccessEnvelope("projects.connections.set_default", {
|
|
367
|
-
...cliJsonProjectConnectionSnapshotShape,
|
|
368
|
-
status: z$1.enum(["updated", "unchanged"])
|
|
369
|
-
});
|
|
370
|
-
const cliJsonProjectsConnectionsRemoveEnvelopeSchema = defineStrictSuccessEnvelope("projects.connections.remove", {
|
|
371
|
-
...cliJsonProjectConnectionSnapshotShape,
|
|
372
|
-
status: z$1.enum(["removed", "unchanged"])
|
|
373
|
-
});
|
|
374
|
-
const cliJsonAgentActivityReadEnvelopeSchema = defineStrictSuccessEnvelope("activity.read", agentActivitySnapshotResponseSchema.shape);
|
|
375
|
-
const cliJsonAgentActivitySessionsEnvelopeSchema = defineStrictSuccessEnvelope("activity.sessions", agentActivitySessionInventoryResponseSchema.shape);
|
|
376
|
-
const cliJsonAgentActivityIntegrationStatusSchema = z$1.strictObject({
|
|
377
|
-
claude: z$1.boolean(),
|
|
378
|
-
codex: z$1.boolean(),
|
|
379
|
-
cursor: z$1.boolean(),
|
|
380
|
-
openCode: z$1.boolean()
|
|
381
|
-
});
|
|
382
|
-
const cliJsonAgentActivityHealthSchema = z$1.strictObject({
|
|
383
|
-
pending: z$1.number().int().nonnegative(),
|
|
384
|
-
permanentlyRejected: z$1.number().int().nonnegative(),
|
|
385
|
-
retrying: z$1.number().int().nonnegative()
|
|
386
|
-
});
|
|
387
|
-
const cliJsonAgentActivityInstallEnvelopeSchema = defineStrictSuccessEnvelope("activity.install", { integrations: cliJsonAgentActivityIntegrationUpdateSchema });
|
|
388
|
-
const cliJsonAgentActivityUninstallEnvelopeSchema = defineStrictSuccessEnvelope("activity.uninstall", { integrations: cliJsonAgentActivityIntegrationUpdateSchema });
|
|
389
|
-
const cliJsonAgentActivityStatusEnvelopeSchema = defineStrictSuccessEnvelope("activity.status", {
|
|
390
|
-
controllerTaskHealth: cliJsonAgentActivityHealthSchema,
|
|
391
|
-
health: cliJsonAgentActivityHealthSchema,
|
|
392
|
-
integrations: cliJsonAgentActivityIntegrationStatusSchema
|
|
393
|
-
});
|
|
394
|
-
const cliJsonAgentActivityHealthEnvelopeSchema = defineStrictSuccessEnvelope("activity.health", {
|
|
395
|
-
controllerTaskHealth: cliJsonAgentActivityHealthSchema,
|
|
396
|
-
health: cliJsonAgentActivityHealthSchema
|
|
397
|
-
});
|
|
398
|
-
const cliJsonAgentActivitySyncEnvelopeSchema = defineStrictSuccessEnvelope("activity.sync", { result: z$1.strictObject({
|
|
399
|
-
controllerTaskEventSubmittedCount: z$1.number().int().nonnegative(),
|
|
400
|
-
controllerTaskHealth: cliJsonAgentActivityHealthSchema,
|
|
401
|
-
health: cliJsonAgentActivityHealthSchema,
|
|
402
|
-
observedCount: z$1.number().int().nonnegative(),
|
|
403
|
-
reason: z$1.enum([
|
|
404
|
-
"service_contract_unavailable",
|
|
405
|
-
"auth_unavailable",
|
|
406
|
-
"registration_rejected",
|
|
407
|
-
"write_auth_rejected",
|
|
408
|
-
"write_endpoint_unavailable",
|
|
409
|
-
"write_retryable_http_failure",
|
|
410
|
-
"write_response_invalid",
|
|
411
|
-
"write_timeout",
|
|
412
|
-
"write_transport_failure",
|
|
413
|
-
"inventory_write_auth_rejected",
|
|
414
|
-
"inventory_endpoint_unavailable",
|
|
415
|
-
"inventory_write_retryable_http_failure",
|
|
416
|
-
"inventory_write_transport_failure"
|
|
417
|
-
]).nullable(),
|
|
418
|
-
sessionInventory: z$1.strictObject({
|
|
419
|
-
reason: z$1.enum([
|
|
420
|
-
"service_contract_unavailable",
|
|
421
|
-
"auth_unavailable",
|
|
422
|
-
"registration_rejected",
|
|
423
|
-
"inventory_write_auth_rejected",
|
|
424
|
-
"inventory_endpoint_unavailable",
|
|
425
|
-
"inventory_write_retryable_http_failure",
|
|
426
|
-
"inventory_write_transport_failure"
|
|
427
|
-
]).nullable(),
|
|
428
|
-
sessionCount: z$1.number().int().nonnegative(),
|
|
429
|
-
sourceCount: z$1.number().int().nonnegative(),
|
|
430
|
-
status: z$1.enum([
|
|
431
|
-
"idle",
|
|
432
|
-
"submitted",
|
|
433
|
-
"unavailable"
|
|
434
|
-
]),
|
|
435
|
-
submittedSourceCount: z$1.number().int().nonnegative()
|
|
436
|
-
}),
|
|
437
|
-
status: z$1.enum([
|
|
438
|
-
"idle",
|
|
439
|
-
"submitted",
|
|
440
|
-
"unavailable"
|
|
441
|
-
]),
|
|
442
|
-
submittedCount: z$1.number().int().nonnegative()
|
|
443
|
-
}) });
|
|
444
|
-
const cliJsonAgentActivityContextEnvelopeSchema = defineStrictSuccessEnvelope("activity.context", { context: z$1.string().min(1).max(300).nullable() });
|
|
445
|
-
const cliJsonRoutinesListEnvelopeSchema = defineStrictSuccessEnvelope("routines.list", listCenterAgentRoutinesResponseSchema.shape);
|
|
446
|
-
const cliJsonRoutinesCreateEnvelopeSchema = defineStrictSuccessEnvelope("routines.create", createCenterAgentRoutineResponseSchema.shape);
|
|
447
|
-
const cliJsonRoutinesShowEnvelopeSchema = defineStrictSuccessEnvelope("routines.show", createCenterAgentRoutineResponseSchema.shape);
|
|
448
|
-
const cliJsonRoutinesUpdateEnvelopeSchema = defineStrictSuccessEnvelope("routines.update", updateCenterAgentRoutineResponseSchema.shape);
|
|
449
|
-
const cliJsonRoutinesPauseEnvelopeSchema = defineStrictSuccessEnvelope("routines.pause", pauseCenterAgentRoutineResponseSchema.shape);
|
|
450
|
-
const cliJsonRoutinesResumeEnvelopeSchema = defineStrictSuccessEnvelope("routines.resume", resumeCenterAgentRoutineResponseSchema.shape);
|
|
451
|
-
const cliJsonRoutinesDeleteEnvelopeSchema = defineStrictSuccessEnvelope("routines.delete", deleteCenterAgentRoutineResponseSchema.shape);
|
|
452
|
-
const cliJsonRoutinesRunsEnvelopeSchema = defineStrictSuccessEnvelope("routines.runs", listCenterAgentRoutineRunsResponseSchema.shape);
|
|
453
|
-
const cliJsonSpaceMembersEnvelopeSchema = defineStrictSuccessEnvelope("space.members", spaceMemberDirectorySchema.shape);
|
|
454
|
-
const cliJsonSpaceMembersBriefEnvelopeSchema = defineStrictSuccessEnvelope("space.members.brief", {
|
|
455
|
-
spaceId: z$1.string().trim().min(1),
|
|
456
|
-
generatedAt: z$1.iso.datetime({ offset: true }),
|
|
457
|
-
members: z$1.array(z$1.strictObject({
|
|
458
|
-
profileId: z$1.string().trim().min(1),
|
|
459
|
-
displayName: z$1.string().trim().min(1),
|
|
460
|
-
profileKind: spaceMemberKindSchema,
|
|
461
|
-
primaryMentionLabel: z$1.string().trim().min(1),
|
|
462
|
-
allowedRelations: spaceMemberDirectoryAllowedRelationsSchema,
|
|
463
|
-
wakeAvailability: spaceMemberAgentWakeAvailabilitySchema.pick({
|
|
464
|
-
action: true,
|
|
465
|
-
phase: true,
|
|
466
|
-
reasonCode: true,
|
|
467
|
-
status: true,
|
|
468
|
-
summary: true
|
|
469
|
-
}).optional(),
|
|
470
|
-
canWakeNow: z$1.boolean().optional()
|
|
471
|
-
}))
|
|
472
|
-
});
|
|
473
|
-
const cliJsonSpaceListOrganizationEnvelopeSchema = defineStrictSuccessEnvelope("space.list.organization", {
|
|
474
|
-
scope: z$1.literal("organization"),
|
|
475
|
-
organizationId: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.organizationId,
|
|
476
|
-
generatedAt: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.generatedAt,
|
|
477
|
-
total: z$1.number().int().nonnegative(),
|
|
478
|
-
returned: z$1.number().int().nonnegative(),
|
|
479
|
-
spaces: organizationSpaceDirectoryWithMemberCountsResponseSchema.shape.spaces
|
|
480
|
-
});
|
|
481
|
-
const cliJsonOrganizationDirectoryEnvelopeSchema = defineStrictSuccessEnvelope("organization.directory", organizationDirectoryResponseSchema.shape);
|
|
482
|
-
const cliJsonOrganizationComputersEnvelopeSchema = defineStrictSuccessEnvelope("organization.computers", organizationComputersResponseSchema.shape);
|
|
483
|
-
const cliJsonOrganizationInviteLinkGetEnvelopeSchema = defineStrictSuccessEnvelope("organization.invite_link.get", getOrganizationJoinLinkResponseSchema.shape);
|
|
484
|
-
const cliJsonOrganizationInviteLinkCreateEnvelopeSchema = defineStrictSuccessEnvelope("organization.invite_link.create", getOrganizationJoinLinkResponseSchema.shape);
|
|
485
|
-
const cliJsonOrganizationInviteLinkRevokeEnvelopeSchema = defineStrictSuccessEnvelope("organization.invite_link.revoke", revokeOrganizationJoinLinkResponseSchema.shape);
|
|
486
|
-
const cliJsonSkillsListEnvelopeSchema = defineStrictSuccessEnvelope("skills.list", listOrganizationSkillsResponseSchema.shape);
|
|
487
|
-
const cliJsonSkillsShowEnvelopeSchema = defineStrictSuccessEnvelope("skills.show", getOrganizationSkillResponseSchema.shape);
|
|
488
|
-
const cliJsonSkillsLoadEnvelopeSchema = defineStrictSuccessEnvelope("skills.load", {
|
|
489
|
-
cachePath: z$1.string().min(1),
|
|
490
|
-
digest: organizationSkillReleaseSummarySchema.shape.digest,
|
|
491
|
-
organizationId: organizationSkillSummarySchema.shape.organizationId,
|
|
492
|
-
releaseId: organizationSkillReleaseSummarySchema.shape.id,
|
|
493
|
-
resourcePaths: z$1.array(z$1.string().min(1)).max(128),
|
|
494
|
-
reused: z$1.boolean(),
|
|
495
|
-
skillId: organizationSkillSummarySchema.shape.id,
|
|
496
|
-
skillMarkdownPath: z$1.string().min(1),
|
|
497
|
-
skillName: organizationSkillSummarySchema.shape.name
|
|
498
|
-
});
|
|
499
|
-
/**
|
|
500
|
-
* The full `--json` output envelope: the failure envelope plus every success
|
|
501
|
-
* envelope, discriminated on `type`. A `--json` driver dispatches on
|
|
502
|
-
* `schemaVersion` + `type`; that frame is the contract this validates.
|
|
503
|
-
*/
|
|
504
|
-
const cliJsonOutputEnvelopeSchema = z$1.discriminatedUnion("type", [
|
|
505
|
-
cliJsonErrorEnvelopeSchema,
|
|
506
|
-
cliJsonDaemonRunEnvelopeSchema,
|
|
507
|
-
cliJsonDaemonInstallEnvelopeSchema,
|
|
508
|
-
cliJsonDaemonUninstallEnvelopeSchema,
|
|
509
|
-
cliJsonDaemonReinstallEnvelopeSchema,
|
|
510
|
-
cliJsonDaemonStatusEnvelopeSchema,
|
|
511
|
-
cliJsonServiceControlCapabilitiesEnvelopeSchema,
|
|
512
|
-
cliJsonDaemonStopEnvelopeSchema,
|
|
513
|
-
cliJsonDaemonAutostartEnvelopeSchema,
|
|
514
|
-
cliJsonAgentsDetectEnvelopeSchema,
|
|
515
|
-
cliJsonAgentsListEnvelopeSchema,
|
|
516
|
-
cliJsonAgentsShowEnvelopeSchema,
|
|
517
|
-
cliJsonAgentsEnableEnvelopeSchema,
|
|
518
|
-
cliJsonAgentsDisableEnvelopeSchema,
|
|
519
|
-
cliJsonFeedbackSubmittedEnvelopeSchema,
|
|
520
|
-
cliJsonProjectsListEnvelopeSchema,
|
|
521
|
-
cliJsonProjectsCreateEnvelopeSchema,
|
|
522
|
-
cliJsonProjectsUpdateEnvelopeSchema,
|
|
523
|
-
cliJsonProjectsArchiveEnvelopeSchema,
|
|
524
|
-
cliJsonProjectsBindEnvelopeSchema,
|
|
525
|
-
cliJsonProjectsUnbindEnvelopeSchema,
|
|
526
|
-
cliJsonProjectsConnectionsListEnvelopeSchema,
|
|
527
|
-
cliJsonProjectsConnectionsSetDefaultEnvelopeSchema,
|
|
528
|
-
cliJsonProjectsConnectionsRemoveEnvelopeSchema,
|
|
529
|
-
cliJsonAgentActivityReadEnvelopeSchema,
|
|
530
|
-
cliJsonAgentActivitySessionsEnvelopeSchema,
|
|
531
|
-
cliJsonAgentActivityInstallEnvelopeSchema,
|
|
532
|
-
cliJsonAgentActivityUninstallEnvelopeSchema,
|
|
533
|
-
cliJsonAgentActivityStatusEnvelopeSchema,
|
|
534
|
-
cliJsonAgentActivityHealthEnvelopeSchema,
|
|
535
|
-
cliJsonAgentActivitySyncEnvelopeSchema,
|
|
536
|
-
cliJsonAgentActivityContextEnvelopeSchema,
|
|
537
|
-
cliJsonRoutinesListEnvelopeSchema,
|
|
538
|
-
cliJsonRoutinesCreateEnvelopeSchema,
|
|
539
|
-
cliJsonRoutinesShowEnvelopeSchema,
|
|
540
|
-
cliJsonRoutinesUpdateEnvelopeSchema,
|
|
541
|
-
cliJsonRoutinesPauseEnvelopeSchema,
|
|
542
|
-
cliJsonRoutinesResumeEnvelopeSchema,
|
|
543
|
-
cliJsonRoutinesDeleteEnvelopeSchema,
|
|
544
|
-
cliJsonRoutinesRunsEnvelopeSchema,
|
|
545
|
-
cliJsonSpaceMembersEnvelopeSchema,
|
|
546
|
-
cliJsonSpaceMembersBriefEnvelopeSchema,
|
|
547
|
-
cliJsonSpaceListOrganizationEnvelopeSchema,
|
|
548
|
-
cliJsonOrganizationDirectoryEnvelopeSchema,
|
|
549
|
-
cliJsonOrganizationComputersEnvelopeSchema,
|
|
550
|
-
cliJsonOrganizationInviteLinkGetEnvelopeSchema,
|
|
551
|
-
cliJsonOrganizationInviteLinkCreateEnvelopeSchema,
|
|
552
|
-
cliJsonOrganizationInviteLinkRevokeEnvelopeSchema,
|
|
553
|
-
cliJsonSkillsListEnvelopeSchema,
|
|
554
|
-
cliJsonSkillsShowEnvelopeSchema,
|
|
555
|
-
cliJsonSkillsLoadEnvelopeSchema
|
|
556
|
-
]);
|
|
557
|
-
//#endregion
|
|
558
54
|
//#region src/commands/auth-device-session-client.ts
|
|
559
55
|
const DEFAULT_DEVICE_CLIENT_ID = "openmeld-cli";
|
|
560
56
|
const DEVICE_CLIENT_ID_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._:-]{1,63}$/;
|
|
@@ -3272,8 +2768,8 @@ function launchExecutionHost(input) {
|
|
|
3272
2768
|
serialization: "json",
|
|
3273
2769
|
stdio: [
|
|
3274
2770
|
"ignore",
|
|
3275
|
-
|
|
3276
|
-
|
|
2771
|
+
process.stdout.fd,
|
|
2772
|
+
process.stderr.fd,
|
|
3277
2773
|
"ipc"
|
|
3278
2774
|
],
|
|
3279
2775
|
windowsHide: true
|
|
@@ -4085,7 +3581,7 @@ async function reconcileSupervisorRegistrationOnce(input) {
|
|
|
4085
3581
|
try {
|
|
4086
3582
|
await markDaemonServiceRegistrationRepairPending(manager.controller);
|
|
4087
3583
|
await ensureDaemonSystemServiceCommandFiles({ controller: manager.controller });
|
|
4088
|
-
await manager.install(
|
|
3584
|
+
await manager.install(await resolveInstalledDaemonSystemServiceCommandSpec({ controller: manager.controller }));
|
|
4089
3585
|
await clearDaemonServiceRegistrationRepairPending();
|
|
4090
3586
|
await emitDaemonLifecycleEvent({
|
|
4091
3587
|
type: "service_manager.registration_reconcile",
|
|
@@ -4724,6 +4220,11 @@ function resolveDaemonCapabilitiesFromAdapterIds(input) {
|
|
|
4724
4220
|
}
|
|
4725
4221
|
//#endregion
|
|
4726
4222
|
//#region src/local-service/execution-host/socket-link.ts
|
|
4223
|
+
const ADMISSION_DETAIL_CODE_PATTERN = /^[a-z][a-z0-9_.-]{0,79}$/u;
|
|
4224
|
+
const admissionDetailCode = (error, fallback) => {
|
|
4225
|
+
const code = error instanceof ExecutionHostError ? error.code : fallback;
|
|
4226
|
+
return ADMISSION_DETAIL_CODE_PATTERN.test(code) ? code : fallback;
|
|
4227
|
+
};
|
|
4727
4228
|
function createExecutionHostSocketLink(input) {
|
|
4728
4229
|
let generation = null;
|
|
4729
4230
|
let bound = false;
|
|
@@ -4734,11 +4235,38 @@ function createExecutionHostSocketLink(input) {
|
|
|
4734
4235
|
let configuration = Promise.resolve();
|
|
4735
4236
|
let queuedFrames = 0;
|
|
4736
4237
|
let publishedAdmission = false;
|
|
4238
|
+
let admissionRevision = 0;
|
|
4239
|
+
let admissionEvidence = null;
|
|
4240
|
+
let configureFailureCode = null;
|
|
4241
|
+
let healthFailureCode = null;
|
|
4242
|
+
let connectionInitializingReason = "connection_initializing";
|
|
4737
4243
|
const canAccept = () => !closed && bound && input.host.available() && observed?.admission === "open" && !observed.startupReplayPending;
|
|
4738
|
-
const
|
|
4244
|
+
const currentAdmissionReason = () => {
|
|
4245
|
+
if (!bound) return configureFailureCode ? {
|
|
4246
|
+
reasonCode: "host_configure_failed",
|
|
4247
|
+
detailCode: configureFailureCode
|
|
4248
|
+
} : { reasonCode: connectionInitializingReason };
|
|
4249
|
+
if (!input.host.available()) return { reasonCode: "host_unavailable" };
|
|
4250
|
+
if (!observed) return healthFailureCode ? {
|
|
4251
|
+
reasonCode: "host_health_unconfirmed",
|
|
4252
|
+
detailCode: healthFailureCode
|
|
4253
|
+
} : { reasonCode: "host_health_unconfirmed" };
|
|
4254
|
+
if (observed.admission !== "open") return { reasonCode: "host_draining" };
|
|
4255
|
+
if (observed.startupReplayPending) return { reasonCode: "startup_replay_pending" };
|
|
4256
|
+
return { reasonCode: "host_ready" };
|
|
4257
|
+
};
|
|
4258
|
+
const notifyAdmission = (reasonCode) => {
|
|
4739
4259
|
const next = canAccept();
|
|
4740
|
-
|
|
4260
|
+
const reason = reasonCode ? { reasonCode } : currentAdmissionReason();
|
|
4261
|
+
if (next !== publishedAdmission || generation !== null && (admissionEvidence?.reasonCode !== reason.reasonCode || admissionEvidence?.detailCode !== reason.detailCode)) {
|
|
4741
4262
|
publishedAdmission = next;
|
|
4263
|
+
if (generation !== null) admissionEvidence = {
|
|
4264
|
+
acceptingDispatches: next,
|
|
4265
|
+
connectionGeneration: generation,
|
|
4266
|
+
revision: ++admissionRevision,
|
|
4267
|
+
changedAtMs: Date.now(),
|
|
4268
|
+
...reason
|
|
4269
|
+
};
|
|
4742
4270
|
input.onAdmissionChanged();
|
|
4743
4271
|
}
|
|
4744
4272
|
};
|
|
@@ -4751,8 +4279,10 @@ function createExecutionHostSocketLink(input) {
|
|
|
4751
4279
|
observationDirty = false;
|
|
4752
4280
|
observation = input.host.call("health", {}).then((next) => {
|
|
4753
4281
|
observed = next;
|
|
4282
|
+
healthFailureCode = null;
|
|
4754
4283
|
}).catch((error) => {
|
|
4755
4284
|
observed = null;
|
|
4285
|
+
healthFailureCode = admissionDetailCode(error, "host.health_failed");
|
|
4756
4286
|
input.onError(error);
|
|
4757
4287
|
}).finally(() => {
|
|
4758
4288
|
observation = null;
|
|
@@ -4785,22 +4315,46 @@ function createExecutionHostSocketLink(input) {
|
|
|
4785
4315
|
});
|
|
4786
4316
|
return {
|
|
4787
4317
|
canAccept,
|
|
4318
|
+
admissionEvidence: () => admissionEvidence,
|
|
4788
4319
|
snapshot: () => observed,
|
|
4789
4320
|
async configure(request) {
|
|
4790
4321
|
const previous = configuration;
|
|
4791
|
-
|
|
4322
|
+
const previousGeneration = generation;
|
|
4323
|
+
if (generation !== request.connectionGeneration) {
|
|
4324
|
+
bound = false;
|
|
4325
|
+
configureFailureCode = null;
|
|
4326
|
+
connectionInitializingReason = previousGeneration === null ? "connection_initializing" : "connection_replaced";
|
|
4327
|
+
admissionRevision = 0;
|
|
4328
|
+
admissionEvidence = {
|
|
4329
|
+
acceptingDispatches: false,
|
|
4330
|
+
connectionGeneration: request.connectionGeneration,
|
|
4331
|
+
revision: 0,
|
|
4332
|
+
changedAtMs: Date.now(),
|
|
4333
|
+
reasonCode: connectionInitializingReason
|
|
4334
|
+
};
|
|
4335
|
+
}
|
|
4792
4336
|
generation = request.connectionGeneration;
|
|
4793
4337
|
notifyAdmission();
|
|
4794
|
-
|
|
4338
|
+
configuration = previous.catch(() => void 0).then(async () => {
|
|
4795
4339
|
if (closed || generation !== request.connectionGeneration) throw new ExecutionHostError("host.connection_replaced", "This socket was replaced before Host configuration.");
|
|
4796
|
-
|
|
4340
|
+
const nextObservation = await input.host.call("configureConnection", request);
|
|
4797
4341
|
if (!closed && generation === request.connectionGeneration) {
|
|
4342
|
+
observed = nextObservation;
|
|
4343
|
+
healthFailureCode = null;
|
|
4344
|
+
configureFailureCode = null;
|
|
4798
4345
|
bound = true;
|
|
4799
4346
|
notifyAdmission();
|
|
4800
4347
|
}
|
|
4348
|
+
}).catch((error) => {
|
|
4349
|
+
if (!closed && generation === request.connectionGeneration) {
|
|
4350
|
+
bound = false;
|
|
4351
|
+
observed = null;
|
|
4352
|
+
configureFailureCode = admissionDetailCode(error, "host.configure_failed");
|
|
4353
|
+
notifyAdmission();
|
|
4354
|
+
}
|
|
4355
|
+
throw error;
|
|
4801
4356
|
});
|
|
4802
|
-
configuration
|
|
4803
|
-
await next;
|
|
4357
|
+
await configuration;
|
|
4804
4358
|
},
|
|
4805
4359
|
forward(frame) {
|
|
4806
4360
|
const request = serviceExecutionHostMethods.handleFrame.input.safeParse({
|
|
@@ -4838,10 +4392,12 @@ function createExecutionHostSocketLink(input) {
|
|
|
4838
4392
|
}, { timeoutMs: 2e3 }).then((next) => {
|
|
4839
4393
|
if (!closed && generation === expectedGeneration) {
|
|
4840
4394
|
observed = next;
|
|
4395
|
+
healthFailureCode = null;
|
|
4841
4396
|
notifyAdmission();
|
|
4842
4397
|
}
|
|
4843
4398
|
}).catch((error) => {
|
|
4844
4399
|
observed = null;
|
|
4400
|
+
healthFailureCode = admissionDetailCode(error, "host.heartbeat_failed");
|
|
4845
4401
|
input.onError(error);
|
|
4846
4402
|
if (!closed) notifyAdmission();
|
|
4847
4403
|
});
|
|
@@ -6327,6 +5883,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6327
5883
|
let admissionHeartbeatPending = false;
|
|
6328
5884
|
const heartbeatIdleWaiters = [];
|
|
6329
5885
|
let acceptingDispatches = false;
|
|
5886
|
+
let shutdownAdmissionEvidence = null;
|
|
6330
5887
|
let shutdownStopCause = null;
|
|
6331
5888
|
let controlledShutdownCompleted = false;
|
|
6332
5889
|
let routeCatalogSyncInFlight = false;
|
|
@@ -6382,6 +5939,12 @@ async function runDaemonSocketSession(input) {
|
|
|
6382
5939
|
socket: input.socket,
|
|
6383
5940
|
onAdmissionChanged: () => {
|
|
6384
5941
|
acceptingDispatches = !shutdownStopCause && hostLink.canAccept();
|
|
5942
|
+
emitRunLine({
|
|
5943
|
+
presenter: input.presenter,
|
|
5944
|
+
code: "daemon.run.admission_changed",
|
|
5945
|
+
text: `Local dispatch admission is ${acceptingDispatches ? "open" : "closed"}.`,
|
|
5946
|
+
payload: shutdownAdmissionEvidence ?? hostLink.admissionEvidence()
|
|
5947
|
+
});
|
|
6385
5948
|
if (heartbeatInFlight || lastHeartbeatSentAtMs !== null) scheduleHeartbeat({
|
|
6386
5949
|
delayMs: 0,
|
|
6387
5950
|
reason: "execution_host_admission_changed"
|
|
@@ -6583,6 +6146,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6583
6146
|
acceptingDispatches,
|
|
6584
6147
|
stopCause: shutdownStopCause
|
|
6585
6148
|
}),
|
|
6149
|
+
...admissionEvidenceSupported && (shutdownAdmissionEvidence ?? hostLink.admissionEvidence()) ? { admissionEvidence: shutdownAdmissionEvidence ?? hostLink.admissionEvidence() } : {},
|
|
6586
6150
|
serviceVersion,
|
|
6587
6151
|
leases,
|
|
6588
6152
|
runtimeContract: { epoch: DAEMON_RUNTIME_CONTRACT_EPOCH },
|
|
@@ -6780,6 +6344,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6780
6344
|
const serviceVersion = OPENMELD_VERSION;
|
|
6781
6345
|
let computerCareSupported = false;
|
|
6782
6346
|
let executionAdmissionSupported = false;
|
|
6347
|
+
let admissionEvidenceSupported = false;
|
|
6783
6348
|
const readSessionLocalComponentsStatus = () => input.localComponentsObservation.read(() => {
|
|
6784
6349
|
if (lastHeartbeatSentAtMs !== null) scheduleHeartbeat({
|
|
6785
6350
|
delayMs: 0,
|
|
@@ -6828,6 +6393,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6828
6393
|
});
|
|
6829
6394
|
computerCareSupported = response.computerCare === true;
|
|
6830
6395
|
executionAdmissionSupported = response.executionAdmissionConfirmation === true;
|
|
6396
|
+
admissionEvidenceSupported = response.admissionEvidence === true;
|
|
6831
6397
|
return response;
|
|
6832
6398
|
};
|
|
6833
6399
|
const resolveCatalogSyncForcePayload = (inputSync) => inputSync?.forceReason ? { forceReason: inputSync.forceReason } : void 0;
|
|
@@ -7439,6 +7005,15 @@ async function runDaemonSocketSession(input) {
|
|
|
7439
7005
|
async function finishControlledShutdown(stopCause) {
|
|
7440
7006
|
acceptingDispatches = false;
|
|
7441
7007
|
shutdownStopCause = stopCause;
|
|
7008
|
+
const priorAdmissionEvidence = hostLink.admissionEvidence();
|
|
7009
|
+
shutdownAdmissionEvidence = {
|
|
7010
|
+
acceptingDispatches: false,
|
|
7011
|
+
connectionGeneration: activeConnectionGeneration,
|
|
7012
|
+
revision: (priorAdmissionEvidence?.revision ?? 0) + 1,
|
|
7013
|
+
changedAtMs: Date.now(),
|
|
7014
|
+
reasonCode: "controlled_stop",
|
|
7015
|
+
detailCode: stopCause
|
|
7016
|
+
};
|
|
7442
7017
|
await input.executionHost.call("beginDrain", {});
|
|
7443
7018
|
clearHeartbeatTimer();
|
|
7444
7019
|
emitRunLine({
|
|
@@ -7709,9 +7284,9 @@ async function resolveDaemonServiceParticipationStatus(input) {
|
|
|
7709
7284
|
}
|
|
7710
7285
|
//#endregion
|
|
7711
7286
|
//#region src/local-components/manifest.ts
|
|
7712
|
-
const OPENMELD_CLI_COMMAND_CONTRACT_VERSION = "openmeld-cli-command-contract-2026-09-space-
|
|
7287
|
+
const OPENMELD_CLI_COMMAND_CONTRACT_VERSION = "openmeld-cli-command-contract-2026-09-space-files-1gib-v1";
|
|
7713
7288
|
const OPENMELD_SKILLS_CONTRACT_VERSION = "openmeld-skills-contract-2026-09-explicit-space-recipients-v1";
|
|
7714
|
-
const OPENMELD_SERVICE_CONTRACT_VERSION = "openmeld-service-contract-2026-09-
|
|
7289
|
+
const OPENMELD_SERVICE_CONTRACT_VERSION = "openmeld-service-contract-2026-09-space-files-1gib-v1";
|
|
7715
7290
|
const LOCAL_COMPONENTS_SNAPSHOT_FILE = "local-components.json";
|
|
7716
7291
|
const SERVICE_COMPONENT_UPDATE_CODES = /* @__PURE__ */ new Set([
|
|
7717
7292
|
"version_outdated",
|
|
@@ -8109,6 +7684,7 @@ function buildLocalServiceCapabilityHeaders(input) {
|
|
|
8109
7684
|
[OPENMELD_REASONING_STREAM_HEADER]: "1",
|
|
8110
7685
|
[OPENMELD_COMPUTER_CARE_HEADER]: "1",
|
|
8111
7686
|
[OPENMELD_EXECUTION_ADMISSION_HEADER]: "1",
|
|
7687
|
+
[OPENMELD_ADMISSION_EVIDENCE_HEADER]: "1",
|
|
8112
7688
|
...input.localFolderPickerAvailable ? { [OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER]: LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY } : {},
|
|
8113
7689
|
[OPENMELD_RUNTIME_CAPABILITIES_HEADER]: COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY
|
|
8114
7690
|
};
|
|
@@ -9810,7 +9386,7 @@ async function removeSystemServiceRegistration(systemManager) {
|
|
|
9810
9386
|
}
|
|
9811
9387
|
async function repairSystemServiceRegistration(input) {
|
|
9812
9388
|
if (!input.systemManager) return;
|
|
9813
|
-
const serviceCommandSpec =
|
|
9389
|
+
const serviceCommandSpec = await resolveInstalledDaemonSystemServiceCommandSpec({
|
|
9814
9390
|
controller: input.systemManager.controller,
|
|
9815
9391
|
environmentTarget: await resolveOpenMeldEnvironmentTarget({ gatewayUrl: input.gatewayUrl })
|
|
9816
9392
|
});
|
|
@@ -12292,7 +11868,7 @@ function buildSystemServiceStartupFailureReportFromVerdict(verdict, options) {
|
|
|
12292
11868
|
}
|
|
12293
11869
|
const crashExitCode = jobDiagnostics ? readDaemonServiceJobCrashExitCode(jobDiagnostics) : null;
|
|
12294
11870
|
if (jobDiagnostics && crashExitCode !== null) {
|
|
12295
|
-
const summary = "OpenMeld Service
|
|
11871
|
+
const summary = "OpenMeld Service stopped after it started.";
|
|
12296
11872
|
const card = buildDaemonStartNeedsAttentionCard({
|
|
12297
11873
|
summary,
|
|
12298
11874
|
nextStep: formatInlineOpenMeldCliCommands("Run `openmeld service repair` once. OpenMeld saved the startup evidence for diagnostics."),
|
|
@@ -15593,7 +15169,7 @@ async function recoverSystemServiceStartupAfterTimeout(input) {
|
|
|
15593
15169
|
}
|
|
15594
15170
|
async function runSystemServiceManager(input) {
|
|
15595
15171
|
const startedAtMs = Date.now();
|
|
15596
|
-
const serviceCommandSpec =
|
|
15172
|
+
const serviceCommandSpec = await resolveInstalledDaemonSystemServiceCommandSpec({
|
|
15597
15173
|
controller: input.systemManager.controller,
|
|
15598
15174
|
environmentTarget: await resolveOpenMeldEnvironmentTarget({ gatewayUrl: input.gatewayUrl })
|
|
15599
15175
|
});
|
|
@@ -16362,6 +15938,6 @@ function parseDaemonRunMode(rawMode) {
|
|
|
16362
15938
|
return DEFAULT_DAEMON_RUN_MODE;
|
|
16363
15939
|
}
|
|
16364
15940
|
//#endregion
|
|
16365
|
-
export { buildAuthStatusSnapshot as $, buildDaemonStartNeedsAttentionCard as A, resolveDaemonServiceParticipationStatus as B, buildProfileWorkspaceRows as C,
|
|
15941
|
+
export { buildAuthStatusSnapshot as $, buildDaemonStartNeedsAttentionCard as A, resolveDaemonServiceParticipationStatus as B, buildProfileWorkspaceRows as C, createDelayedSpinner as D, emitDaemonAgentOverview as E, emitCliJsonEnvelope as F, ensureCommandAuthenticationOrCancel as G, validateLocalProjectConnectionPath as H, runDaemonStartupPreflight as I, runAuthLogout as J, evaluateCommandAuthentication as K, readDaemonIncidentLogTail as L, buildHumanErrorCopy as M, renderHumanErrorCard as N, shouldEmitAgentOverview as O, renderHumanTextErrorCard as P, buildAuthStatusRows as Q, resolveLocalComponentsStatus as R, buildProfileWorkspacePresentation as S, createQuietPresenter as T, connectWebSocket as U, LocalProjectConnectionError as V, buildCommandAuthenticationPromptMessage as W, runAuthStatus as X, runAuthMenu as Y, exchangeOneTimeTokenAuthSession as Z, buildDaemonBackgroundStartFailure as _, resolveDeviceTokenExpiresAt as _t, runDaemonBackgroundStartForDecision as a, promptTextEntry as at, formatServiceRuntimeHeadline as b, runDaemonInterrupt as c, finishCurrentCommandCheckScope as ct, runDaemonServiceDetached as d, resetCurrentCommandCheckState as dt, formatActiveOrganizationLabel as et, runDaemonSnapshot as f, startCurrentCommandCheckScope as ft, runDaemonUninstall as g, resolveDeviceAuthClientId as gt, runDaemonTeardownStrict as h, requestDeviceToken as ht, runDaemonAutostart as i, buildUnifiedCardFrame as it, runDaemonStartDecisionPrompt as j, buildDaemonStartDeferredCard as k, runDaemonReinstall as l, getCurrentCommandCheckState as lt, runDaemonStop as m, fetchAuthUserSnapshot as mt, isManagedSystemServiceBootstrapRun as n, renderInfoCard as nt, runDaemonCancel as o, isReturnKeypress as ot, runDaemonStatusFlow as p, extractAuthApiErrorMessage as pt, runAuthLogin as q, runDaemon as r, renderTextInfoCard as rt, runDaemonInstall as s, runInteractivePrompt as st, bestEffortStopCurrentLaneDaemonService as t, buildTextInfoCardLines as tt, runDaemonRunAfterEntryChecks as u, isCurrentCommandCheckScopeActive as ut, buildSystemServiceStartupFailureReportFromVerdict as v, revokeAuthAccessToken as vt, reconcileCliVersionView as w, resolveServiceParticipationReadiness as x, formatServiceParticipationReadinessLabel as y, writeInstalledLocalComponentsSnapshot as z };
|
|
16366
15942
|
|
|
16367
|
-
//# sourceMappingURL=service-
|
|
15943
|
+
//# sourceMappingURL=service-Dz2MsvGr.js.map
|