openmeld 0.3.211 → 0.3.212
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-CNgO595N.js → add-me-membership-BwPpVKtA.js} +2 -2
- package/dist/{add-me-membership-CNgO595N.js.map → add-me-membership-BwPpVKtA.js.map} +1 -1
- package/dist/agents-Y-UJ74By.js +4153 -0
- package/dist/agents-Y-UJ74By.js.map +1 -0
- package/dist/{api-client-foundation-CtQTtA4m.js → api-client-foundation-CrQN8_-N.js} +1 -1
- package/dist/{api-client-foundation-MJK8vWfn.js → api-client-foundation-DjbtuE52.js} +3 -3
- package/dist/{api-client-foundation-MJK8vWfn.js.map → api-client-foundation-DjbtuE52.js.map} +1 -1
- package/dist/{auth-session-CB7m-csh.js → auth-session-Dqz9X4F0.js} +42 -21
- package/dist/auth-session-Dqz9X4F0.js.map +1 -0
- package/dist/auth-session-bRzDGlXy.js +4 -0
- package/dist/{command-oQK6PG6b.js → command-jgHbP21v.js} +10 -9
- package/dist/{command-oQK6PG6b.js.map → command-jgHbP21v.js.map} +1 -1
- package/dist/{computer-connection-51dg6Tq0.js → computer-connection-DvqsgYls.js} +30 -3
- package/dist/computer-connection-DvqsgYls.js.map +1 -0
- package/dist/{computer-connection-review-CiIyTeDw.js → computer-connection-review-CzSpaHE0.js} +6 -6
- package/dist/{computer-connection-review-CiIyTeDw.js.map → computer-connection-review-CzSpaHE0.js.map} +1 -1
- package/dist/computer-disconnect-DNM7jvda.js +47 -0
- package/dist/computer-disconnect-DNM7jvda.js.map +1 -0
- package/dist/{computer-setup-continuation-CeFPluYv.js → computer-setup-continuation-BqdhIAjT.js} +4 -4
- package/dist/{computer-setup-continuation-CeFPluYv.js.map → computer-setup-continuation-BqdhIAjT.js.map} +1 -1
- package/dist/{control-plane-D9jDcbMZ.js → control-plane-PxntAyDq.js} +3 -547
- package/dist/control-plane-PxntAyDq.js.map +1 -0
- package/dist/{daemon-service-runtime-D8KrOfSV.js → daemon-service-runtime-CWTlAhZY.js} +291 -45
- package/dist/daemon-service-runtime-CWTlAhZY.js.map +1 -0
- package/dist/{openmeld-tools-update-coordinator-qrZLtDMv.js → daemon-service-update-coordinator-DcjOzGu1.js} +22972 -22867
- package/dist/daemon-service-update-coordinator-DcjOzGu1.js.map +1 -0
- package/dist/{dist-DajKOXDk.js → dist--pb6JxqG.js} +1 -1
- package/dist/{dist-DtykdMlN.js → dist-jsWwS864.js} +2984 -2981
- package/dist/dist-jsWwS864.js.map +1 -0
- package/dist/{elapsed-time-BE9NPM-x.js → elapsed-time-iFOSSUJo.js} +45 -78
- package/dist/elapsed-time-iFOSSUJo.js.map +1 -0
- package/dist/{installation-inventory-CLBwkIf6.js → installation-inventory-B0cbVLun.js} +3 -3
- package/dist/{installation-inventory-CLBwkIf6.js.map → installation-inventory-B0cbVLun.js.map} +1 -1
- package/dist/local-components-H3SkJMC1.js +567 -0
- package/dist/local-components-H3SkJMC1.js.map +1 -0
- package/dist/{openmeld-LADiOJ3_.js → openmeld-B4gQCCex.js} +43 -153
- package/dist/openmeld-B4gQCCex.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-B-u1CItK.js → openmeld-maintenance-worker-DtY_H7Bv.js} +5 -5
- package/dist/{openmeld-maintenance-worker-B-u1CItK.js.map → openmeld-maintenance-worker-DtY_H7Bv.js.map} +1 -1
- package/dist/openmeld-tools-update-join-DS_EIL5q.js +54 -0
- package/dist/openmeld-tools-update-join-DS_EIL5q.js.map +1 -0
- package/dist/openmeld-tools-update-process-frame-CbZPpc7D.js +93 -0
- package/dist/openmeld-tools-update-process-frame-CbZPpc7D.js.map +1 -0
- package/dist/openmeld-tools-update-process-frame-CcPLrSsw.js +4 -0
- package/dist/openmeld.js +7 -3
- package/dist/openmeld.js.map +1 -1
- package/dist/{prepare-session-executor-B5aD6Fx_.js → prepare-session-executor-CWKqfuse.js} +11 -9
- package/dist/{prepare-session-executor-B5aD6Fx_.js.map → prepare-session-executor-CWKqfuse.js.map} +1 -1
- package/dist/{runtime-transport-VcPSvVY1.js → runtime-transport-BQAmcHwF.js} +15 -2
- package/dist/runtime-transport-BQAmcHwF.js.map +1 -0
- package/dist/{agents-CGBELT4J.js → service-CTG3_X0o.js} +476 -4582
- package/dist/service-CTG3_X0o.js.map +1 -0
- package/dist/{service-account-authorization-D1Wp-91j.js → service-account-authorization-Dq4LcAVa.js} +3 -3
- package/dist/{service-account-authorization-D1Wp-91j.js.map → service-account-authorization-Dq4LcAVa.js.map} +1 -1
- package/dist/service-account-control-BTR_X7QM.js +145 -0
- package/dist/service-account-control-BTR_X7QM.js.map +1 -0
- package/dist/{service-control-capabilities-COkZ1Ceh.js → service-control-capabilities-C5SxnBg2.js} +2 -2
- package/dist/{service-control-capabilities-COkZ1Ceh.js.map → service-control-capabilities-C5SxnBg2.js.map} +1 -1
- package/dist/{service-control-capabilities-CP1XCSVm.js → service-control-capabilities-ChRe8hkw.js} +1 -1
- package/dist/{upgrade-DJLqTfBA.js → upgrade-DAVEeo8B.js} +36 -17
- package/dist/upgrade-DAVEeo8B.js.map +1 -0
- package/dist/upgrade-DKXu-1wO.js +4 -0
- package/package.json +1 -1
- package/dist/agents-CGBELT4J.js.map +0 -1
- package/dist/auth-session-CB7m-csh.js.map +0 -1
- package/dist/auth-session-DXJq5arz.js +0 -4
- package/dist/computer-connection-51dg6Tq0.js.map +0 -1
- package/dist/control-plane-D9jDcbMZ.js.map +0 -1
- package/dist/daemon-service-runtime-D8KrOfSV.js.map +0 -1
- package/dist/dist-DtykdMlN.js.map +0 -1
- package/dist/elapsed-time-BE9NPM-x.js.map +0 -1
- package/dist/openmeld-LADiOJ3_.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-qrZLtDMv.js.map +0 -1
- package/dist/runtime-transport-VcPSvVY1.js.map +0 -1
- package/dist/upgrade-BMh_CLJL.js +0 -4
- package/dist/upgrade-DJLqTfBA.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-plane-PxntAyDq.js","names":[],"sources":["../../../packages/schemas/dist/schemas/protocol/shared.js","../../../packages/schemas/dist/schemas/protocol/profile.js","../../../packages/schemas/dist/schemas/daemon/conversation-lifecycle.js","../../../packages/schemas/dist/schemas/daemon/conversation-execution-state.js","../../../packages/schemas/dist/schemas/daemon/provider-runtime-context.js","../../../packages/schemas/dist/schemas/daemon/control-plane.js"],"sourcesContent":["import * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/shared.ts\nconst trimmedStringFromUnknown = (value) => String(value ?? \"\").trim();\nconst nonEmptyTrimmedStringFromUnknown = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1));\nconst finiteIntegerNumber = z$1.number().int().finite();\nconst optionalBooleanQuerySchema = z$1.preprocess((value) => {\n\tif (value === void 0 || value === null || value === \"\") return;\n\tif (typeof value === \"boolean\") return value;\n\tconst normalized = String(value).trim().toLowerCase();\n\tif (normalized === \"true\" || normalized === \"1\") return true;\n\tif (normalized === \"false\" || normalized === \"0\") return false;\n\treturn value;\n}, z$1.boolean().optional());\n//#endregion\nexport { finiteIntegerNumber, nonEmptyTrimmedStringFromUnknown, optionalBooleanQuerySchema, trimmedStringFromUnknown };\n\n//# sourceMappingURL=shared.js.map"," \nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/profile.ts\nconst PROFILE_KIND_VALUES = [\n\t\"human\",\n\t\"agent\",\n\t\"system\"\n];\nconst PROFILE_HANDLE_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;\nconst UUID_PROFILE_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;\nconst AGENT_PROFILE_ID_PATTERN = /^agt_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;\nconst MAX_PROFILE_HANDLE_LENGTH = 128;\nconst normalizeOptionalProfileLabel = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value);\n\tif (normalized.length === 0) return;\n\treturn normalized.slice(0, 64);\n};\nconst normalizeOptionalProfileHandle = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value);\n\tif (normalized.length === 0) return;\n\treturn profileHandleSchema.safeParse(normalized).success ? normalized : void 0;\n};\nconst MAX_PROFILE_WORKING_DIRECTORY_LENGTH = 4096;\nconst profileWorkspaceModeSchema = z$1.enum([\"openmeld_managed\", \"custom\"]);\nconst profileWorkingDirectorySchema = z$1.string().min(1).max(MAX_PROFILE_WORKING_DIRECTORY_LENGTH).refine((value) => !value.includes(\"\\0\"), { message: \"workingDirectory must not contain NUL bytes\" });\nconst normalizeOptionalWorkingDirectory = (value) => {\n\tif (typeof value !== \"string\") return;\n\tconst parsed = profileWorkingDirectorySchema.safeParse(value);\n\treturn parsed.success ? parsed.data : void 0;\n};\nconst MAX_AVATAR_URL_LENGTH = 2048;\nconst HTTPS_URL_PATTERN = /^https?:\\/\\//i;\n/**\n* Avatar URLs are a public identity field that travels with the Profile across\n* domains. Only http(s) URLs are accepted so the value is safe to render as an\n* `<img src>` on web clients (rejects javascript:/data: injection vectors).\n*/\nconst normalizeOptionalAvatarUrl = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value);\n\tif (normalized.length === 0 || normalized.length > 2048) return;\n\treturn HTTPS_URL_PATTERN.test(normalized) ? normalized : void 0;\n};\n/** Unknown or invalid kinds are normalized to \"agent\" for wire compatibility. */\nconst profileKindWithFallbackSchema = z$1.preprocess((value) => {\n\tconst parsed = z$1.enum(PROFILE_KIND_VALUES).safeParse(value);\n\treturn parsed.success ? parsed.data : \"agent\";\n}, z$1.enum(PROFILE_KIND_VALUES));\nconst profileKindSchema = z$1.enum(PROFILE_KIND_VALUES);\nconst profileLabelSchema = z$1.string().min(1).max(64);\nconst profileHandleSchema = z$1.string().min(1).max(128).regex(PROFILE_HANDLE_PATTERN);\nconst genericProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64));\nconst uuidProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).regex(UUID_PROFILE_ID_PATTERN));\nconst agentProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).regex(AGENT_PROFILE_ID_PATTERN));\n/**\n* Runtime OpenMeld profile IDs are auth-backed and follow these rules:\n* - human/system profiles use a UUID\n* - agent profiles use agt_<UUID>\n*\n* Generic test fixtures or legacy intermediary strings should not reuse this\n* schema unless they represent a real runtime profile identity.\n*/\nconst openMeldRuntimeProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).refine((value) => UUID_PROFILE_ID_PATTERN.test(value) || AGENT_PROFILE_ID_PATTERN.test(value), \"Invalid OpenMeld runtime profile ID\"));\n/**\n* Generic wire/profile normalization rules:\n* - trims and validates profileId as a non-empty string\n* - defaults missing/invalid kind to \"agent\"\n* - truncates profileName/owner labels to max length\n* - preserves agent workingDirectory verbatim when it is a valid string\n* - keeps owner only for agent profiles\n*\n* This schema intentionally stays broader than auth-backed runtime IDs because\n* protocol/system messages may still use internal synthetic profile IDs such as\n* `openmeld-system`.\n*/\nconst profileSchema = z$1.object({\n\tkind: profileKindWithFallbackSchema.optional(),\n\tprofileId: genericProfileIdSchema,\n\tprofileHandle: z$1.unknown().optional(),\n\tprofileName: z$1.unknown().optional(),\n\towner: z$1.unknown().optional(),\n\townerName: z$1.unknown().optional(),\n\tagentControllerRef: z$1.unknown().optional(),\n\tagentControllerConversationId: z$1.unknown().optional(),\n\tworkingDirectory: z$1.unknown().optional(),\n\tavatarUrl: z$1.unknown().optional()\n}).transform((value) => {\n\tconst kind = value.kind ?? \"agent\";\n\tconst profileHandle = normalizeOptionalProfileHandle(value.profileHandle);\n\tconst profileName = normalizeOptionalProfileLabel(value.profileName);\n\tconst owner = kind === \"agent\" ? normalizeOptionalProfileLabel(value.owner) : void 0;\n\tconst ownerName = kind === \"agent\" ? normalizeOptionalProfileLabel(value.ownerName) : void 0;\n\tconst agentControllerRef = kind === \"agent\" ? normalizeOptionalProfileLabel(value.agentControllerRef) : void 0;\n\tconst agentControllerConversationId = kind === \"agent\" ? normalizeOptionalProfileLabel(value.agentControllerConversationId) : void 0;\n\tconst workingDirectory = kind === \"agent\" ? normalizeOptionalWorkingDirectory(value.workingDirectory) : void 0;\n\tconst avatarUrl = normalizeOptionalAvatarUrl(value.avatarUrl);\n\treturn {\n\t\tkind,\n\t\tprofileId: value.profileId,\n\t\t...profileHandle ? { profileHandle } : {},\n\t\t...profileName ? { profileName } : {},\n\t\t...owner ? { owner } : {},\n\t\t...ownerName ? { ownerName } : {},\n\t\t...agentControllerRef ? { agentControllerRef } : {},\n\t\t...agentControllerConversationId ? { agentControllerConversationId } : {},\n\t\t...workingDirectory ? { workingDirectory } : {},\n\t\t...avatarUrl ? { avatarUrl } : {}\n\t};\n});\n//#endregion\nexport { MAX_AVATAR_URL_LENGTH, MAX_PROFILE_HANDLE_LENGTH, MAX_PROFILE_WORKING_DIRECTORY_LENGTH, agentProfileIdSchema, genericProfileIdSchema, normalizeOptionalWorkingDirectory, openMeldRuntimeProfileIdSchema, profileHandleSchema, profileKindSchema, profileLabelSchema, profileSchema, profileWorkingDirectorySchema, profileWorkspaceModeSchema, uuidProfileIdSchema };\n\n//# sourceMappingURL=profile.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/conversation-lifecycle.ts\nconst conversationBootstrapReasonSchema = z$1.enum([\n\t\"missing_bootstrap_state\",\n\t\"compatibility_recreate\",\n\t\"template_changed\",\n\t\"idle_stale\",\n\t\"dispatch_count_stale\",\n\t\"context_healed\",\n\t\"context_replaced\"\n]);\nconst localRuntimeContextReasonSchema = z$1.enum([\n\t\"first_local_runtime_context\",\n\t\"workspace_changed\",\n\t\"transport_mode_changed\",\n\t\"policy_changed\",\n\t\"execution_state_missing\",\n\t\"controller_changed\"\n]);\nconst agentControllerConversationResumePlanBlockedReasonSchema = z$1.enum([\"controller_changed\"]);\nconst agentControllerConversationResumePlanSchema = z$1.discriminatedUnion(\"status\", [\n\tz$1.strictObject({ status: z$1.literal(\"not_bound\") }),\n\tz$1.strictObject({ status: z$1.literal(\"continue_existing\") }),\n\tz$1.strictObject({\n\t\tstatus: z$1.literal(\"blocked\"),\n\t\treason: agentControllerConversationResumePlanBlockedReasonSchema\n\t})\n]);\nconst localRuntimeContextPlanSchema = z$1.strictObject({\n\tstatus: z$1.enum([\"reuse\", \"recreate\"]),\n\treason: z$1.union([localRuntimeContextReasonSchema, z$1.null()])\n});\nconst conversationBootstrapSchema = z$1.discriminatedUnion(\"status\", [z$1.strictObject({\n\treason: z$1.null(),\n\tstatus: z$1.literal(\"applied\")\n}), z$1.strictObject({\n\treason: conversationBootstrapReasonSchema,\n\tstatus: z$1.literal(\"pending\")\n})]);\nconst nextDispatchPlanSchema = z$1.strictObject({\n\tagentControllerConversationResume: agentControllerConversationResumePlanSchema,\n\tlocalRuntimeContext: localRuntimeContextPlanSchema,\n\tbootstrap: conversationBootstrapSchema\n});\nconst agentControllerConversationResumeSchema = z$1.discriminatedUnion(\"status\", [\n\tz$1.strictObject({ status: z$1.literal(\"not_bound\") }),\n\tz$1.strictObject({ status: z$1.literal(\"continued\") }),\n\tz$1.strictObject({ status: z$1.literal(\"replaced_by_provider\") })\n]);\nconst localRuntimeContextExecutionSchema = z$1.strictObject({\n\tstatus: z$1.enum([\"reused\", \"recreated\"]),\n\treason: z$1.union([localRuntimeContextReasonSchema, z$1.null()])\n});\nconst dispatchExecutionSchema = z$1.strictObject({\n\tagentControllerConversationResume: agentControllerConversationResumeSchema,\n\tlocalRuntimeContext: localRuntimeContextExecutionSchema,\n\tbootstrap: conversationBootstrapSchema\n});\n//#endregion\nexport { agentControllerConversationResumePlanBlockedReasonSchema, agentControllerConversationResumePlanSchema, agentControllerConversationResumeSchema, conversationBootstrapReasonSchema, conversationBootstrapSchema, dispatchExecutionSchema, localRuntimeContextExecutionSchema, localRuntimeContextPlanSchema, localRuntimeContextReasonSchema, nextDispatchPlanSchema };\n\n//# sourceMappingURL=conversation-lifecycle.js.map","import { profileWorkingDirectorySchema } from \"../protocol/profile.js\";\nimport { agentControllerConversationRefSchema } from \"./conversation-contract.js\";\nimport { conversationBootstrapReasonSchema } from \"./conversation-lifecycle.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/conversation-execution-state.ts\nconst ISO_DATE_TIME_SCHEMA = z$1.iso.datetime({ offset: true });\nconst bootstrapTemplateFactsSchema = z$1.strictObject({\n\ttemplateVersion: z$1.string().min(1),\n\tcontentFingerprint: z$1.string().min(1)\n});\nconst conversationExecutionStateSchema = z$1.strictObject({\n\tagentContextLookupKey: z$1.string().min(1),\n\tactiveContextId: z$1.string().min(1).nullable(),\n\tlastResolvedAgentControllerConversation: agentControllerConversationRefSchema.optional(),\n\tlastRuntimeWorkspacePath: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: z$1.string().min(1),\n\tbootstrapLastAppliedAt: ISO_DATE_TIME_SCHEMA.optional(),\n\tbootstrapLastActivatedAt: ISO_DATE_TIME_SCHEMA.optional(),\n\tdispatchesSinceBootstrapApplied: z$1.number().int().min(0),\n\tlastAppliedTemplateVersion: z$1.string().min(1).optional(),\n\tlastAppliedContentFingerprint: z$1.string().min(1).optional(),\n\tpendingBootstrapReason: conversationBootstrapReasonSchema.optional(),\n\tupdatedAt: ISO_DATE_TIME_SCHEMA\n});\n//#endregion\nexport { bootstrapTemplateFactsSchema, conversationExecutionStateSchema };\n\n//# sourceMappingURL=conversation-execution-state.js.map","import { MAX_PROFILE_WORKING_DIRECTORY_LENGTH } from \"../protocol/profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/provider-runtime-context.ts\nconst providerDispatchRuntimeContextSchema = z$1.strictObject({ providerRuntimeWorkingDirectory: z$1.string().trim().min(1).max(MAX_PROFILE_WORKING_DIRECTORY_LENGTH).refine((value) => !value.includes(\"\\0\"), { message: \"providerRuntimeWorkingDirectory must not contain NUL bytes\" }) });\n//#endregion\nexport { providerDispatchRuntimeContextSchema };\n\n//# sourceMappingURL=provider-runtime-context.js.map","import { array, boolean, discriminatedUnion, enum as enumFactory, iso, literal, null as nullFactory, number, strictObject, string, union } from \"../../lazy-zod.js\";\nimport { nonEmptyTrimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { agentProfileIdSchema, profileWorkingDirectorySchema, profileWorkspaceModeSchema } from \"../protocol/profile.js\";\nimport { runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { conversationExecutionStateSchema } from \"./conversation-execution-state.js\";\nimport { providerDispatchRuntimeContextSchema } from \"./provider-runtime-context.js\";\n//#region src/schemas/daemon/control-plane.ts\nconst OPENMELD_DAEMON_CONTROL_PLANE_SCHEMA_VERSION = 1;\nconst openMeldDaemonControlPlaneCommandSchema = enumFactory([\n\t\"status\",\n\t\"health\",\n\t\"history\",\n\t\"interrupt\",\n\t\"cancel\",\n\t\"conversation_execution_status\",\n\t\"request_agent_activity_sync\",\n\t\"sync_route_catalog\",\n\t\"set_local_agent_enabled\",\n\t\"set_profile_workspace\",\n\t\"service_update_readiness\",\n\t\"account_control_capabilities\",\n\t\"shutdown\"\n]);\nconst openMeldDaemonHealthStateSchema = enumFactory([\n\t\"ok\",\n\t\"degraded\",\n\t\"down\"\n]);\nconst openMeldDaemonRuntimeHealthStateSchema = enumFactory([\n\t\"healthy\",\n\t\"idle\",\n\t\"suspect\",\n\t\"down\"\n]);\nconst openMeldDaemonControlTargetSelectorSchema = discriminatedUnion(\"by\", [strictObject({\n\tby: literal(\"dispatch\"),\n\tdispatchId: string().min(1)\n}), strictObject({\n\tby: literal(\"task\"),\n\ttaskId: string().min(1)\n})]);\nconst openMeldDaemonInterruptRequestPayloadSchema = strictObject({\n\truntimeCoordinatorExecutionId: string().min(1).optional(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tmode: enumFactory([\"graceful\", \"force\"]).optional(),\n\treason: string().min(1).optional()\n});\nconst openMeldDaemonCancelRequestPayloadSchema = strictObject({\n\truntimeCoordinatorExecutionId: string().min(1).optional(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\treason: string().min(1).optional()\n});\nconst openMeldDaemonShutdownRequestPayloadSchema = strictObject({\n\taccountAdmissionId: string().uuid().optional(),\n\tmode: enumFactory([\"graceful\", \"force\"]).default(\"graceful\"),\n\tgracePeriodMs: number().int().nonnegative().default(5e3)\n});\nconst openMeldDaemonServiceUpdateReadinessPayloadSchema = strictObject({\n\tacceptedWakeCount: number().int().nonnegative(),\n\tsafeToSwitch: boolean(),\n\tunacknowledgedResultCount: number().int().nonnegative()\n});\nconst openMeldDaemonConversationExecutionControllerLaunchStatusSchema = enumFactory([\n\t\"missing\",\n\t\"disabled\",\n\t\"repair_required\",\n\t\"ready\"\n]);\nconst nullableAgentControllerRefSchema = union([string().min(1), nullFactory()]);\nconst nullableNonEmptyStringSchema = union([string().min(1), nullFactory()]);\nconst openMeldDaemonConversationExecutionStatusRequestPayloadSchema = strictObject({\n\tboundAgentControllerRef: nullableAgentControllerRefSchema,\n\tagentControllerConversationId: nullableNonEmptyStringSchema,\n\tagentControllerRef: string().min(1),\n\tspaceId: nonEmptyTrimmedStringFromUnknown,\n\ttargetProfileId: agentProfileIdSchema,\n\ttransportMode: runtimeTransportModeSchema,\n\tvalidate: boolean()\n});\nconst openMeldDaemonSyncRouteCatalogRequestPayloadSchema = strictObject({ reason: string().min(1) });\nconst openMeldDaemonRequestAgentActivitySyncRequestPayloadSchema = strictObject({ reason: string().trim().min(1).max(128) });\nconst openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema = strictObject({\n\tagentId: string().trim().min(1).max(256),\n\tenabled: boolean()\n});\nconst localAgentInstallationOptionSchema = strictObject({\n\tinstallationId: string().trim().min(1).max(256),\n\tname: string().trim().min(1).max(256),\n\tdetails: string().trim().min(1).max(256),\n\tselected: boolean()\n});\nconst openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema = discriminatedUnion(\"operation\", [strictObject({\n\tagentId: string().trim().min(1).max(256),\n\toperation: literal(\"list\")\n}), strictObject({\n\tagentId: string().trim().min(1).max(256),\n\tinstallationId: string().trim().min(1).max(256),\n\toperation: literal(\"select\")\n})]);\nconst openMeldDaemonSetProfileWorkspaceRequestPayloadSchema = strictObject({\n\ttargetProfileId: agentProfileIdSchema,\n\tworkspaceMode: profileWorkspaceModeSchema,\n\tworkspacePath: profileWorkingDirectorySchema.optional()\n}).superRefine((value, context) => {\n\tif (value.workspaceMode === \"custom\" && !value.workspacePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"workspacePath is required for a custom profile workspace\",\n\t\tpath: [\"workspacePath\"]\n\t});\n\tif (value.workspaceMode === \"openmeld_managed\" && value.workspacePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"workspacePath must be omitted for an OpenMeld-managed profile workspace\",\n\t\tpath: [\"workspacePath\"]\n\t});\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema = strictObject({\n\tconfigPath: string().min(1),\n\tconfiguredWorkspacePath: string().min(1),\n\tfingerprint: string().min(1),\n\tpath: string().min(1),\n\treasonCode: nullFactory(),\n\treasonText: nullFactory(),\n\truntimeContext: providerDispatchRuntimeContextSchema,\n\tstatus: literal(\"ready\"),\n\tworkspaceMode: profileWorkspaceModeSchema\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema = strictObject({\n\tconfigPath: string().min(1),\n\tconfiguredWorkspacePath: nullFactory(),\n\tfingerprint: nullFactory(),\n\tpath: nullFactory(),\n\treasonCode: literal(\"workspace.missing\"),\n\treasonText: string().min(1),\n\truntimeContext: nullFactory(),\n\tstatus: literal(\"missing\"),\n\tworkspaceMode: nullFactory()\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema = strictObject({\n\tconfigPath: string().min(1),\n\tconfiguredWorkspacePath: union([string().min(1), nullFactory()]),\n\tfingerprint: nullFactory(),\n\tpath: nullFactory(),\n\treasonCode: literal(\"workspace.invalid\"),\n\treasonText: string().min(1),\n\truntimeContext: nullFactory(),\n\tstatus: literal(\"invalid\"),\n\tworkspaceMode: union([profileWorkspaceModeSchema, nullFactory()])\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceSchema = discriminatedUnion(\"status\", [\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema,\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema,\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema\n]);\nconst openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema = enumFactory([\n\t\"missing\",\n\t\"mismatch\",\n\t\"ready\"\n]);\nconst openMeldDaemonProviderConversationProofStatusSchema = enumFactory([\n\t\"failed\",\n\t\"not_applicable\",\n\t\"not_run\",\n\t\"passed\"\n]);\nconst openMeldDaemonProviderConversationProofProviderSchema = enumFactory([\n\t\"codex\",\n\t\"claude-code\",\n\t\"openclaw\"\n]);\nconst openMeldDaemonProviderConversationProofMethodSchema = enumFactory([\"codex_app_server_thread_resume\"]);\nconst openMeldDaemonProviderConversationProofSchema = strictObject({\n\tagentControllerConversationId: nullableNonEmptyStringSchema,\n\tcheckedAt: union([iso.datetime({ offset: true }), nullFactory()]),\n\terrorCode: nullableNonEmptyStringSchema,\n\terrorMessage: nullableNonEmptyStringSchema,\n\terrorType: nullableNonEmptyStringSchema,\n\texpiresAt: union([iso.datetime({ offset: true }), nullFactory()]),\n\tintrusive: literal(false),\n\tmethod: union([openMeldDaemonProviderConversationProofMethodSchema, nullFactory()]),\n\tprovider: union([openMeldDaemonProviderConversationProofProviderSchema, nullFactory()]),\n\tstatus: openMeldDaemonProviderConversationProofStatusSchema,\n\ttransportMode: union([runtimeTransportModeSchema, nullFactory()])\n});\nconst openMeldDaemonConversationExecutionStatusPayloadSchema = strictObject({\n\tagentContextLookupKey: string().min(1),\n\tcontrollerLaunchStatus: openMeldDaemonConversationExecutionControllerLaunchStatusSchema,\n\texecutionState: conversationExecutionStateSchema.nullable(),\n\tlocalRuntimeContext: strictObject({\n\t\tagentContextLookupKey: string().min(1),\n\t\truntimeWorkspaceFingerprint: nullableNonEmptyStringSchema,\n\t\tstatus: openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema\n\t}),\n\tproviderConversationProof: openMeldDaemonProviderConversationProofSchema,\n\truntimeWorkspace: openMeldDaemonConversationExecutionRuntimeWorkspaceSchema\n});\nconst openMeldDaemonSyncRouteCatalogStatusSchema = enumFactory([\n\t\"changed\",\n\t\"registered\",\n\t\"unchanged\",\n\t\"failed\",\n\t\"deferred\"\n]);\nconst DAEMON_PROFILE_SKIP_REASON_VALUES = [\n\t\"projection.missing\",\n\t\"controller.registry.disabled\",\n\t\"controller.launch.needs_repair\",\n\t\"runtime.adapter.unsupported\",\n\t\"controller.binding.disabled\",\n\t\"controller.binding.incomplete\",\n\t\"profile.status.inactive\",\n\t\"profile.binding.read_unavailable\",\n\t\"profile.binding.unbound\",\n\t\"workspace.missing\",\n\t\"workspace.invalid\"\n];\nconst daemonProfileSkipReasonSchema = enumFactory(DAEMON_PROFILE_SKIP_REASON_VALUES);\nconst skippedDaemonProfileSchema = strictObject({\n\tprofileId: agentProfileIdSchema,\n\tprofileName: nullableNonEmptyStringSchema,\n\tskipReason: daemonProfileSkipReasonSchema\n});\nconst openMeldDaemonSyncRouteCatalogPayloadSchema = strictObject({\n\taccepted: boolean(),\n\tsyncStatus: openMeldDaemonSyncRouteCatalogStatusSchema,\n\tprofileIds: array(agentProfileIdSchema),\n\taddedProfileIds: array(agentProfileIdSchema).optional(),\n\tkeptProfileIds: array(agentProfileIdSchema).optional(),\n\tremovedProfileIds: array(agentProfileIdSchema).optional(),\n\tskippedProfiles: array(skippedDaemonProfileSchema).optional(),\n\tnote: string().min(1).optional(),\n\terrorMessage: string().min(1).optional()\n});\nconst openMeldDaemonRequestAgentActivitySyncPayloadSchema = strictObject({ accepted: boolean() });\nconst openMeldDaemonSetLocalAgentEnabledPayloadSchema = strictObject({\n\taccepted: boolean(),\n\tagentControllerRef: string().min(1).optional(),\n\tagentId: string().trim().min(1).max(256),\n\tchanged: boolean(),\n\tenabled: boolean(),\n\tmessage: string().min(1).optional(),\n\treasonCode: string().min(1).optional(),\n\treportSyncStatus: enumFactory([\n\t\t\"submitted\",\n\t\t\"skipped\",\n\t\t\"failed\"\n\t]),\n\tstatus: enumFactory([\n\t\t\"updated\",\n\t\t\"unchanged\",\n\t\t\"rejected\"\n\t])\n});\nconst openMeldDaemonManageLocalAgentInstallationPayloadSchema = discriminatedUnion(\"accepted\", [strictObject({\n\taccepted: literal(true),\n\tagentControllerRef: string().min(1),\n\tagentId: string().trim().min(1).max(256),\n\tchanged: boolean(),\n\tinstallations: array(localAgentInstallationOptionSchema),\n\treportSyncStatus: enumFactory([\n\t\t\"submitted\",\n\t\t\"skipped\",\n\t\t\"failed\"\n\t]),\n\tselectionStatus: enumFactory([\n\t\t\"available\",\n\t\t\"blocked_by_work\",\n\t\t\"operation_in_progress\"\n\t]).optional(),\n\tselectedInstallationId: string().trim().min(1).max(256).nullable(),\n\tstatus: enumFactory([\n\t\t\"listed\",\n\t\t\"updated\",\n\t\t\"unchanged\"\n\t])\n}), strictObject({\n\taccepted: literal(false),\n\tagentId: string().trim().min(1).max(256),\n\tchanged: literal(false),\n\tinstallations: array(localAgentInstallationOptionSchema),\n\tmessage: string().min(1).optional(),\n\treasonCode: string().min(1).optional(),\n\treportSyncStatus: literal(\"failed\"),\n\tselectionStatus: enumFactory([\n\t\t\"available\",\n\t\t\"blocked_by_work\",\n\t\t\"operation_in_progress\"\n\t]).optional(),\n\tselectedInstallationId: string().trim().min(1).max(256).nullable(),\n\tstatus: literal(\"rejected\")\n})]);\nconst openMeldDaemonSetProfileWorkspacePayloadSchema = discriminatedUnion(\"accepted\", [strictObject({\n\taccepted: literal(true),\n\ttargetProfileId: agentProfileIdSchema,\n\tstatus: literal(\"updated\"),\n\tworkspaceMode: profileWorkspaceModeSchema,\n\tworkspacePath: string().min(1)\n}), strictObject({\n\taccepted: literal(false),\n\ttargetProfileId: agentProfileIdSchema,\n\tmessage: string().min(1).optional(),\n\treasonCode: string().min(1).optional(),\n\tstatus: literal(\"rejected\")\n})]);\nconst openMeldDaemonControlPlaneRequestBaseSchema = strictObject({\n\tv: literal(1),\n\trequestId: string().min(1).optional(),\n\tauthToken: string().min(1).optional()\n});\nconst openMeldDaemonControlPlaneRequestSchema = discriminatedUnion(\"command\", [\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"account_control_capabilities\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"status\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"health\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"history\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"interrupt\"),\n\t\tpayload: openMeldDaemonInterruptRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"cancel\"),\n\t\tpayload: openMeldDaemonCancelRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"conversation_execution_status\"),\n\t\tpayload: openMeldDaemonConversationExecutionStatusRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"sync_route_catalog\"),\n\t\tpayload: openMeldDaemonSyncRouteCatalogRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"request_agent_activity_sync\"),\n\t\tpayload: openMeldDaemonRequestAgentActivitySyncRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"set_local_agent_enabled\"),\n\t\tpayload: openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"set_profile_workspace\"),\n\t\tpayload: openMeldDaemonSetProfileWorkspaceRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"service_update_readiness\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"shutdown\"),\n\t\tpayload: openMeldDaemonShutdownRequestPayloadSchema.optional()\n\t})\n]);\nconst openMeldDaemonStatusPayloadSchema = strictObject({\n\tinstalled: boolean(),\n\trunning: boolean(),\n\tdaemonVersion: string().min(1),\n\truntimeRoot: string().min(1),\n\tcheckedAt: string().min(1)\n});\nconst openMeldDaemonHealthPayloadSchema = strictObject({\n\tstate: openMeldDaemonHealthStateSchema,\n\truntimeState: openMeldDaemonRuntimeHealthStateSchema.optional(),\n\treasonCode: string().min(1),\n\tcheckedAt: string().min(1)\n});\nconst openMeldDaemonHistoryEntrySchema = strictObject({\n\tid: string().min(1),\n\tts: string().min(1),\n\tcode: string().min(1),\n\tmessage: string().min(1)\n});\nconst openMeldDaemonHistoryPayloadSchema = strictObject({\n\tentries: array(openMeldDaemonHistoryEntrySchema),\n\tnextCursor: string().min(1).optional()\n});\nconst openMeldDaemonInterruptPayloadSchema = strictObject({\n\taccepted: boolean(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tresolvedDispatchId: string().min(1).optional(),\n\tresolvedRuntimeCoordinatorExecutionId: string().min(1).optional(),\n\tresolvedTaskId: string().min(1).optional(),\n\tnote: string().min(1).optional(),\n\treasonCode: string().min(1).optional()\n});\nconst openMeldDaemonCancelPayloadSchema = strictObject({\n\taccepted: boolean(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tresolvedDispatchId: string().min(1).optional(),\n\tresolvedRuntimeCoordinatorExecutionId: string().min(1).optional(),\n\tresolvedTaskId: string().min(1).optional(),\n\tnote: string().min(1).optional(),\n\treasonCode: string().min(1).optional()\n});\nconst openMeldDaemonControlPlaneErrorPayloadSchema = strictObject({\n\terrorCode: string().min(1),\n\terrorMessage: string().min(1),\n\tnote: string().min(1).optional()\n});\nconst openMeldDaemonShutdownPayloadSchema = strictObject({\n\taccepted: boolean(),\n\tmode: enumFactory([\"graceful\", \"force\"]),\n\tgracePeriodMs: number().int().nonnegative()\n});\nconst openMeldDaemonControlPlaneResponseBaseSchema = strictObject({\n\tv: literal(1),\n\trequestId: string().min(1).optional()\n});\nconst openMeldDaemonStatusResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.status\"),\n\tpayload: openMeldDaemonStatusPayloadSchema\n});\nconst openMeldDaemonHealthResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.health\"),\n\tpayload: openMeldDaemonHealthPayloadSchema\n});\nconst openMeldDaemonHistoryResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.history\"),\n\tpayload: openMeldDaemonHistoryPayloadSchema\n});\nconst openMeldDaemonInterruptResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.interrupt\"),\n\tpayload: openMeldDaemonInterruptPayloadSchema\n});\nconst openMeldDaemonCancelResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.cancel\"),\n\tpayload: openMeldDaemonCancelPayloadSchema\n});\nconst openMeldDaemonConversationExecutionStatusResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.conversation_execution_status\"),\n\tpayload: openMeldDaemonConversationExecutionStatusPayloadSchema\n});\nconst openMeldDaemonSyncRouteCatalogResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.sync_route_catalog\"),\n\tpayload: openMeldDaemonSyncRouteCatalogPayloadSchema\n});\nconst openMeldDaemonRequestAgentActivitySyncResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.agent_activity_sync_requested\"),\n\tpayload: openMeldDaemonRequestAgentActivitySyncPayloadSchema\n});\nconst openMeldDaemonSetLocalAgentEnabledResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.set_local_agent_enabled\"),\n\tpayload: openMeldDaemonSetLocalAgentEnabledPayloadSchema\n});\nconst openMeldDaemonSetProfileWorkspaceResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.set_profile_workspace\"),\n\tpayload: openMeldDaemonSetProfileWorkspacePayloadSchema\n});\nconst openMeldDaemonShutdownResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.shutdown\"),\n\tpayload: openMeldDaemonShutdownPayloadSchema\n});\nconst openMeldDaemonServiceUpdateReadinessResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.update_readiness\"),\n\tpayload: openMeldDaemonServiceUpdateReadinessPayloadSchema\n});\nconst openMeldDaemonControlPlaneErrorResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.error\"),\n\tpayload: openMeldDaemonControlPlaneErrorPayloadSchema\n});\nconst openMeldDaemonControlPlaneResponseSchema = discriminatedUnion(\"code\", [\n\topenMeldDaemonControlPlaneResponseBaseSchema.extend({\n\t\tcode: literal(\"service.account_control_capabilities\"),\n\t\tpayload: strictObject({ supported: boolean() })\n\t}),\n\topenMeldDaemonStatusResponseSchema,\n\topenMeldDaemonHealthResponseSchema,\n\topenMeldDaemonHistoryResponseSchema,\n\topenMeldDaemonInterruptResponseSchema,\n\topenMeldDaemonCancelResponseSchema,\n\topenMeldDaemonConversationExecutionStatusResponseSchema,\n\topenMeldDaemonSyncRouteCatalogResponseSchema,\n\topenMeldDaemonRequestAgentActivitySyncResponseSchema,\n\topenMeldDaemonSetLocalAgentEnabledResponseSchema,\n\topenMeldDaemonSetProfileWorkspaceResponseSchema,\n\topenMeldDaemonServiceUpdateReadinessResponseSchema,\n\topenMeldDaemonShutdownResponseSchema,\n\topenMeldDaemonControlPlaneErrorResponseSchema\n]);\n//#endregion\nexport { DAEMON_PROFILE_SKIP_REASON_VALUES, OPENMELD_DAEMON_CONTROL_PLANE_SCHEMA_VERSION, daemonProfileSkipReasonSchema, localAgentInstallationOptionSchema, openMeldDaemonCancelPayloadSchema, openMeldDaemonCancelRequestPayloadSchema, openMeldDaemonCancelResponseSchema, openMeldDaemonControlPlaneCommandSchema, openMeldDaemonControlPlaneErrorPayloadSchema, openMeldDaemonControlPlaneErrorResponseSchema, openMeldDaemonControlPlaneRequestSchema, openMeldDaemonControlPlaneResponseSchema, openMeldDaemonControlTargetSelectorSchema, openMeldDaemonConversationExecutionControllerLaunchStatusSchema, openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema, openMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema, openMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema, openMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema, openMeldDaemonConversationExecutionRuntimeWorkspaceSchema, openMeldDaemonConversationExecutionStatusPayloadSchema, openMeldDaemonConversationExecutionStatusRequestPayloadSchema, openMeldDaemonConversationExecutionStatusResponseSchema, openMeldDaemonHealthPayloadSchema, openMeldDaemonHealthResponseSchema, openMeldDaemonHealthStateSchema, openMeldDaemonHistoryEntrySchema, openMeldDaemonHistoryPayloadSchema, openMeldDaemonHistoryResponseSchema, openMeldDaemonInterruptPayloadSchema, openMeldDaemonInterruptRequestPayloadSchema, openMeldDaemonInterruptResponseSchema, openMeldDaemonManageLocalAgentInstallationPayloadSchema, openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema, openMeldDaemonProviderConversationProofMethodSchema, openMeldDaemonProviderConversationProofProviderSchema, openMeldDaemonProviderConversationProofSchema, openMeldDaemonProviderConversationProofStatusSchema, openMeldDaemonRequestAgentActivitySyncPayloadSchema, openMeldDaemonRequestAgentActivitySyncRequestPayloadSchema, openMeldDaemonRequestAgentActivitySyncResponseSchema, openMeldDaemonRuntimeHealthStateSchema, openMeldDaemonServiceUpdateReadinessPayloadSchema, openMeldDaemonServiceUpdateReadinessResponseSchema, openMeldDaemonSetLocalAgentEnabledPayloadSchema, openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema, openMeldDaemonSetLocalAgentEnabledResponseSchema, openMeldDaemonSetProfileWorkspacePayloadSchema, openMeldDaemonSetProfileWorkspaceRequestPayloadSchema, openMeldDaemonSetProfileWorkspaceResponseSchema, openMeldDaemonShutdownPayloadSchema, openMeldDaemonShutdownRequestPayloadSchema, openMeldDaemonShutdownResponseSchema, openMeldDaemonStatusPayloadSchema, openMeldDaemonStatusResponseSchema, openMeldDaemonSyncRouteCatalogPayloadSchema, openMeldDaemonSyncRouteCatalogRequestPayloadSchema, openMeldDaemonSyncRouteCatalogResponseSchema, openMeldDaemonSyncRouteCatalogStatusSchema, skippedDaemonProfileSchema };\n\n//# sourceMappingURL=control-plane.js.map"],"mappings":";;;;;;AAEA,MAAM,4BAA4B,UAAU,OAAO,SAAS,EAAE,CAAC,CAAC,KAAK;AACrE,MAAM,mCAAmC,IAAI,WAAW,0BAA0B,IAAI,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACrG,MAAM,sBAAsB,IAAI,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO;AACtD,MAAM,6BAA6B,IAAI,YAAY,UAAU;CAC5D,IAAI,UAAU,KAAK,KAAK,UAAU,QAAQ,UAAU,IAAI;CACxD,IAAI,OAAO,UAAU,WAAW,OAAO;CACvC,MAAM,aAAa,OAAO,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY;CACpD,IAAI,eAAe,UAAU,eAAe,KAAK,OAAO;CACxD,IAAI,eAAe,WAAW,eAAe,KAAK,OAAO;CACzD,OAAO;AACR,GAAG,IAAI,QAAQ,CAAC,CAAC,SAAS,CAAC;;;ACR3B,M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AAM,qDAAqD,6CAA6C,OAAO;CAC9G,MAAM,QAAQ,0BAA0B;CACxC,SAAS;AACV,CAAC;AACD,MAAM,gDAAgD,6CAA6C,OAAO;CACzG,MAAM,QAAQ,eAAe;CAC7B,SAAS;AACV,CAAC;AACD,MAAM,2CAA2C,mBAAmB,QAAQ;CAC3E,6CAA6C,OAAO;EACnD,MAAM,QAAQ,sCAAsC;EACpD,SAAS,aAAa,EAAE,WAAW,QAAQ,EAAE,CAAC;CAC/C,CAAC;CACD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { $ as openMeldBinDir, N as OPENMELD_HOME_ENV_KEY, a as isOpenMeldOrphanedLockError, d as runWithHeldLock, dt as resolveOpenMeldEnvPreset, et as openMeldManagedBinaryPath, ft as resolveOpenMeldRootDir, i as isOpenMeldLockError, it as openMeldVersionsDir, mt as resolveOpenMeldServiceScope, nt as openMeldManagedVersionDir, rt as openMeldRootDir, t as acquireLock, tt as openMeldManagedVersionBinaryPath, v as resolveCliContextId } from "./lock-Dxp6o_t_.js";
|
|
4
4
|
import { n as cliBinaryManifestSchema, r as cliBinaryServiceReleaseSchema, t as cliBinaryDeltaPatchSchema } from "./cli-binary-manifest-DiUulkp0.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-PxntAyDq.js";
|
|
6
|
+
import { b as openMeldToolsUpdateOperationPhaseSchema, w as openMeldToolsUpdateRequestSourceSchema } from "./local-components-H3SkJMC1.js";
|
|
6
7
|
import { t as daemonServiceContractSchema } from "./service-contract-CRyDcIIf.js";
|
|
7
8
|
import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-DY2fBeSW.js";
|
|
8
9
|
import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-Dd4hdHNo.js";
|
|
@@ -19,7 +20,7 @@ import * as z$1 from "zod/v4";
|
|
|
19
20
|
import { constants } from "node:fs";
|
|
20
21
|
import process$1 from "node:process";
|
|
21
22
|
import { execFile, spawn } from "node:child_process";
|
|
22
|
-
import { setTimeout } from "node:timers/promises";
|
|
23
|
+
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
23
24
|
import { fileURLToPath } from "node:url";
|
|
24
25
|
import { promisify } from "node:util";
|
|
25
26
|
import { createConnection } from "node:net";
|
|
@@ -422,7 +423,30 @@ function verifyBytes(input) {
|
|
|
422
423
|
//#endregion
|
|
423
424
|
//#region ../../runtime/local-service/src/cli-binary-update-artifact.ts
|
|
424
425
|
const HARDENED_RUNTIME_FLAG_RE = /flags=.*runtime/iu;
|
|
426
|
+
const RETRY_AFTER_SECONDS_RE = /^\d+$/u;
|
|
425
427
|
const SIGNING_TIMESTAMP_RE = /^Timestamp=/mu;
|
|
428
|
+
const DEFAULT_CLI_BINARY_DOWNLOAD_POLICY = {
|
|
429
|
+
maxAttempts: 3,
|
|
430
|
+
retryDelaysMs: [500, 1500],
|
|
431
|
+
stallTimeoutMs: 6e4,
|
|
432
|
+
totalBudgetMs: 5 * 6e4
|
|
433
|
+
};
|
|
434
|
+
var CliBinaryUpdateError = class extends Error {
|
|
435
|
+
allowFullFallback;
|
|
436
|
+
code;
|
|
437
|
+
kind;
|
|
438
|
+
retryAfterMs;
|
|
439
|
+
retryable;
|
|
440
|
+
constructor(input) {
|
|
441
|
+
super(input.message, input.cause === void 0 ? void 0 : { cause: input.cause });
|
|
442
|
+
this.name = "CliBinaryUpdateError";
|
|
443
|
+
this.allowFullFallback = input.allowFullFallback;
|
|
444
|
+
this.code = `openmeld.tools.update.${input.kind}`;
|
|
445
|
+
this.kind = input.kind;
|
|
446
|
+
this.retryAfterMs = input.retryAfterMs;
|
|
447
|
+
this.retryable = input.retryable;
|
|
448
|
+
}
|
|
449
|
+
};
|
|
426
450
|
async function resolveCliBinaryUpdatePlan(input) {
|
|
427
451
|
const fullDownloadPlan = resolveFullCliBinaryUpdatePlan(input.release);
|
|
428
452
|
const versionDeltas = input.release.deltas?.filter((candidate) => candidate.fromVersion === input.currentVersion);
|
|
@@ -445,62 +469,79 @@ async function resolveCliBinaryUpdatePlan(input) {
|
|
|
445
469
|
};
|
|
446
470
|
}
|
|
447
471
|
async function downloadCliBinaryUpdateArtifact(input) {
|
|
472
|
+
const recovery = createDownloadRecoveryContext(input.downloadPolicy);
|
|
473
|
+
if (input.plan.transport === "delta" && input.downloadPolicy.maxAttempts < 2) return downloadFullCliBinaryArtifact({
|
|
474
|
+
...input,
|
|
475
|
+
plan: resolveFullCliBinaryUpdatePlan(input.release),
|
|
476
|
+
recovery
|
|
477
|
+
});
|
|
448
478
|
if (input.plan.transport === "delta") {
|
|
449
479
|
try {
|
|
450
480
|
return await downloadCliBinaryDelta({
|
|
451
481
|
...input,
|
|
482
|
+
attemptCeiling: Math.max(1, input.downloadPolicy.maxAttempts - 1),
|
|
452
483
|
baseBytes: input.plan.baseBytes,
|
|
453
|
-
delta: input.plan.delta
|
|
484
|
+
delta: input.plan.delta,
|
|
485
|
+
recovery
|
|
454
486
|
});
|
|
455
487
|
} catch (error) {
|
|
456
|
-
|
|
488
|
+
const resolvedError = toError(error);
|
|
489
|
+
if (resolvedError instanceof CliBinaryUpdateError && !resolvedError.allowFullFallback) throw resolvedError;
|
|
490
|
+
if (recovery.attemptsStarted >= input.downloadPolicy.maxAttempts) throw resolvedError;
|
|
491
|
+
input.onDeltaFallback(resolvedError);
|
|
492
|
+
await waitForRetryDelay({
|
|
493
|
+
cause: resolvedError,
|
|
494
|
+
deadlineAtMs: recovery.deadlineAtMs,
|
|
495
|
+
delayMs: resolvedError instanceof CliBinaryUpdateError ? resolvedError.retryAfterMs ?? 0 : 0
|
|
496
|
+
});
|
|
457
497
|
}
|
|
458
498
|
return downloadFullCliBinaryArtifact({
|
|
459
499
|
...input,
|
|
460
|
-
plan: resolveFullCliBinaryUpdatePlan(input.release)
|
|
500
|
+
plan: resolveFullCliBinaryUpdatePlan(input.release),
|
|
501
|
+
recovery
|
|
461
502
|
});
|
|
462
503
|
}
|
|
463
504
|
return downloadFullCliBinaryArtifact({
|
|
464
505
|
...input,
|
|
465
|
-
plan: input.plan
|
|
506
|
+
plan: input.plan,
|
|
507
|
+
recovery
|
|
466
508
|
});
|
|
467
509
|
}
|
|
468
510
|
async function verifyCliBinaryCodeSignature(input) {
|
|
469
511
|
const { codeIdentifier, teamIdentifier } = input.release;
|
|
470
512
|
if (!(codeIdentifier && teamIdentifier)) return;
|
|
471
|
-
if (process.platform !== "darwin") throw
|
|
513
|
+
if (process.platform !== "darwin") throw integrityError("signed OpenMeld CLI verification requires macOS");
|
|
472
514
|
const verification = await input.runCommand("/usr/bin/codesign", [
|
|
473
515
|
"--verify",
|
|
474
516
|
"--strict",
|
|
475
517
|
"--verbose=2",
|
|
476
518
|
input.artifactPath
|
|
477
519
|
]);
|
|
478
|
-
if (verification.code !== 0) throw
|
|
520
|
+
if (verification.code !== 0) throw integrityError(`binary code signature verification failed: ${commandFailureDetails(verification)}`);
|
|
479
521
|
const inspection = await input.runCommand("/usr/bin/codesign", [
|
|
480
522
|
"--display",
|
|
481
523
|
"--verbose=4",
|
|
482
524
|
input.artifactPath
|
|
483
525
|
]);
|
|
484
|
-
if (inspection.code !== 0) throw
|
|
526
|
+
if (inspection.code !== 0) throw integrityError(`binary code signature inspection failed: ${commandFailureDetails(inspection)}`);
|
|
485
527
|
const details = `${inspection.stdout}\n${inspection.stderr}`;
|
|
486
528
|
for (const expected of [
|
|
487
529
|
`Identifier=${codeIdentifier}`,
|
|
488
530
|
`TeamIdentifier=${teamIdentifier}`,
|
|
489
531
|
"Authority=Developer ID Application:"
|
|
490
|
-
]) if (!details.includes(expected)) throw
|
|
491
|
-
if (!HARDENED_RUNTIME_FLAG_RE.test(details)) throw
|
|
492
|
-
if (!SIGNING_TIMESTAMP_RE.test(details)) throw
|
|
532
|
+
]) if (!details.includes(expected)) throw integrityError(`binary code signature is missing expected identity: ${expected}`);
|
|
533
|
+
if (!HARDENED_RUNTIME_FLAG_RE.test(details)) throw integrityError("binary code signature is missing the hardened runtime");
|
|
534
|
+
if (!SIGNING_TIMESTAMP_RE.test(details)) throw integrityError("binary code signature is missing a trusted timestamp");
|
|
493
535
|
}
|
|
494
536
|
async function downloadCliBinaryDelta(input) {
|
|
495
|
-
const
|
|
496
|
-
|
|
497
|
-
|
|
537
|
+
const patchBytes = await downloadBinaryBytesWithRecovery({
|
|
538
|
+
attemptCeiling: input.attemptCeiling,
|
|
539
|
+
expectedSizeBytes: input.delta.patchSizeBytes,
|
|
540
|
+
fetchImpl: input.fetchImpl,
|
|
541
|
+
label: "binary delta archive",
|
|
542
|
+
recovery: input.recovery,
|
|
543
|
+
url: input.delta.patchUrl
|
|
498
544
|
});
|
|
499
|
-
if (!response.ok) {
|
|
500
|
-
const body = await response.text().catch(() => "");
|
|
501
|
-
throw new Error(`binary delta download failed: HTTP ${response.status}${body ? `: ${body}` : ""}`);
|
|
502
|
-
}
|
|
503
|
-
const patchBytes = Buffer.from(await response.arrayBuffer());
|
|
504
545
|
verifyBinaryBytes({
|
|
505
546
|
bytes: patchBytes,
|
|
506
547
|
expectedSha256: input.delta.patchSha256,
|
|
@@ -511,16 +552,20 @@ async function downloadCliBinaryDelta(input) {
|
|
|
511
552
|
try {
|
|
512
553
|
patchPayloadBytes = gunzipSync(patchBytes, { maxOutputLength: input.delta.patchPayloadSizeBytes });
|
|
513
554
|
} catch (error) {
|
|
514
|
-
throw
|
|
555
|
+
throw integrityError(`binary delta could not be decompressed: ${toError(error).message}`, error);
|
|
556
|
+
}
|
|
557
|
+
if (patchPayloadBytes.byteLength !== input.delta.patchPayloadSizeBytes) throw integrityError(`binary delta payload size mismatch: expected ${input.delta.patchPayloadSizeBytes} bytes, received ${patchPayloadBytes.byteLength} bytes`);
|
|
558
|
+
try {
|
|
559
|
+
return reconstructCliBinaryDelta({
|
|
560
|
+
baseBytes: input.baseBytes,
|
|
561
|
+
delta: input.delta,
|
|
562
|
+
patchPayloadBytes,
|
|
563
|
+
targetSha256: input.release.sha256,
|
|
564
|
+
targetSizeBytes: input.release.sizeBytes
|
|
565
|
+
});
|
|
566
|
+
} catch (error) {
|
|
567
|
+
throw integrityError(`binary delta reconstruction failed: ${toError(error).message}`, error);
|
|
515
568
|
}
|
|
516
|
-
if (patchPayloadBytes.byteLength !== input.delta.patchPayloadSizeBytes) throw new Error(`binary delta payload size mismatch: expected ${input.delta.patchPayloadSizeBytes} bytes, received ${patchPayloadBytes.byteLength} bytes`);
|
|
517
|
-
return reconstructCliBinaryDelta({
|
|
518
|
-
baseBytes: input.baseBytes,
|
|
519
|
-
delta: input.delta,
|
|
520
|
-
patchPayloadBytes,
|
|
521
|
-
targetSha256: input.release.sha256,
|
|
522
|
-
targetSizeBytes: input.release.sizeBytes
|
|
523
|
-
});
|
|
524
569
|
}
|
|
525
570
|
function resolveFullCliBinaryUpdatePlan(release) {
|
|
526
571
|
if (hasCompressedCliBinaryTransport(release)) return {
|
|
@@ -537,15 +582,13 @@ function resolveFullCliBinaryUpdatePlan(release) {
|
|
|
537
582
|
};
|
|
538
583
|
}
|
|
539
584
|
async function downloadFullCliBinaryArtifact(input) {
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
|
|
585
|
+
const downloadBytes = await downloadBinaryBytesWithRecovery({
|
|
586
|
+
expectedSizeBytes: input.plan.downloadSizeBytes,
|
|
587
|
+
fetchImpl: input.fetchImpl,
|
|
588
|
+
label: input.plan.transport === "archive" ? "binary archive" : "binary download",
|
|
589
|
+
recovery: input.recovery,
|
|
590
|
+
url: input.plan.downloadUrl
|
|
543
591
|
});
|
|
544
|
-
if (!response.ok) {
|
|
545
|
-
const body = await response.text().catch(() => "");
|
|
546
|
-
throw new Error(`binary download failed: HTTP ${response.status}${body ? `: ${body}` : ""}`);
|
|
547
|
-
}
|
|
548
|
-
const downloadBytes = Buffer.from(await response.arrayBuffer());
|
|
549
592
|
verifyBinaryBytes({
|
|
550
593
|
bytes: downloadBytes,
|
|
551
594
|
expectedSha256: input.plan.downloadSha256,
|
|
@@ -556,7 +599,7 @@ async function downloadFullCliBinaryArtifact(input) {
|
|
|
556
599
|
if (input.plan.transport === "archive") try {
|
|
557
600
|
artifactBytes = gunzipSync(downloadBytes, { maxOutputLength: input.release.sizeBytes });
|
|
558
601
|
} catch (error) {
|
|
559
|
-
throw
|
|
602
|
+
throw integrityError(`binary archive could not be decompressed: ${toError(error).message}`, error);
|
|
560
603
|
}
|
|
561
604
|
verifyBinaryBytes({
|
|
562
605
|
bytes: artifactBytes,
|
|
@@ -570,9 +613,212 @@ function hasCompressedCliBinaryTransport(release) {
|
|
|
570
613
|
return release.archiveFormat === "gzip" && typeof release.archiveUrl === "string" && typeof release.archiveSha256 === "string" && typeof release.archiveSizeBytes === "number";
|
|
571
614
|
}
|
|
572
615
|
function verifyBinaryBytes(input) {
|
|
573
|
-
if (input.bytes.byteLength !== input.expectedSizeBytes) throw
|
|
616
|
+
if (input.bytes.byteLength !== input.expectedSizeBytes) throw integrityError(`${input.label} size mismatch: expected ${input.expectedSizeBytes} bytes, received ${input.bytes.byteLength} bytes`);
|
|
574
617
|
const actualSha256 = createHash("sha256").update(input.bytes).digest("hex");
|
|
575
|
-
if (actualSha256 !== input.expectedSha256.toLowerCase()) throw
|
|
618
|
+
if (actualSha256 !== input.expectedSha256.toLowerCase()) throw integrityError(`${input.label} sha256 mismatch: expected ${input.expectedSha256.toLowerCase()}, received ${actualSha256}`);
|
|
619
|
+
}
|
|
620
|
+
function createDownloadRecoveryContext(policy) {
|
|
621
|
+
if (!Number.isInteger(policy.maxAttempts) || policy.maxAttempts < 1 || !Number.isFinite(policy.stallTimeoutMs) || policy.stallTimeoutMs <= 0 || !Number.isFinite(policy.totalBudgetMs) || policy.totalBudgetMs <= 0 || policy.retryDelaysMs.some((delayMs) => !Number.isFinite(delayMs) || delayMs < 0)) throw new Error("CLI binary download policy is invalid.");
|
|
622
|
+
return {
|
|
623
|
+
attemptsStarted: 0,
|
|
624
|
+
deadlineAtMs: performance.now() + policy.totalBudgetMs,
|
|
625
|
+
policy
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
async function downloadBinaryBytesWithRecovery(input) {
|
|
629
|
+
let lastError = null;
|
|
630
|
+
const attemptCeiling = Math.min(input.attemptCeiling ?? input.recovery.policy.maxAttempts, input.recovery.policy.maxAttempts);
|
|
631
|
+
while (input.recovery.attemptsStarted < attemptCeiling) {
|
|
632
|
+
if (performance.now() >= input.recovery.deadlineAtMs) throw totalBudgetError(lastError ?? void 0);
|
|
633
|
+
const attemptIndex = input.recovery.attemptsStarted;
|
|
634
|
+
input.recovery.attemptsStarted += 1;
|
|
635
|
+
try {
|
|
636
|
+
return await downloadBinaryBytesAttempt(input);
|
|
637
|
+
} catch (error) {
|
|
638
|
+
const resolved = normalizeDownloadError(error, input.label);
|
|
639
|
+
lastError = resolved;
|
|
640
|
+
if (!resolved.retryable) throw resolved;
|
|
641
|
+
if (input.recovery.attemptsStarted >= attemptCeiling) throw resolved;
|
|
642
|
+
const delayMs = input.recovery.policy.retryDelaysMs[attemptIndex] ?? input.recovery.policy.retryDelaysMs.at(-1) ?? 0;
|
|
643
|
+
await waitForRetryDelay({
|
|
644
|
+
cause: resolved,
|
|
645
|
+
deadlineAtMs: input.recovery.deadlineAtMs,
|
|
646
|
+
delayMs: Math.max(delayMs, resolved.retryAfterMs ?? 0)
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
throw lastError ?? totalBudgetError();
|
|
651
|
+
}
|
|
652
|
+
async function downloadBinaryBytesAttempt(input) {
|
|
653
|
+
const controller = new AbortController();
|
|
654
|
+
let reader = null;
|
|
655
|
+
let lastProgressAtMs = performance.now();
|
|
656
|
+
try {
|
|
657
|
+
const response = await waitForDownloadProgress(input.fetchImpl(input.url, {
|
|
658
|
+
method: "GET",
|
|
659
|
+
signal: controller.signal
|
|
660
|
+
}), {
|
|
661
|
+
controller,
|
|
662
|
+
lastProgressAtMs,
|
|
663
|
+
recovery: input.recovery
|
|
664
|
+
});
|
|
665
|
+
if (!response.ok) {
|
|
666
|
+
cancelReadableStream(response.body);
|
|
667
|
+
throw httpDownloadError({
|
|
668
|
+
label: input.label,
|
|
669
|
+
retryAfter: response.headers.get("retry-after"),
|
|
670
|
+
status: response.status,
|
|
671
|
+
statusText: response.statusText
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
if (!response.body) return Buffer.alloc(0);
|
|
675
|
+
reader = response.body.getReader();
|
|
676
|
+
const chunks = [];
|
|
677
|
+
let receivedBytes = 0;
|
|
678
|
+
while (true) {
|
|
679
|
+
const next = await waitForDownloadProgress(reader.read(), {
|
|
680
|
+
controller,
|
|
681
|
+
lastProgressAtMs,
|
|
682
|
+
recovery: input.recovery
|
|
683
|
+
});
|
|
684
|
+
if (next.done) return Buffer.concat(chunks, receivedBytes);
|
|
685
|
+
if (!next.value || next.value.byteLength === 0) continue;
|
|
686
|
+
lastProgressAtMs = performance.now();
|
|
687
|
+
receivedBytes += next.value.byteLength;
|
|
688
|
+
if (receivedBytes > input.expectedSizeBytes) throw integrityError(`${input.label} size exceeded the declared ${input.expectedSizeBytes} bytes while downloading`);
|
|
689
|
+
chunks.push(Buffer.from(next.value));
|
|
690
|
+
}
|
|
691
|
+
} catch (error) {
|
|
692
|
+
controller.abort(error);
|
|
693
|
+
if (reader) cancelReadableStreamReader(reader);
|
|
694
|
+
throw error;
|
|
695
|
+
} finally {
|
|
696
|
+
reader?.releaseLock();
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
async function waitForDownloadProgress(pending, input) {
|
|
700
|
+
const stallDeadlineAtMs = input.lastProgressAtMs + input.recovery.policy.stallTimeoutMs;
|
|
701
|
+
const totalDeadlineWins = input.recovery.deadlineAtMs <= stallDeadlineAtMs;
|
|
702
|
+
const deadlineAtMs = Math.min(stallDeadlineAtMs, input.recovery.deadlineAtMs);
|
|
703
|
+
const timeoutMs = Math.max(0, deadlineAtMs - performance.now());
|
|
704
|
+
let timer = null;
|
|
705
|
+
const timeout = new Promise((_resolve, reject) => {
|
|
706
|
+
timer = setTimeout(() => {
|
|
707
|
+
const error = totalDeadlineWins ? totalBudgetError() : stalledError();
|
|
708
|
+
reject(error);
|
|
709
|
+
input.controller.abort(error);
|
|
710
|
+
}, timeoutMs);
|
|
711
|
+
});
|
|
712
|
+
try {
|
|
713
|
+
return await Promise.race([pending, timeout]);
|
|
714
|
+
} finally {
|
|
715
|
+
if (timer) clearTimeout(timer);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
async function waitForRetryDelay(input) {
|
|
719
|
+
if (input.delayMs === 0) return;
|
|
720
|
+
if (input.deadlineAtMs - performance.now() <= input.delayMs) throw totalBudgetError(input.cause);
|
|
721
|
+
await new Promise((resolve) => setTimeout(resolve, input.delayMs));
|
|
722
|
+
}
|
|
723
|
+
function normalizeDownloadError(error, label) {
|
|
724
|
+
if (error instanceof CliBinaryUpdateError) return error;
|
|
725
|
+
const resolved = toError(error);
|
|
726
|
+
const terminalTlsFailure = findErrorCode(error, isTerminalTlsErrorCode);
|
|
727
|
+
if (terminalTlsFailure || isTerminalTlsErrorMessage(resolved.message)) return new CliBinaryUpdateError({
|
|
728
|
+
allowFullFallback: false,
|
|
729
|
+
cause: error,
|
|
730
|
+
kind: "download_failed",
|
|
731
|
+
message: `${label} download failed TLS certificate verification${terminalTlsFailure ? ` (${terminalTlsFailure})` : ""}`,
|
|
732
|
+
retryable: false
|
|
733
|
+
});
|
|
734
|
+
const retryable = Boolean(findErrorCode(error, isRetryableNetworkErrorCode));
|
|
735
|
+
return new CliBinaryUpdateError({
|
|
736
|
+
allowFullFallback: true,
|
|
737
|
+
cause: error,
|
|
738
|
+
kind: "download_failed",
|
|
739
|
+
message: `${label} download failed: ${resolved.message}`,
|
|
740
|
+
retryable
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
function httpDownloadError(input) {
|
|
744
|
+
const retryable = input.status === 408 || input.status === 429 || input.status === 500 || input.status === 502 || input.status === 503 || input.status === 504;
|
|
745
|
+
const missingDelta = input.status === 404 || input.status === 410;
|
|
746
|
+
const retryAfterMs = input.retryAfter ? parseRetryAfterMs(input.retryAfter) : void 0;
|
|
747
|
+
return new CliBinaryUpdateError({
|
|
748
|
+
allowFullFallback: retryable || missingDelta,
|
|
749
|
+
kind: "download_failed",
|
|
750
|
+
message: `${input.label} download failed: HTTP ${input.status}${input.statusText ? ` ${input.statusText}` : ""}`,
|
|
751
|
+
...retryAfterMs === void 0 ? {} : { retryAfterMs },
|
|
752
|
+
retryable
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
function parseRetryAfterMs(value) {
|
|
756
|
+
const trimmed = value.trim();
|
|
757
|
+
if (RETRY_AFTER_SECONDS_RE.test(trimmed)) {
|
|
758
|
+
const milliseconds = Number(trimmed) * 1e3;
|
|
759
|
+
return Number.isSafeInteger(milliseconds) ? milliseconds : void 0;
|
|
760
|
+
}
|
|
761
|
+
const retryAtMs = Date.parse(trimmed);
|
|
762
|
+
if (!Number.isFinite(retryAtMs)) return;
|
|
763
|
+
return Math.max(0, retryAtMs - Date.now());
|
|
764
|
+
}
|
|
765
|
+
function stalledError() {
|
|
766
|
+
return new CliBinaryUpdateError({
|
|
767
|
+
allowFullFallback: true,
|
|
768
|
+
kind: "download_stalled",
|
|
769
|
+
message: "binary download stopped making progress",
|
|
770
|
+
retryable: true
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
function totalBudgetError(cause) {
|
|
774
|
+
return new CliBinaryUpdateError({
|
|
775
|
+
allowFullFallback: false,
|
|
776
|
+
...cause === void 0 ? {} : { cause },
|
|
777
|
+
kind: "download_timed_out",
|
|
778
|
+
message: "binary download exceeded the total recovery time budget",
|
|
779
|
+
retryable: false
|
|
780
|
+
});
|
|
781
|
+
}
|
|
782
|
+
function integrityError(message, cause) {
|
|
783
|
+
return new CliBinaryUpdateError({
|
|
784
|
+
allowFullFallback: true,
|
|
785
|
+
...cause === void 0 ? {} : { cause },
|
|
786
|
+
kind: "integrity_check_failed",
|
|
787
|
+
message,
|
|
788
|
+
retryable: false
|
|
789
|
+
});
|
|
790
|
+
}
|
|
791
|
+
function findErrorCode(error, predicate) {
|
|
792
|
+
const seen = /* @__PURE__ */ new Set();
|
|
793
|
+
let current = error;
|
|
794
|
+
while (current && typeof current === "object" && !seen.has(current)) {
|
|
795
|
+
seen.add(current);
|
|
796
|
+
const code = current.code;
|
|
797
|
+
if (typeof code === "string" && predicate(code.toUpperCase())) return code;
|
|
798
|
+
current = current.cause;
|
|
799
|
+
}
|
|
800
|
+
return null;
|
|
801
|
+
}
|
|
802
|
+
function cancelReadableStream(stream) {
|
|
803
|
+
if (!stream) return;
|
|
804
|
+
try {
|
|
805
|
+
stream.cancel().catch(() => void 0);
|
|
806
|
+
} catch {}
|
|
807
|
+
}
|
|
808
|
+
function cancelReadableStreamReader(reader) {
|
|
809
|
+
try {
|
|
810
|
+
reader.cancel().catch(() => void 0);
|
|
811
|
+
} catch {}
|
|
812
|
+
}
|
|
813
|
+
function isTerminalTlsErrorCode(code) {
|
|
814
|
+
return code.startsWith("CERT_") || code.includes("_CERT_") || code.startsWith("ERR_OSSL_") || code.startsWith("ERR_SSL_") || code.startsWith("ERR_TLS_") || code === "DEPTH_ZERO_SELF_SIGNED_CERT" || code === "SELF_SIGNED_CERT_IN_CHAIN" || code.startsWith("UNABLE_TO_GET_ISSUER_CERT") || code === "UNABLE_TO_VERIFY_LEAF_SIGNATURE";
|
|
815
|
+
}
|
|
816
|
+
function isTerminalTlsErrorMessage(message) {
|
|
817
|
+
const normalized = message.toLowerCase();
|
|
818
|
+
return normalized.includes("certificate") || normalized.includes("self signed") || normalized.includes("tls handshake") || normalized.includes("unable to verify");
|
|
819
|
+
}
|
|
820
|
+
function isRetryableNetworkErrorCode(code) {
|
|
821
|
+
return code === "EAI_AGAIN" || code === "ECONNABORTED" || code === "ECONNREFUSED" || code === "ECONNRESET" || code === "EHOSTUNREACH" || code === "ENETDOWN" || code === "ENETUNREACH" || code === "ENOTFOUND" || code === "EPIPE" || code === "ETIMEDOUT" || code === "UND_ERR_BODY_TIMEOUT" || code === "UND_ERR_CONNECT_TIMEOUT" || code === "UND_ERR_HEADERS_TIMEOUT" || code === "UND_ERR_RES_CONTENT_LENGTH_MISMATCH" || code === "UND_ERR_SOCKET";
|
|
576
822
|
}
|
|
577
823
|
function commandFailureDetails(result) {
|
|
578
824
|
return result.stderr.trim() || result.stdout.trim() || `exit ${result.code}`;
|
|
@@ -701,7 +947,7 @@ function getErrorCode$2(error) {
|
|
|
701
947
|
var package_default = {
|
|
702
948
|
$schema: "https://www.schemastore.org/package.json",
|
|
703
949
|
name: "openmeld",
|
|
704
|
-
version: "0.3.
|
|
950
|
+
version: "0.3.212",
|
|
705
951
|
openMeldReleaseDate: "2026-09-16",
|
|
706
952
|
description: "OpenMeld CLI - https://openmeld.ai",
|
|
707
953
|
license: "MIT",
|
|
@@ -1242,7 +1488,7 @@ async function withManagedInstallTransaction(run, pathInput = {}) {
|
|
|
1242
1488
|
});
|
|
1243
1489
|
} catch (error) {
|
|
1244
1490
|
if (!isOpenMeldLockError(error) || isOpenMeldOrphanedLockError(error) || Date.now() - startedAtMs >= MANAGED_INSTALL_LOCK_TIMEOUT_MS) throw error;
|
|
1245
|
-
await setTimeout(MANAGED_INSTALL_LOCK_RETRY_DELAY_MS);
|
|
1491
|
+
await setTimeout$1(MANAGED_INSTALL_LOCK_RETRY_DELAY_MS);
|
|
1246
1492
|
}
|
|
1247
1493
|
}
|
|
1248
1494
|
/**
|
|
@@ -1983,7 +2229,7 @@ async function prepareSelectedBinaryDaemonServiceBundle(input) {
|
|
|
1983
2229
|
release: input.release
|
|
1984
2230
|
});
|
|
1985
2231
|
const bytes = await downloadCliBinaryUpdateArtifact({
|
|
1986
|
-
|
|
2232
|
+
downloadPolicy: DEFAULT_CLI_BINARY_DOWNLOAD_POLICY,
|
|
1987
2233
|
fetchImpl: fetch,
|
|
1988
2234
|
onDeltaFallback,
|
|
1989
2235
|
plan,
|
|
@@ -3637,6 +3883,6 @@ async function readObservedRuntimeState() {
|
|
|
3637
3883
|
});
|
|
3638
3884
|
}
|
|
3639
3885
|
//#endregion
|
|
3640
|
-
export { readManagedCliInstallation as $, prepareDaemonServiceBundle as A,
|
|
3886
|
+
export { readManagedCliInstallation as $, prepareDaemonServiceBundle as A, resolveCliBinaryUpdatePlan as At, resolveDaemonServiceArtifact as B, isUnsafeProductionDeviceId as Bt, daemonServiceExecutableWrapperPath as C, resolveDaemonServiceUpdateWorkerLaunchdPlistPath as Ct, ensureDaemonServiceStableBinaryExecutable as D, resolveDaemonServiceUpdateWorkerWindowsScriptPath as Dt, discardPreparedDaemonServiceBundle as E, resolveDaemonServiceUpdateWorkerSystemdUnitPath as Et, restoreDaemonActiveBundleStateSnapshot as F, requestLocalDaemonShutdown as Ft, readRecentDaemonLifecycleEvents as G, formatDaemonLifecycleOriginSummary as H, upsertDaemonServiceContract as Ht, runAuditedServiceManagerCarrierMutation as I, requestLocalSyncRouteCatalog as It, runWithDaemonLifecycleCommandJournal as J, resolveRecentDaemonSignalStopCause as K, verifyDaemonActiveBundleIntegrity as L, sendLocalDaemonControlPlaneRequest as Lt, resolveAlignedDaemonActiveBundleEntryPath as M, LocalDaemonControlPlaneClientError as Mt, resolveDaemonBundleEntryPathFromState as N, requestLocalAgentActivitySync as Nt, ensureDaemonServiceUpdateWorkerBinaryExecutable as O, DEFAULT_CLI_BINARY_DOWNLOAD_POLICY as Ot, resolveInstalledDaemonBundleFingerprint as P, requestLocalDaemonServiceUpdateReadiness as Pt, pruneManagedInstallVersions as Q, writeDaemonServiceExecutableWrapper as R, clearDaemonServiceContract as Rt, daemonServiceBinaryExecutablePath as S, resolveDaemonServiceUpdateWorkerIdentity as St, daemonServiceUpdateWorkerBinaryPath as T, resolveDaemonServiceUpdateWorkerSystemdTimerUnitPath as Tt, readLatestDaemonLifecycleConnectionStateEvent as U, emitDaemonLifecycleEvent as V, readDaemonServiceContract as Vt, readLatestDaemonLifecycleOriginEvent as W, buildInstallSelfJsonPayload as X, collectLocalOperationFailure as Y, performManagedInstall as Z, matchesExpectedDaemonServiceManagerDefinition as _, package_default as _t, resolveDaemonRuntimeState as a, persistPendingDaemonServiceUpdate as at, cleanupInactiveDaemonServiceBundles as b, daemonServiceUpdateWorkerNpmEntryPath as bt, resolveObservedDaemonRuntimeStatus as c, buildNextVersionState as ct, inspectLegacySharedDaemonService as d, fetchLatestCliBinaryRelease as dt, resolveCliSelfVersion as et, listDaemonOwnedProcesses as f, fetchLatestPackageInfo as ft, assertDaemonMaintenanceInstallationOwnership as g, resolveBundledServiceRelease as gt, resolveDaemonBundleIdFromEntryPath as h, writeVersionState as ht, readCurrentObservedDaemonRuntimeStatus as i, completePendingDaemonServiceUpdate as it, readDaemonActiveBundleState as j, verifyCliBinaryCodeSignature as jt, isDaemonBundleSourceAllowedForLane as k, downloadCliBinaryUpdateArtifact as kt, resolveObservedRuntimeCommandEntryPath as l, compareSemver as lt, normalizeDaemonCommandPath as m, readVersionState as mt, getEffectiveDaemonRuntimeStatus as n, OPENMELD_VERSION as nt, resolveDaemonServiceManagerForRuntimeState as o, readLastDaemonServiceUpdate as ot, extractDaemonCommandEntryPath as p, isPlainReleaseVersion as pt, runDaemonServiceManagerAction as q, readCurrentDaemonRuntimeContext as r, DAEMON_SERVICE_UPDATE_JOB_SCHEMA as rt, waitForDaemonSystemServiceToStop as s, readPendingDaemonServiceUpdate as st, clearDaemonRuntimeStateIfDefinitelyStopped as t, withManagedInstallTransaction as tt, cleanupLegacySharedDaemonServiceState as u, ensureVersionStateReady as ut, isOpenMeldManagedBinaryPath as v, INDEPENDENT_MAINTENANCE_REGISTRATION as vt, daemonServiceLauncherPath as w, resolveDaemonServiceUpdateWorkerSystemdPathUnitPath as wt, clearDaemonServiceUpdateWorkerBinaryExecutable as x, hasIndependentMaintenanceRegistration as xt, activateDaemonServiceBundle as y, configureDaemonMaintenanceEnvironment as yt, writeDaemonServiceLauncher as z, isDaemonServiceContractIdentityReusable as zt };
|
|
3641
3887
|
|
|
3642
|
-
//# sourceMappingURL=daemon-service-runtime-
|
|
3888
|
+
//# sourceMappingURL=daemon-service-runtime-CWTlAhZY.js.map
|