openmeld 0.3.293 → 0.3.295
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-CCs8sUQS.js → add-me-membership-CM0Z3OIU.js} +2 -2
- package/dist/{add-me-membership-CCs8sUQS.js.map → add-me-membership-CM0Z3OIU.js.map} +1 -1
- package/dist/{agents-Ow9keQaE.js → agents-DMy2nQul.js} +9 -9
- package/dist/{agents-Ow9keQaE.js.map → agents-DMy2nQul.js.map} +1 -1
- package/dist/{api-client-foundation-D4qt8-I7.js → api-client-foundation-CRQZIYVN.js} +5 -5
- package/dist/{api-client-foundation-D4qt8-I7.js.map → api-client-foundation-CRQZIYVN.js.map} +1 -1
- package/dist/{api-client-foundation-f11_Z91X.js → api-client-foundation-DcWfF50S.js} +1 -1
- package/dist/{auth-session-GYsWoDuJ.js → auth-session-QFK36vfX.js} +2 -2
- package/dist/{auth-session-GYsWoDuJ.js.map → auth-session-QFK36vfX.js.map} +1 -1
- package/dist/auth-session-WM8aC6bg.js +3 -0
- package/dist/{channel-DfaHRitM.js → channel-D1NKTdY0.js} +3 -3
- package/dist/{channel-DfaHRitM.js.map → channel-D1NKTdY0.js.map} +1 -1
- package/dist/{cli-binary-manifest-t_TXQ6-t.js → cli-binary-manifest-DhSiC1mr.js} +2 -2
- package/dist/{cli-binary-manifest-t_TXQ6-t.js.map → cli-binary-manifest-DhSiC1mr.js.map} +1 -1
- package/dist/{cloud-computer-KEqLjDMV.js → cloud-computer-BXo_qq3t.js} +5 -5
- package/dist/{cloud-computer-KEqLjDMV.js.map → cloud-computer-BXo_qq3t.js.map} +1 -1
- package/dist/{command-Bjok_ELo.js → command-BzMRuqeP.js} +17 -17
- package/dist/{command-Bjok_ELo.js.map → command-BzMRuqeP.js.map} +1 -1
- package/dist/{computer-connection-review-EUXp_Wi8.js → computer-connection-review-DKKoSgNl.js} +4 -4
- package/dist/{computer-connection-review-EUXp_Wi8.js.map → computer-connection-review-DKKoSgNl.js.map} +1 -1
- package/dist/{computer-disconnect-BkFLO8pE.js → computer-disconnect-Cd6qNdlo.js} +7 -7
- package/dist/{computer-disconnect-BkFLO8pE.js.map → computer-disconnect-Cd6qNdlo.js.map} +1 -1
- package/dist/{computer-setup-continuation-twvv8WGB.js → computer-setup-continuation-DEi94Jzc.js} +5 -5
- package/dist/{computer-setup-continuation-twvv8WGB.js.map → computer-setup-continuation-DEi94Jzc.js.map} +1 -1
- package/dist/{computer-update-wait-CAvCeH6l.js → computer-update-wait-D4ly51hV.js} +4 -4
- package/dist/{computer-update-wait-CAvCeH6l.js.map → computer-update-wait-D4ly51hV.js.map} +1 -1
- package/dist/{context-CPKBlAps.js → context-DqEUJy_k.js} +5 -5
- package/dist/{context-CPKBlAps.js.map → context-DqEUJy_k.js.map} +1 -1
- package/dist/{daemon-device-id-B-iuoFzM.js → daemon-device-id-DLKuN3Eo.js} +3 -3
- package/dist/{daemon-device-id-B-iuoFzM.js.map → daemon-device-id-DLKuN3Eo.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-ywEIaUn3.js → daemon-lifecycle-journal-D1dCp8bJ.js} +3 -3
- package/dist/{daemon-lifecycle-journal-ywEIaUn3.js.map → daemon-lifecycle-journal-D1dCp8bJ.js.map} +1 -1
- package/dist/{daemon-service-runtime-Dg8V-t-u.js → daemon-service-runtime-C1o0PjSJ.js} +90 -6
- package/dist/daemon-service-runtime-C1o0PjSJ.js.map +1 -0
- package/dist/{daemon-service-update-state-BclTmkAC.js → daemon-service-update-state-CtzTzni1.js} +2 -2
- package/dist/{daemon-service-update-state-BclTmkAC.js.map → daemon-service-update-state-CtzTzni1.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-DlpQwB6N.js → dispatch-owned-runtime-B6VEu6Ak.js} +10 -10
- package/dist/{dispatch-owned-runtime-DlpQwB6N.js.map → dispatch-owned-runtime-B6VEu6Ak.js.map} +1 -1
- package/dist/dist-CQRhcL_T.js +34 -0
- package/dist/{dist-BA8Q1IB5.js → dist-DUg7lB-e.js} +1 -1
- package/dist/{dist-B08nRCGz.js → dist-DsyrZzyU.js} +5 -5
- package/dist/{dist-B08nRCGz.js.map → dist-DsyrZzyU.js.map} +1 -1
- package/dist/{dist-W42Tu_IN.js → dist-WejKqo8X.js} +2 -2
- package/dist/{dist-D_FzuWN-.js → dist-zY7dD_tQ.js} +2 -2
- package/dist/{dist-D_FzuWN-.js.map → dist-zY7dD_tQ.js.map} +1 -1
- package/dist/{dual-view-guide-catalog-DE3NLJFV.js → dual-view-guide-catalog-DljFCp4Y.js} +4 -4
- package/dist/{dual-view-guide-catalog-DE3NLJFV.js.map → dual-view-guide-catalog-DljFCp4Y.js.map} +1 -1
- package/dist/{elapsed-time-FUf-2Hna.js → elapsed-time-CviuvW6T.js} +2 -2
- package/dist/{elapsed-time-FUf-2Hna.js.map → elapsed-time-CviuvW6T.js.map} +1 -1
- package/dist/{entry-CVzIpV2o.js → entry-DvVWq0E3.js} +8 -8
- package/dist/{entry-CVzIpV2o.js.map → entry-DvVWq0E3.js.map} +1 -1
- package/dist/{installation-inventory-C0tUL2nW.js → installation-inventory-D6L-BdIi.js} +3 -3
- package/dist/{installation-inventory-C0tUL2nW.js.map → installation-inventory-D6L-BdIi.js.map} +1 -1
- package/dist/{installer-BDOyjY1v.js → installer-CW2tqKD4.js} +2 -2
- package/dist/{installer-BDOyjY1v.js.map → installer-CW2tqKD4.js.map} +1 -1
- package/dist/{local-components-DlEpUgN3.js → local-components-BpA9Lc4v.js} +48 -2
- package/dist/local-components-BpA9Lc4v.js.map +1 -0
- package/dist/{meta-api-tolnQVpU.js → meta-api-CaQ0OVVz.js} +7 -7
- package/dist/{meta-api-tolnQVpU.js.map → meta-api-CaQ0OVVz.js.map} +1 -1
- package/dist/{openmeld-ClgSnNPJ.js → openmeld-ChVuhWd4.js} +37 -37
- package/dist/{openmeld-ClgSnNPJ.js.map → openmeld-ChVuhWd4.js.map} +1 -1
- package/dist/{openmeld-environment-target-BOA_c8yO.js → openmeld-environment-target-mLK2dK1_.js} +2 -2
- package/dist/{openmeld-environment-target-BOA_c8yO.js.map → openmeld-environment-target-mLK2dK1_.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-Btj47phf.js → openmeld-maintenance-worker-18yNz_T9.js} +12 -11
- package/dist/{openmeld-maintenance-worker-Btj47phf.js.map → openmeld-maintenance-worker-18yNz_T9.js.map} +1 -1
- package/dist/{openmeld-tools-update-attempt-state-D8oDuOp9.js → openmeld-tools-update-attempt-state--4fS27OC.js} +2 -2
- package/dist/{openmeld-tools-update-attempt-state-D8oDuOp9.js.map → openmeld-tools-update-attempt-state--4fS27OC.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-C3W6sFnm.js → openmeld-tools-update-coordinator-Doj6V0Qx.js} +39 -67
- package/dist/openmeld-tools-update-coordinator-Doj6V0Qx.js.map +1 -0
- package/dist/{openmeld-tools-update-failure-2jySZ04B.js → openmeld-tools-update-failure-B4OLQAq7.js} +2 -2
- package/dist/{openmeld-tools-update-failure-2jySZ04B.js.map → openmeld-tools-update-failure-B4OLQAq7.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-CDWWs9KY.js → openmeld-tools-update-join-B6HcSSiK.js} +11 -5
- package/dist/openmeld-tools-update-join-B6HcSSiK.js.map +1 -0
- package/dist/{openmeld-tools-update-process-frame-Dj3k5JHe.js → openmeld-tools-update-process-frame-CGFA81PP.js} +3 -3
- package/dist/{openmeld-tools-update-process-frame-Dj3k5JHe.js.map → openmeld-tools-update-process-frame-CGFA81PP.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-B-RacMxU.js → openmeld-tools-update-process-frame-D4LEFHvl.js} +1 -1
- package/dist/openmeld.js +6 -6
- package/dist/{prepare-provider-runtime-CQ7ZJMG8.js → prepare-provider-runtime-Cdm1_kJt.js} +9 -9
- package/dist/{prepare-provider-runtime-CQ7ZJMG8.js.map → prepare-provider-runtime-Cdm1_kJt.js.map} +1 -1
- package/dist/{prepare-session-executor-Cum_2pFY.js → prepare-session-executor-ChlTN4_s.js} +20 -20
- package/dist/{prepare-session-executor-Cum_2pFY.js.map → prepare-session-executor-ChlTN4_s.js.map} +1 -1
- package/dist/{presenter-BIwIweT9.js → presenter-DqdYrUMa.js} +2 -2
- package/dist/{presenter-BIwIweT9.js.map → presenter-DqdYrUMa.js.map} +1 -1
- package/dist/{process-channel-Dx1KqiZj.js → process-channel-Vz_ntXXU.js} +2 -2
- package/dist/{process-channel-Dx1KqiZj.js.map → process-channel-Vz_ntXXU.js.map} +1 -1
- package/dist/{runtime-ogScfw4m.js → runtime-DxUsqAl4.js} +17 -17
- package/dist/{runtime-ogScfw4m.js.map → runtime-DxUsqAl4.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-BgAI8B4L.js → runtime-agent-controller-reporting-submission-CGskliia.js} +7 -7
- package/dist/{runtime-agent-controller-reporting-submission-BgAI8B4L.js.map → runtime-agent-controller-reporting-submission-CGskliia.js.map} +1 -1
- package/dist/{runtime-transport-DNkqgRhX.js → runtime-transport-Ca0cGpAY.js} +2 -2
- package/dist/{runtime-transport-DNkqgRhX.js.map → runtime-transport-Ca0cGpAY.js.map} +1 -1
- package/dist/{sensitive-operation-credentials-Dsps0o1U.js → sensitive-operation-credentials-D7aFniHa.js} +3 -3
- package/dist/{sensitive-operation-credentials-Dsps0o1U.js.map → sensitive-operation-credentials-D7aFniHa.js.map} +1 -1
- package/dist/{service-account-authorization-DbbHAoMV.js → service-account-authorization-CdUOvV3c.js} +3 -3
- package/dist/{service-account-authorization-DbbHAoMV.js.map → service-account-authorization-CdUOvV3c.js.map} +1 -1
- package/dist/{service-account-control-Bkgjt8Hs.js → service-account-control-DZReqRJV.js} +8 -8
- package/dist/{service-account-control-Bkgjt8Hs.js.map → service-account-control-DZReqRJV.js.map} +1 -1
- package/dist/{service-control-capabilities-Bvhzddzv.js → service-control-capabilities-CuDpVm5i.js} +2 -2
- package/dist/{service-control-capabilities-Bvhzddzv.js.map → service-control-capabilities-CuDpVm5i.js.map} +1 -1
- package/dist/{service-control-capabilities-CUfHlN2t.js → service-control-capabilities-D2RMffJQ.js} +1 -1
- package/dist/{service-CML_ZTQ7.js → service-l9DU4V5Q.js} +45 -30
- package/dist/service-l9DU4V5Q.js.map +1 -0
- package/dist/{state-DI3VCm3Z.js → state-nzWj4_Pk.js} +2 -2
- package/dist/{state-DI3VCm3Z.js.map → state-nzWj4_Pk.js.map} +1 -1
- package/dist/{updates-api-C0n06BJr.js → updates-api-Bgme-Wrv.js} +13 -13
- package/dist/{updates-api-C0n06BJr.js.map → updates-api-Bgme-Wrv.js.map} +1 -1
- package/dist/upgrade-BminOoZS.js +3 -0
- package/dist/{upgrade-wV53HJsz.js → upgrade-i_sFuGdy.js} +22 -12
- package/dist/upgrade-i_sFuGdy.js.map +1 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +8 -8
- package/dist/auth-session-BrKZEvdi.js +0 -3
- package/dist/daemon-service-runtime-Dg8V-t-u.js.map +0 -1
- package/dist/dist-B6YM6pO6.js +0 -34
- package/dist/local-components-DlEpUgN3.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-C3W6sFnm.js.map +0 -1
- package/dist/openmeld-tools-update-join-CDWWs9KY.js.map +0 -1
- package/dist/service-CML_ZTQ7.js.map +0 -1
- package/dist/upgrade-DVlicVyI.js +0 -3
- package/dist/upgrade-wV53HJsz.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-control-capabilities-
|
|
1
|
+
{"version":3,"file":"service-control-capabilities-CuDpVm5i.js","names":[],"sources":["../src/commands/service-control-capabilities.ts"],"sourcesContent":["import { execFile } from \"node:child_process\";\nimport { realpath } from \"node:fs/promises\";\nimport { promisify } from \"node:util\";\nimport {\n serviceControlCapabilitiesSchema,\n serviceControlCarrierCapabilitySchema,\n} from \"@openmeld/schemas\";\nimport { readDaemonServiceContract } from \"../config/daemon-service-contract\";\nimport { sendLocalDaemonControlPlaneRequest } from \"../local-service/control-plane/client\";\nimport {\n daemonServiceBinaryExecutablePath,\n readDaemonActiveBundleState,\n resolveAlignedDaemonActiveBundleEntryPath,\n} from \"../local-service/lifecycle/daemon-service-bundle\";\nimport { resolveDaemonServiceManager } from \"../local-service/lifecycle/daemon-service-manager\";\nimport { readCurrentDaemonRuntimeContext } from \"../local-service/lifecycle/daemon-service-runtime\";\n\nasync function resolveCarrierProbe(\n platform: \"darwin\" | \"win32\",\n expectedVersion: string,\n binary: boolean\n) {\n if (platform === \"darwin\") {\n return {\n executable: await realpath(daemonServiceBinaryExecutablePath()),\n canonicalEntry: null,\n protocol: \"account-checked-service-control-v1\",\n };\n }\n // Probe the aligned immutable GUI carrier directly. For npm, bypass the\n // repairing launcher and use its verified JS entry with Start's exact Node.\n const entry = await resolveAlignedDaemonActiveBundleEntryPath({\n expectedVersion,\n });\n return entry\n ? {\n executable: await realpath(binary ? entry : process.execPath),\n canonicalEntry: binary ? null : await realpath(entry),\n protocol: binary\n ? \"account-checked-service-control-v3\"\n : \"account-checked-service-control-v2\",\n }\n : null;\n}\n\n/** Read only: never invoke the repairing npm launcher or a lifecycle operation. */\nexport async function readServiceControlCapabilities(\n platform: NodeJS.Platform = process.platform\n) {\n const unsupported = { deviceId: null, start: false, stop: false };\n if (platform !== \"darwin\" && platform !== \"win32\") {\n return unsupported;\n }\n const contract = await readDaemonServiceContract();\n const bundle = await readDaemonActiveBundleState();\n const binary = bundle?.bundleFormat === \"binary_v1\";\n if (\n contract?.serviceController !==\n (platform === \"win32\" ? \"windows-service\" : \"launchd\") ||\n !(\n binary ||\n (platform === \"win32\" && bundle?.bundleFormat === \"self_contained_v1\")\n )\n ) {\n return unsupported;\n }\n const manager = await resolveDaemonServiceManager(contract.serviceController);\n if (!(manager && (await manager.status()).installed)) {\n return unsupported;\n }\n // Guarded Start refreshes the supervisor command to this canonical executable.\n // Verify the executable that answered, so an old CLI delegating elsewhere\n // cannot advertise another binary's capability as its own.\n const probe = await resolveCarrierProbe(\n platform,\n contract.daemonVersion,\n binary\n );\n if (!probe) {\n return unsupported;\n }\n const { executable, canonicalEntry, protocol } = probe;\n const { stdout } = await promisify(execFile)(\n executable,\n [\n ...(canonicalEntry ? [canonicalEntry] : []),\n \"service\",\n \"control-carrier-capability\",\n \"--json\",\n ],\n { timeout: 10_000, maxBuffer: 16_384, windowsHide: true }\n );\n const carrier = serviceControlCarrierCapabilitySchema.safeParse(\n JSON.parse(stdout)\n );\n if (\n !carrier.success ||\n carrier.data.protocol !== protocol ||\n (await realpath(carrier.data.executable)) !== executable\n ) {\n return unsupported;\n }\n if (\n carrier.data.protocol === \"account-checked-service-control-v2\" &&\n (await realpath(carrier.data.entryScript)) !== canonicalEntry\n ) {\n return unsupported;\n }\n if (\n JSON.stringify(await readDaemonActiveBundleState()) !==\n JSON.stringify(bundle)\n ) {\n return unsupported;\n }\n const runtime = await readCurrentDaemonRuntimeContext();\n if (runtime.effectiveRuntimeStatus === \"not_running\") {\n return { deviceId: contract.deviceId, start: true, stop: false };\n }\n if (runtime.effectiveRuntimeStatus !== \"running\") {\n return unsupported;\n }\n const response = await sendLocalDaemonControlPlaneRequest({\n request: { v: 1, command: \"account_control_capabilities\" },\n });\n return serviceControlCapabilitiesSchema.parse({\n deviceId: contract.deviceId,\n start: false,\n stop:\n response.code === \"service.account_control_capabilities\" &&\n response.payload.supported,\n });\n}\n"],"mappings":";;;;;;;;;;;AAiBA,eAAe,oBACb,UACA,iBACA,QACA;CACA,IAAI,aAAa,UACf,OAAO;EACL,YAAY,MAAM,SAAS,kCAAkC,CAAC;EAC9D,gBAAgB;EAChB,UAAU;CACZ;CAIF,MAAM,QAAQ,MAAM,0CAA0C,EAC5D,gBACF,CAAC;CACD,OAAO,QACH;EACE,YAAY,MAAM,SAAS,SAAS,QAAQ,QAAQ,QAAQ;EAC5D,gBAAgB,SAAS,OAAO,MAAM,SAAS,KAAK;EACpD,UAAU,SACN,uCACA;CACN,IACA;AACN;;AAGA,eAAsB,+BACpB,WAA4B,QAAQ,UACpC;CACA,MAAM,cAAc;EAAE,UAAU;EAAM,OAAO;EAAO,MAAM;CAAM;CAChE,IAAI,aAAa,YAAY,aAAa,SACxC,OAAO;CAET,MAAM,WAAW,MAAM,0BAA0B;CACjD,MAAM,SAAS,MAAM,4BAA4B;CACjD,MAAM,SAAS,QAAQ,iBAAiB;CACxC,IACE,UAAU,uBACP,aAAa,UAAU,oBAAoB,cAC9C,EACE,UACC,aAAa,WAAW,QAAQ,iBAAiB,sBAGpD,OAAO;CAET,MAAM,UAAU,MAAM,4BAA4B,SAAS,iBAAiB;CAC5E,IAAI,EAAE,YAAY,MAAM,QAAQ,OAAO,EAAA,CAAG,YACxC,OAAO;CAKT,MAAM,QAAQ,MAAM,oBAClB,UACA,SAAS,eACT,MACF;CACA,IAAI,CAAC,OACH,OAAO;CAET,MAAM,EAAE,YAAY,gBAAgB,aAAa;CACjD,MAAM,EAAE,WAAW,MAAM,UAAU,QAAQ,CAAC,CAC1C,YACA;EACE,GAAI,iBAAiB,CAAC,cAAc,IAAI,CAAC;EACzC;EACA;EACA;CACF,GACA;EAAE,SAAS;EAAQ,WAAW;EAAQ,aAAa;CAAK,CAC1D;CACA,MAAM,UAAU,sCAAsC,UACpD,KAAK,MAAM,MAAM,CACnB;CACA,IACE,CAAC,QAAQ,WACT,QAAQ,KAAK,aAAa,YACzB,MAAM,SAAS,QAAQ,KAAK,UAAU,MAAO,YAE9C,OAAO;CAET,IACE,QAAQ,KAAK,aAAa,wCACzB,MAAM,SAAS,QAAQ,KAAK,WAAW,MAAO,gBAE/C,OAAO;CAET,IACE,KAAK,UAAU,MAAM,4BAA4B,CAAC,MAClD,KAAK,UAAU,MAAM,GAErB,OAAO;CAET,MAAM,UAAU,MAAM,gCAAgC;CACtD,IAAI,QAAQ,2BAA2B,eACrC,OAAO;EAAE,UAAU,SAAS;EAAU,OAAO;EAAM,MAAM;CAAM;CAEjE,IAAI,QAAQ,2BAA2B,WACrC,OAAO;CAET,MAAM,WAAW,MAAM,mCAAmC,EACxD,SAAS;EAAE,GAAG;EAAG,SAAS;CAA+B,EAC3D,CAAC;CACD,OAAO,iCAAiC,MAAM;EAC5C,UAAU,SAAS;EACnB,OAAO;EACP,MACE,SAAS,SAAS,0CAClB,SAAS,QAAQ;CACrB,CAAC;AACH"}
|
|
@@ -5,45 +5,45 @@ import { D as openMeldRootDir, F as resolveOpenMeldRootDir, I as resolveOpenMeld
|
|
|
5
5
|
import { r as resolveAuthBaseUrl } from "./auth-url-CzfXOINs.js";
|
|
6
6
|
import { lt as daemonServiceLaneSchema } from "./dist-CfBtqP8H.js";
|
|
7
7
|
import { tt as sanitizeDispatchErrorSummary } from "./task-result-CWH3TdDu.js";
|
|
8
|
-
import { Db as COMPUTER_POWER_CAPABILITY_HEADER, El as SESSION_HISTORY_CAPABILITY_HEADER, En as createServiceConnectionEvidenceApi, Ja as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Ll as sessionHistoryRequestFrameSchema, Ol as SESSION_HISTORY_RUNTIME_CAPABILITY, Pl as sessionHistoryPolicySchema, Py as localProjectControlDaemonFrameSchema, Ry as localProjectControlDiscoverProjectsResponseSchema, Tg as serviceConnectionEvidenceJournalSchema, Xa as betterAuthDeviceAuthorizationCodeRequestSchema, Za as betterAuthDeviceAuthorizationCodeResponseSchema, eo as betterAuthDeviceAuthorizationErrorResponseSchema, fb as computerFileAccessDaemonFrameSchema, io as betterAuthSessionSnapshotResponseSchema, kl as sessionHistoryAuditSchema, lb as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, no as betterAuthDeviceAuthorizationTokenRequestSchema, ro as betterAuthDeviceAuthorizationTokenResponseSchema, ub as OPENMELD_RUNTIME_CAPABILITIES_HEADER, ur as DAEMON_STREAM_KEEPALIVE_PING, wg as serviceConnectionEvidenceEventSchema, zl as sessionHistoryResultFrameSchema } from "./dist-
|
|
9
|
-
import { $ as bindProject, At as listAgentTargetStates, C as syncDaemonRouteCatalogState, G as resolveConfiguredProfileWorkspacePathForAccount, H as readProfileWorkspaceConfigForAccount, I as ensureOpenMeldManagedProfileWorkspace, Jn as resolveInstalledCodexLaunchCandidates, K as setCustomProfileWorkspace, Kr as DaemonServiceRunError, Kt as resolveRegistryRuntimeAdapterCapabilitySnapshot, Q as ProjectBindingStoreUpdateRequiredError, S as summarizeSkippedDaemonProfiles, St as emitReconcileStartedEvidence, U as readSavedProfileWorkspaceForAccount, Z as ProjectBindingOperationError, b as createRouteCatalogFromMutableState, bt as emitDriftDetectedEvidence, ct as removeProjectConnection, dn as MIN_HEARTBEAT_INTERVAL_MS, dt as setDefaultProjectConnection, fn as applyAcceptedLeases, gn as resolveCatalogSyncIntervalMs, hn as resolveAdaptiveHeartbeatIntervalMs, ht as resolveLocalProjectConnectionForPath, it as listProjectConnectionsWithStatus, ln as ADAPTIVE_HEARTBEAT_JITTER_RATIO, mn as pruneStaleLeases, mt as isProjectConnectionReadableByOwner, pn as applyIntervalJitterMs$1, rt as listProjectBindings, sn as resolveRouteRegistrationReconcileDecision, st as removeMissingProjectConnections, un as MAX_HEARTBEAT_INTERVAL_MS, xt as emitReconcileCompletedEvidence, y as createMutableRouteCatalogState, yt as syncDeviceRuntimeStateProjection } from "./prepare-provider-runtime-
|
|
10
|
-
import { $ as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Ca as localFolderPickerHelperProtocolResultSchema, J as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, K as runtimeTransportLocalAgentControlManageProfileFoldersFramePayloadSchema, X as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Xn as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, _a as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, ba as localFolderPickerDaemonFrameSchema, cr as OPENMELD_COMPUTER_CARE_HEADER, ct as runtimeTransportRouteCatalogChangedFramePayloadSchema, et as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, f as localWakeRouteWorkingFolderObservationSchema, i as OPENMELD_EXECUTION_ADMISSION_HEADER, ia as OPENMELD_REASONING_STREAM_HEADER, nt as runtimeTransportRegisterSessionRequestSchema, q as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, r as OPENMELD_ADMISSION_EVIDENCE_HEADER, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, va as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, wa as localFolderPickerHelperResultSchema, z as runtimeTransportHeartbeatRequestSchema } from "./runtime-transport-
|
|
11
|
-
import { a as formatLocalSetupActionLabel, i as formatLocalSetupActionDescription, n as formatLocalComponentsSummaryDescription, o as installedLocalComponentsSnapshotSchema, r as formatLocalComponentsSummaryLabel } from "./local-components-
|
|
12
|
-
import { c as resolveCliBinaryPlatform } from "./cli-binary-manifest-
|
|
13
|
-
import { A as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, F as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, I as REGISTER_RESPONSE_TIMEOUT_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, M as HEARTBEAT_RESPONSE_TIMEOUT_MS, N as MAX_RECONNECT_DELAY_MS, O as DAEMON_STREAM_CONNECT_TIMEOUT_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, R as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, S as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, T as DAEMON_RUNTIME_CONTRACT_EPOCH, b as CATALOG_SYNC_RETRY_INTERVAL_MS, c as logComputerControlStage, d as normalizeOptionalText$2, f as normalizeText$1, i as resolvePreferredDaemonDeviceId, j as DEFAULT_RECONNECT_DELAY_MS, k as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, l as normalizeHeartbeatIntervalMs, n as ensureDaemonRuntimePaths, p as nowIsoString, r as resolveDaemonDeviceId, s as emitRunLine, v as toErrorMessage$6, w as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, x as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, y as warnDaemonEvent, z as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS } from "./daemon-device-id-
|
|
8
|
+
import { Db as COMPUTER_POWER_CAPABILITY_HEADER, El as SESSION_HISTORY_CAPABILITY_HEADER, En as createServiceConnectionEvidenceApi, Ja as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Ll as sessionHistoryRequestFrameSchema, Ol as SESSION_HISTORY_RUNTIME_CAPABILITY, Pl as sessionHistoryPolicySchema, Py as localProjectControlDaemonFrameSchema, Ry as localProjectControlDiscoverProjectsResponseSchema, Tg as serviceConnectionEvidenceJournalSchema, Xa as betterAuthDeviceAuthorizationCodeRequestSchema, Za as betterAuthDeviceAuthorizationCodeResponseSchema, eo as betterAuthDeviceAuthorizationErrorResponseSchema, fb as computerFileAccessDaemonFrameSchema, io as betterAuthSessionSnapshotResponseSchema, kl as sessionHistoryAuditSchema, lb as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, no as betterAuthDeviceAuthorizationTokenRequestSchema, ro as betterAuthDeviceAuthorizationTokenResponseSchema, ub as OPENMELD_RUNTIME_CAPABILITIES_HEADER, ur as DAEMON_STREAM_KEEPALIVE_PING, wg as serviceConnectionEvidenceEventSchema, zl as sessionHistoryResultFrameSchema } from "./dist-DsyrZzyU.js";
|
|
9
|
+
import { $ as bindProject, At as listAgentTargetStates, C as syncDaemonRouteCatalogState, G as resolveConfiguredProfileWorkspacePathForAccount, H as readProfileWorkspaceConfigForAccount, I as ensureOpenMeldManagedProfileWorkspace, Jn as resolveInstalledCodexLaunchCandidates, K as setCustomProfileWorkspace, Kr as DaemonServiceRunError, Kt as resolveRegistryRuntimeAdapterCapabilitySnapshot, Q as ProjectBindingStoreUpdateRequiredError, S as summarizeSkippedDaemonProfiles, St as emitReconcileStartedEvidence, U as readSavedProfileWorkspaceForAccount, Z as ProjectBindingOperationError, b as createRouteCatalogFromMutableState, bt as emitDriftDetectedEvidence, ct as removeProjectConnection, dn as MIN_HEARTBEAT_INTERVAL_MS, dt as setDefaultProjectConnection, fn as applyAcceptedLeases, gn as resolveCatalogSyncIntervalMs, hn as resolveAdaptiveHeartbeatIntervalMs, ht as resolveLocalProjectConnectionForPath, it as listProjectConnectionsWithStatus, ln as ADAPTIVE_HEARTBEAT_JITTER_RATIO, mn as pruneStaleLeases, mt as isProjectConnectionReadableByOwner, pn as applyIntervalJitterMs$1, rt as listProjectBindings, sn as resolveRouteRegistrationReconcileDecision, st as removeMissingProjectConnections, un as MAX_HEARTBEAT_INTERVAL_MS, xt as emitReconcileCompletedEvidence, y as createMutableRouteCatalogState, yt as syncDeviceRuntimeStateProjection } from "./prepare-provider-runtime-Cdm1_kJt.js";
|
|
10
|
+
import { $ as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Ca as localFolderPickerHelperProtocolResultSchema, J as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, K as runtimeTransportLocalAgentControlManageProfileFoldersFramePayloadSchema, X as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Xn as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, _a as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, ba as localFolderPickerDaemonFrameSchema, cr as OPENMELD_COMPUTER_CARE_HEADER, ct as runtimeTransportRouteCatalogChangedFramePayloadSchema, et as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, f as localWakeRouteWorkingFolderObservationSchema, i as OPENMELD_EXECUTION_ADMISSION_HEADER, ia as OPENMELD_REASONING_STREAM_HEADER, nt as runtimeTransportRegisterSessionRequestSchema, q as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, r as OPENMELD_ADMISSION_EVIDENCE_HEADER, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, va as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, wa as localFolderPickerHelperResultSchema, z as runtimeTransportHeartbeatRequestSchema } from "./runtime-transport-Ca0cGpAY.js";
|
|
11
|
+
import { R as openMeldToolsUpdateStepCode, a as formatLocalSetupActionLabel, i as formatLocalSetupActionDescription, n as formatLocalComponentsSummaryDescription, o as installedLocalComponentsSnapshotSchema, r as formatLocalComponentsSummaryLabel } from "./local-components-BpA9Lc4v.js";
|
|
12
|
+
import { c as resolveCliBinaryPlatform } from "./cli-binary-manifest-DhSiC1mr.js";
|
|
13
|
+
import { A as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, F as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, I as REGISTER_RESPONSE_TIMEOUT_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, M as HEARTBEAT_RESPONSE_TIMEOUT_MS, N as MAX_RECONNECT_DELAY_MS, O as DAEMON_STREAM_CONNECT_TIMEOUT_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, R as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, S as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, T as DAEMON_RUNTIME_CONTRACT_EPOCH, b as CATALOG_SYNC_RETRY_INTERVAL_MS, c as logComputerControlStage, d as normalizeOptionalText$2, f as normalizeText$1, i as resolvePreferredDaemonDeviceId, j as DEFAULT_RECONNECT_DELAY_MS, k as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, l as normalizeHeartbeatIntervalMs, n as ensureDaemonRuntimePaths, p as nowIsoString, r as resolveDaemonDeviceId, s as emitRunLine, v as toErrorMessage$6, w as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, x as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, y as warnDaemonEvent, z as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS } from "./daemon-device-id-DLKuN3Eo.js";
|
|
14
14
|
import { d as openMeldDaemonControlPlaneRequestSchema, f as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-CDbk-45J.js";
|
|
15
|
-
import { _ as localExecutionInputFrameSchema, b as localExecutionInputResponseSchema, h as LOCAL_EXECUTION_INPUT_CAPABILITY_HEADER, m as serviceExecutionHostSnapshotSchema, n as createExecutionHostClient, t as ExecutionHostError, u as serviceExecutionHostMethods } from "./channel-
|
|
16
|
-
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-
|
|
17
|
-
import { $ as resolveNextRuntimeAgentControllerReportSyncAtMs, Ln as cliJsonOutputEnvelopeSchema, V as buildRepositoryFingerprint, a as createCodexJsonRpcClient, at as updateComputerFileAccessPolicy, c as sendDaemonFrame, et as emitDaemonDispatchJournalEvent, it as resolveComputerFileAccessStorePath, l as ProfileFolderOperationError, n as assertDispatchOwnedRuntimeServiceMutationAllowed, nt as ComputerFileAccessStoreError, o as handleDaemonTransportFrame, ot as isSameOrDescendantPath, p as collectObservedSessionWorkingDirectories, rt as readComputerFileAccessPolicy, s as parseDaemonFrame, u as applyProfileFolderOperation, w as resolveOpenCodeDatabasePath, x as queryOpenCodeReadOnly, z as createServiceGitEnvironment } from "./dispatch-owned-runtime-
|
|
18
|
-
import { A as prepareDaemonServiceBundle,
|
|
15
|
+
import { _ as localExecutionInputFrameSchema, b as localExecutionInputResponseSchema, h as LOCAL_EXECUTION_INPUT_CAPABILITY_HEADER, m as serviceExecutionHostSnapshotSchema, n as createExecutionHostClient, t as ExecutionHostError, u as serviceExecutionHostMethods } from "./channel-D1NKTdY0.js";
|
|
16
|
+
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-nzWj4_Pk.js";
|
|
17
|
+
import { $ as resolveNextRuntimeAgentControllerReportSyncAtMs, Ln as cliJsonOutputEnvelopeSchema, V as buildRepositoryFingerprint, a as createCodexJsonRpcClient, at as updateComputerFileAccessPolicy, c as sendDaemonFrame, et as emitDaemonDispatchJournalEvent, it as resolveComputerFileAccessStorePath, l as ProfileFolderOperationError, n as assertDispatchOwnedRuntimeServiceMutationAllowed, nt as ComputerFileAccessStoreError, o as handleDaemonTransportFrame, ot as isSameOrDescendantPath, p as collectObservedSessionWorkingDirectories, rt as readComputerFileAccessPolicy, s as parseDaemonFrame, u as applyProfileFolderOperation, w as resolveOpenCodeDatabasePath, x as queryOpenCodeReadOnly, z as createServiceGitEnvironment } from "./dispatch-owned-runtime-B6VEu6Ak.js";
|
|
18
|
+
import { A as prepareDaemonServiceBundle, H as readOpenMeldToolsUpdateContextFromEnv, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, U as readUpdateStep, Y as readManagedCliInstallation, 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-C1o0PjSJ.js";
|
|
19
19
|
import { i as writeDaemonRuntimeLease, r as readDaemonRuntimeLease } from "./daemon-runtime-lease-BMT2SIW9.js";
|
|
20
|
-
import { a as readPendingDaemonServiceUpdate } from "./daemon-service-update-state-
|
|
21
|
-
import { A as
|
|
22
|
-
import { E as withAdmittedServiceSession, S as recordInterruptedComputerAuthSessionRecoveryFailure, a as beginAuthSessionTransition, c as completeInterruptedComputerAuthSessionRecovery, ct as formatOpenMeldCliCommands, d as getAuthSessionState, g as markInterruptedComputerAuthSessionRecovery, i as assertAuthSessionMutationAvailable, k as ServiceAccountAdmissionError, m as hasInterruptedComputerAuthSessionTransition, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, ot as formatInlineOpenMeldCliCommands, p as getInterruptedComputerAuthSessionRecovery, s as clearAuthSession, st as formatOpenMeldCliCommand, ut as formatOpenMeldCliTextBlock, v as onAuthSessionCredentialAvailable, w as setAuthSession, y as onAuthSessionCredentialObservation } from "./auth-session-
|
|
20
|
+
import { a as readPendingDaemonServiceUpdate } from "./daemon-service-update-state-CtzTzni1.js";
|
|
21
|
+
import { A as resolveDaemonStatusAttention, At as writeDaemonServiceContract, B as formatDaemonServiceUpdateRequiredMessage, Bt as classifyDaemonServiceWakeability, C as resolveSystemServiceStartupWaitMs, Ct as ensureDaemonRuntimeContractState, D as captureDaemonServiceEvidenceBestEffort, E as captureDaemonServiceEvidence, F as buildDaemonServiceRefreshPromptMessage, Ft as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, G as buildDaemonServiceDependencyMeaning, H as clearDaemonStartFailureState, Ht as resolveInstalledDaemonSystemServiceCommandSpec, It as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, J as buildDaemonServiceDependencyTitle, K as buildDaemonServiceDependencyNextStep, L as buildDaemonServiceStatusReadOnlyDetail, Lt as DAEMON_SERVICE_REPAIR_ANOMALIES, M as resolveServiceReadiness, Mt as resolveDaemonServiceAlignmentDecision, Nt as isVersionDowngrade, O as formatDaemonFailureContextText, P as buildDaemonServiceRefreshNextStep, R as buildDaemonServiceUpdateRequiredNextStep, Rt as DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES, S as isSystemServiceStartupTimeoutError, T as startDaemonSystemServiceWithAutoRepair, Tt as resolveCurrentDaemonExpectedVersion, U as writeDaemonStartFailureState, Vt as ensureDaemonSystemServiceCommandFiles, W as buildDaemonServiceDependencyDetails, Y as resolveDaemonServiceDependencyDiagnostics, _ as ensureDaemonServiceMaintenanceInstalled, _t as readCurrentDaemonOwnerSnapshot, a as resolveServiceUpdateUrgency, b as uninstallDaemonServiceUpdateWorker, bt as summarizeDaemonOwnerSnapshot, c as readCurrentLocalRuntimeReplyReadiness, d as assessCliUpdate, ft as resolveLocalServiceDemand, g as runDaemonServiceLifecycle, gt as hasActiveDaemonOwners, h as DaemonServiceLifecycleDrainTimeoutError, ht as formatDaemonOwnerSummaryLabel, i as writeOpenMeldToolsMaintenancePolicy, j as resolveDaemonStatusAuthenticationAttention, jt as buildDaemonServiceTargetSpec, k as resolveDaemonStatusSnapshot, m as scheduleDaemonServiceUpdate, mt as buildDaemonOwnerSnapshotFromObservedState, n as readOpenMeldToolsMaintenancePolicy, o as assessServerRequiredVersion, pt as inspectDaemonServiceInventory, q as buildDaemonServiceDependencySummary, r as resolveOpenMeldToolsMaintenanceProjection, s as describeServerRequiredVersionUnavailableReason, t as createOpenMeldToolsUpdateCoordinator, vt as resolveDaemonStopStrategy, w as waitForSystemServiceStartup$1, wt as readDaemonRuntimeContractRepairReport, x as isDaemonInventoryRunningAndStartReady$1, y as startDaemonServiceUpdateWorker, yt as resolveStoppedContractWriteBlockedReason, z as formatDaemonServiceRefreshReliabilityMessage, zt as classifyDaemonServiceRunStartability } from "./openmeld-tools-update-coordinator-Doj6V0Qx.js";
|
|
22
|
+
import { E as withAdmittedServiceSession, S as recordInterruptedComputerAuthSessionRecoveryFailure, a as beginAuthSessionTransition, c as completeInterruptedComputerAuthSessionRecovery, ct as formatOpenMeldCliCommands, d as getAuthSessionState, g as markInterruptedComputerAuthSessionRecovery, i as assertAuthSessionMutationAvailable, k as ServiceAccountAdmissionError, m as hasInterruptedComputerAuthSessionTransition, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, ot as formatInlineOpenMeldCliCommands, p as getInterruptedComputerAuthSessionRecovery, s as clearAuthSession, st as formatOpenMeldCliCommand, ut as formatOpenMeldCliTextBlock, v as onAuthSessionCredentialAvailable, w as setAuthSession, y as onAuthSessionCredentialObservation } from "./auth-session-QFK36vfX.js";
|
|
23
23
|
import { D as createServiceSpawnPendingIssue, S as resolveOpenMeldLaneDescriptor, a as isOpenMeldLockError, d as resolveOpenMeldOrphanedLockIssue, j as formatLocalMachineIssueMessage, w as assessLocalMachineFailure } from "./lock-B0YzvcUu.js";
|
|
24
24
|
import { i as readProcessStartIdentity, n as isPreciseProcessStartIdentity, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-DsKKbftl.js";
|
|
25
25
|
import "./openmeld-dev-environment-CGgHQJDn.js";
|
|
26
26
|
import { n as toErrorMessage$7, t as sleep } from "./dist-BLuEEVHh.js";
|
|
27
|
-
import { D as createAuthenticationError, E as buildHumanAuthenticationCard, F as resolveCurrentOpenMeldAccountContext, M as resolveAuthenticationReasonFromState, O as extractAuthenticationPromptAction, T as buildCommandAuthenticationPromptMessage$1, a as requireOpenMeldProfile, g as readDaemonCatalogSyncSignal, k as resolveAuthenticationGuidance, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, w as buildAuthenticationStatusLabel, y as clearAllSelectedOpenMeldProfileIds } from "./context-
|
|
27
|
+
import { D as createAuthenticationError, E as buildHumanAuthenticationCard, F as resolveCurrentOpenMeldAccountContext, M as resolveAuthenticationReasonFromState, O as extractAuthenticationPromptAction, T as buildCommandAuthenticationPromptMessage$1, a as requireOpenMeldProfile, g as readDaemonCatalogSyncSignal, k as resolveAuthenticationGuidance, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, w as buildAuthenticationStatusLabel, y as clearAllSelectedOpenMeldProfileIds } from "./context-DqEUJy_k.js";
|
|
28
28
|
import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
|
|
29
29
|
import { t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
|
|
30
30
|
import { A as getDaemonStatus, G as withDaemonServiceReconcileLock, H as setDaemonServiceRuntimeState, I as readDaemonServiceRuntimeSnapshot, J as withDaemonServiceStopLock, K as withDaemonServiceRegistrationMutationLock, L as releaseDaemonServiceLifecycleLock, M as isDaemonServiceRuntimeHeartbeatStale, O as ensureDaemonControlPlaneToken, R as resolveDaemonControlPlaneEndpoint, S as daemonServiceRepairJournalPath, U as uninstallDaemon, _ 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 withDaemonServiceRunLock, z as resolveDaemonServiceRuntimeMetadata } from "./daemon-state-BJqUWJvZ.js";
|
|
31
|
-
import { a as outJsonLine, n as sanitizeTerminalDisplayText, o as outLine, t as createPresenter } from "./presenter-
|
|
32
|
-
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-
|
|
31
|
+
import { a as outJsonLine, n as sanitizeTerminalDisplayText, o as outLine, t as createPresenter } from "./presenter-DqdYrUMa.js";
|
|
32
|
+
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-CRQZIYVN.js";
|
|
33
33
|
import { i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, o as upsertDaemonServiceContract, t as clearDaemonServiceContract } from "./daemon-service-contract-B1EbK5p7.js";
|
|
34
|
-
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
35
|
-
import { t as admitServiceAccountStop } from "./service-account-authorization-
|
|
34
|
+
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-mLK2dK1_.js";
|
|
35
|
+
import { t as admitServiceAccountStop } from "./service-account-authorization-CdUOvV3c.js";
|
|
36
36
|
import { i as requestLocalDaemonShutdown, r as requestLocalDaemonServiceUpdateReadiness, s as sendLocalDaemonControlPlaneRequest, t as LocalDaemonControlPlaneClientError } from "./client-BPUPVl9o.js";
|
|
37
|
-
import { 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 } from "./daemon-lifecycle-journal-
|
|
37
|
+
import { 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 } from "./daemon-lifecycle-journal-D1dCp8bJ.js";
|
|
38
38
|
import { r as readWindowsManagedCliInstallation } from "./windows-managed-install-BVlswqjA.js";
|
|
39
39
|
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-CSD613gh.js";
|
|
40
|
-
import { P as getCommandEntryContract, Z as validateDaemonControlTargetInput, at as buildAgentOverviewFromContract, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-
|
|
41
|
-
import { a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, i as formatDaemonInstallFailedMessage, l as formatDaemonServiceMissingRunStepOne, m as canUseInteractivePrompts, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, p as runDaemonInstallDecisionPrompt, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo } from "./elapsed-time-
|
|
42
|
-
import { a as readPendingOpenMeldToolsUpdateAttempt } from "./openmeld-tools-update-attempt-state
|
|
43
|
-
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-
|
|
40
|
+
import { P as getCommandEntryContract, Z as validateDaemonControlTargetInput, at as buildAgentOverviewFromContract, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-DljFCp4Y.js";
|
|
41
|
+
import { a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, i as formatDaemonInstallFailedMessage, l as formatDaemonServiceMissingRunStepOne, m as canUseInteractivePrompts, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, p as runDaemonInstallDecisionPrompt, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo } from "./elapsed-time-CviuvW6T.js";
|
|
42
|
+
import { a as readPendingOpenMeldToolsUpdateAttempt } from "./openmeld-tools-update-attempt-state--4fS27OC.js";
|
|
43
|
+
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-B6HcSSiK.js";
|
|
44
44
|
import { t as createSetupUpdateObserver } from "./setup-update-progress-pq_ZnoqB.js";
|
|
45
|
-
import { t as childExecutionHostChannel } from "./process-channel-
|
|
46
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
45
|
+
import { t as childExecutionHostChannel } from "./process-channel-Vz_ntXXU.js";
|
|
46
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-D6L-BdIi.js";
|
|
47
47
|
import { createHash, randomUUID } from "node:crypto";
|
|
48
48
|
import { homedir } from "node:os";
|
|
49
49
|
import { delimiter, dirname, isAbsolute, join, resolve } from "node:path";
|
|
@@ -62,6 +62,7 @@ import { getSessionInfo, getSessionMessages } from "@anthropic-ai/claude-agent-s
|
|
|
62
62
|
import WebSocket from "ws";
|
|
63
63
|
//#region ../../packages/schemas/dist/schemas/daemon/service-connection-correlation.js
|
|
64
64
|
const SERVICE_CONNECTION_ID_QUERY_PARAMETER = "connectionId";
|
|
65
|
+
const SERVICE_PREVIOUS_CONNECTION_ID_HEADER = "x-openmeld-previous-connection-id";
|
|
65
66
|
z$1.uuid();
|
|
66
67
|
//#endregion
|
|
67
68
|
//#region src/commands/auth-device-session-client.ts
|
|
@@ -5528,6 +5529,7 @@ function readServiceConnectionFailureEvidence(error) {
|
|
|
5528
5529
|
function createServiceConnectionEvidenceObserver(input) {
|
|
5529
5530
|
const recorder = createServiceConnectionEvidenceRecorder(input);
|
|
5530
5531
|
let connectionId = randomUUID();
|
|
5532
|
+
let lastAcknowledgedConnectionId;
|
|
5531
5533
|
let phase = "credentials";
|
|
5532
5534
|
let lastHeartbeatAckAtMs;
|
|
5533
5535
|
let attemptStartedAtMs = Date.now();
|
|
@@ -5551,6 +5553,9 @@ function createServiceConnectionEvidenceObserver(input) {
|
|
|
5551
5553
|
get connectionDiagnosticId() {
|
|
5552
5554
|
return connectionId;
|
|
5553
5555
|
},
|
|
5556
|
+
get lastAcknowledgedConnectionId() {
|
|
5557
|
+
return lastAcknowledgedConnectionId;
|
|
5558
|
+
},
|
|
5554
5559
|
beginAttempt() {
|
|
5555
5560
|
recorder.setOnline(false);
|
|
5556
5561
|
connectionId = randomUUID();
|
|
@@ -5591,6 +5596,7 @@ function createServiceConnectionEvidenceObserver(input) {
|
|
|
5591
5596
|
const timestamp = Date.parse(heartbeatAt);
|
|
5592
5597
|
if (Number.isFinite(timestamp)) lastHeartbeatAckAtMs = timestamp;
|
|
5593
5598
|
phase = "online";
|
|
5599
|
+
lastAcknowledgedConnectionId = acknowledgedId;
|
|
5594
5600
|
if (transitioned) record({
|
|
5595
5601
|
kind: "registered",
|
|
5596
5602
|
reason: "recovered",
|
|
@@ -9834,10 +9840,18 @@ async function resolveLocalComponentsStatus(input = {}) {
|
|
|
9834
9840
|
]);
|
|
9835
9841
|
const resolvedCli = await resolveCliComponentStatus(input);
|
|
9836
9842
|
const installationSource = await resolveLocalComponentsInstallationSource({ expectedVersion: resolvedCli.packageVersion });
|
|
9837
|
-
const
|
|
9843
|
+
const reasonCodes = new Set(resolvedCli.reasonCodes);
|
|
9844
|
+
if (updateProjection) {
|
|
9845
|
+
if (updateProjection.failureCode) reasonCodes.add(updateProjection.failureCode);
|
|
9846
|
+
if (updateProjection.operation.phase !== "updated") {
|
|
9847
|
+
const step = await readUpdateStep(updateProjection.operation, updateProjection.checkpointOwner) ?? updateProjection.fallbackStep;
|
|
9848
|
+
if (step) reasonCodes.add(openMeldToolsUpdateStepCode(step));
|
|
9849
|
+
}
|
|
9850
|
+
}
|
|
9851
|
+
const cli = {
|
|
9838
9852
|
...resolvedCli,
|
|
9839
|
-
reasonCodes:
|
|
9840
|
-
}
|
|
9853
|
+
reasonCodes: [...reasonCodes]
|
|
9854
|
+
};
|
|
9841
9855
|
const selectedSkill = await loadSelectedSkillAssets();
|
|
9842
9856
|
const setupAction = resolveLocalComponentsSetupAction({
|
|
9843
9857
|
cliStatus: cli.status,
|
|
@@ -10868,6 +10882,7 @@ const runAccountBoundDaemonServiceLoop = async (input) => {
|
|
|
10868
10882
|
const ws = await connectWebSocket(wsUrl, {
|
|
10869
10883
|
headers: {
|
|
10870
10884
|
...authContext.headers,
|
|
10885
|
+
...connectionEvidence.lastAcknowledgedConnectionId ? { [SERVICE_PREVIOUS_CONNECTION_ID_HEADER]: connectionEvidence.lastAcknowledgedConnectionId } : {},
|
|
10871
10886
|
...buildLocalServiceCapabilityHeaders({ localFolderPickerAvailable: localFolderPicker.available })
|
|
10872
10887
|
},
|
|
10873
10888
|
openTimeoutMs: DAEMON_STREAM_CONNECT_TIMEOUT_MS
|
|
@@ -18287,6 +18302,6 @@ function parseDaemonRunMode(rawMode) {
|
|
|
18287
18302
|
return DEFAULT_DAEMON_RUN_MODE;
|
|
18288
18303
|
}
|
|
18289
18304
|
//#endregion
|
|
18290
|
-
export { renderHumanTextErrorCard as $, resolveLocalComponentsStatus as A, runAuthMenu as B, createQuietPresenter as C, emitCliJsonEnvelope as D, shouldEmitAgentOverview as E, buildCommandAuthenticationPromptMessage as F, recoverInterruptedComputerAuthHandoff as G, exchangeOneTimeTokenAuthSession as H, ensureCommandAuthenticationOrCancel as I, runDaemonServiceParticipationGate as J, exchangeComputerAuthorizationGrant as K, evaluateCommandAuthentication as L, LocalProjectConnectionError as M, validateLocalProjectConnectionPath as N, runDaemonStartupPreflight as O, connectWebSocket as P, renderHumanErrorCard as Q, runAuthLogin as R, reconcileCliVersionView as S, createDelayedSpinner as T, emitUnusedSetupSessionCleanupWarning as U, runAuthStatus as V, formatComputerAuthCleanupFailureSuffix as W, runDaemonStartDecisionPrompt as X, resolveDaemonServiceParticipationStatus as Y, buildHumanErrorCopy as Z, formatServiceParticipationReadinessLabel as _, runDaemonBackgroundStartForDecision as a, renderTextInfoCard as at, buildProfileWorkspacePresentation as b, runDaemonInterrupt as c, isReturnKeypress as ct, runDaemonServiceDetached as d, getCurrentCommandCheckState as dt, buildAuthStatusRows as et, runDaemonSnapshot as f, isCurrentCommandCheckScopeActive as ft, runDaemonUninstall as g, SERVICE_CONNECTION_ID_QUERY_PARAMETER as gt, runDaemonTeardownStrict as h, fetchAuthUserSnapshot as ht, runDaemonAutostart as i, renderInfoCard as it, writeInstalledLocalComponentsSnapshot as j, readDaemonIncidentLogTail as k, runDaemonReinstall as l, runInteractivePrompt as lt, runDaemonStop as m, startCurrentCommandCheckScope as mt, isManagedSystemServiceBootstrapRun as n, formatActiveOrganizationLabel as nt, runDaemonCancel as o, buildUnifiedCardFrame as ot, runDaemonStatusFlow as p, resetCurrentCommandCheckState as pt, revokePreparedAuthSession as q, runDaemon as r, buildTextInfoCardLines as rt, runDaemonInstall as s, promptTextEntry as st, bestEffortStopCurrentLaneDaemonService as t, buildAuthStatusSnapshot as tt, runDaemonRunAfterEntryChecks as u, finishCurrentCommandCheckScope as ut, formatServiceRuntimeHeadline as v, emitDaemonAgentOverview as w, buildProfileWorkspaceRows as x, resolveServiceParticipationReadiness as y, runAuthLogout as z };
|
|
18305
|
+
export { renderHumanTextErrorCard as $, resolveLocalComponentsStatus as A, runAuthMenu as B, createQuietPresenter as C, emitCliJsonEnvelope as D, shouldEmitAgentOverview as E, buildCommandAuthenticationPromptMessage as F, recoverInterruptedComputerAuthHandoff as G, exchangeOneTimeTokenAuthSession as H, ensureCommandAuthenticationOrCancel as I, runDaemonServiceParticipationGate as J, exchangeComputerAuthorizationGrant as K, evaluateCommandAuthentication as L, LocalProjectConnectionError as M, validateLocalProjectConnectionPath as N, runDaemonStartupPreflight as O, connectWebSocket as P, renderHumanErrorCard as Q, runAuthLogin as R, reconcileCliVersionView as S, createDelayedSpinner as T, emitUnusedSetupSessionCleanupWarning as U, runAuthStatus as V, formatComputerAuthCleanupFailureSuffix as W, runDaemonStartDecisionPrompt as X, resolveDaemonServiceParticipationStatus as Y, buildHumanErrorCopy as Z, formatServiceParticipationReadinessLabel as _, SERVICE_PREVIOUS_CONNECTION_ID_HEADER as _t, runDaemonBackgroundStartForDecision as a, renderTextInfoCard as at, buildProfileWorkspacePresentation as b, runDaemonInterrupt as c, isReturnKeypress as ct, runDaemonServiceDetached as d, getCurrentCommandCheckState as dt, buildAuthStatusRows as et, runDaemonSnapshot as f, isCurrentCommandCheckScopeActive as ft, runDaemonUninstall as g, SERVICE_CONNECTION_ID_QUERY_PARAMETER as gt, runDaemonTeardownStrict as h, fetchAuthUserSnapshot as ht, runDaemonAutostart as i, renderInfoCard as it, writeInstalledLocalComponentsSnapshot as j, readDaemonIncidentLogTail as k, runDaemonReinstall as l, runInteractivePrompt as lt, runDaemonStop as m, startCurrentCommandCheckScope as mt, isManagedSystemServiceBootstrapRun as n, formatActiveOrganizationLabel as nt, runDaemonCancel as o, buildUnifiedCardFrame as ot, runDaemonStatusFlow as p, resetCurrentCommandCheckState as pt, revokePreparedAuthSession as q, runDaemon as r, buildTextInfoCardLines as rt, runDaemonInstall as s, promptTextEntry as st, bestEffortStopCurrentLaneDaemonService as t, buildAuthStatusSnapshot as tt, runDaemonRunAfterEntryChecks as u, finishCurrentCommandCheckScope as ut, formatServiceRuntimeHeadline as v, emitDaemonAgentOverview as w, buildProfileWorkspaceRows as x, resolveServiceParticipationReadiness as y, runAuthLogout as z };
|
|
18291
18306
|
|
|
18292
|
-
//# sourceMappingURL=service-
|
|
18307
|
+
//# sourceMappingURL=service-l9DU4V5Q.js.map
|