openmeld 0.3.291 → 0.3.292
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-CyjPMpL8.js → add-me-membership-DzyYrmrJ.js} +2 -2
- package/dist/{add-me-membership-CyjPMpL8.js.map → add-me-membership-DzyYrmrJ.js.map} +1 -1
- package/dist/{agents-TD36Nt36.js → agents-Cx-N8w-U.js} +5 -5
- package/dist/{agents-TD36Nt36.js.map → agents-Cx-N8w-U.js.map} +1 -1
- package/dist/{channel--QXaQfMz.js → channel-DfaHRitM.js} +2 -2
- package/dist/{channel--QXaQfMz.js.map → channel-DfaHRitM.js.map} +1 -1
- package/dist/{command-B-lmrdLm.js → command-LBzVb7R2.js} +9 -9
- package/dist/{command-B-lmrdLm.js.map → command-LBzVb7R2.js.map} +1 -1
- package/dist/{computer-connection-review-B6Ugk2EF.js → computer-connection-review-D32sB8oo.js} +2 -2
- package/dist/{computer-connection-review-B6Ugk2EF.js.map → computer-connection-review-D32sB8oo.js.map} +1 -1
- package/dist/{computer-disconnect-D6KKrGlt.js → computer-disconnect-DJe5veAd.js} +3 -3
- package/dist/{computer-disconnect-D6KKrGlt.js.map → computer-disconnect-DJe5veAd.js.map} +1 -1
- package/dist/{computer-setup-continuation-M-93Wtan.js → computer-setup-continuation-SasfkSwQ.js} +3 -3
- package/dist/{computer-setup-continuation-M-93Wtan.js.map → computer-setup-continuation-SasfkSwQ.js.map} +1 -1
- package/dist/{daemon-device-id-esUdfenn.js → daemon-device-id-B-iuoFzM.js} +32 -2
- package/dist/daemon-device-id-B-iuoFzM.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-YJs8sCNg.js → daemon-lifecycle-journal-BaI2xxdH.js} +2 -2
- package/dist/{daemon-lifecycle-journal-YJs8sCNg.js.map → daemon-lifecycle-journal-BaI2xxdH.js.map} +1 -1
- package/dist/{daemon-service-runtime-DZ_032oj.js → daemon-service-runtime-gMHnEHnq.js} +2 -2
- package/dist/{daemon-service-runtime-DZ_032oj.js.map → daemon-service-runtime-gMHnEHnq.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-BqSvsAjN.js → dispatch-owned-runtime-DlpQwB6N.js} +3 -3
- package/dist/{dispatch-owned-runtime-BqSvsAjN.js.map → dispatch-owned-runtime-DlpQwB6N.js.map} +1 -1
- package/dist/{dist-lfiZbuqV.js → dist-CVuix2Ne.js} +13 -13
- package/dist/{dist-ChSkwbjI.js → dist-W42Tu_IN.js} +2 -2
- package/dist/{dual-view-guide-catalog-C9aFCiSE.js → dual-view-guide-catalog-BZtmfAkF.js} +2 -2
- package/dist/{dual-view-guide-catalog-C9aFCiSE.js.map → dual-view-guide-catalog-BZtmfAkF.js.map} +1 -1
- package/dist/{entry-BnsP9JAM.js → entry-BM8DA2U-.js} +5 -5
- package/dist/{entry-BnsP9JAM.js.map → entry-BM8DA2U-.js.map} +1 -1
- package/dist/{installation-inventory-hq8m9ORg.js → installation-inventory-BBR228VY.js} +3 -3
- package/dist/{installation-inventory-hq8m9ORg.js.map → installation-inventory-BBR228VY.js.map} +1 -1
- package/dist/{installer-DzxFdbnD.js → installer-D4dGpL9N.js} +2 -2
- package/dist/{installer-DzxFdbnD.js.map → installer-D4dGpL9N.js.map} +1 -1
- package/dist/{meta-api-BymC6Zst.js → meta-api-DgLrYkyU.js} +3 -3
- package/dist/{meta-api-BymC6Zst.js.map → meta-api-DgLrYkyU.js.map} +1 -1
- package/dist/{openmeld-YyY3x2Gv.js → openmeld-CinzKNUc.js} +23 -23
- package/dist/{openmeld-YyY3x2Gv.js.map → openmeld-CinzKNUc.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-BiziGPdh.js → openmeld-maintenance-worker-D0hTBra6.js} +9 -9
- package/dist/{openmeld-maintenance-worker-BiziGPdh.js.map → openmeld-maintenance-worker-D0hTBra6.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-DCzOm9qr.js → openmeld-tools-update-coordinator-ChqDoSKS.js} +5 -5
- package/dist/{openmeld-tools-update-coordinator-DCzOm9qr.js.map → openmeld-tools-update-coordinator-ChqDoSKS.js.map} +1 -1
- package/dist/openmeld.js +5 -5
- package/dist/{prepare-provider-runtime-BnzroQaJ.js → prepare-provider-runtime-CQ7ZJMG8.js} +6 -3
- package/dist/{prepare-provider-runtime-BnzroQaJ.js.map → prepare-provider-runtime-CQ7ZJMG8.js.map} +1 -1
- package/dist/{prepare-session-executor-CDA2_-ZD.js → prepare-session-executor-CovScwhU.js} +12 -12
- package/dist/{prepare-session-executor-CDA2_-ZD.js.map → prepare-session-executor-CovScwhU.js.map} +1 -1
- package/dist/{process-channel-DkFUtjSM.js → process-channel-Dx1KqiZj.js} +2 -2
- package/dist/{process-channel-DkFUtjSM.js.map → process-channel-Dx1KqiZj.js.map} +1 -1
- package/dist/{runtime-B5tB_LmO.js → runtime-D0ejcBmE.js} +22 -16
- package/dist/{runtime-B5tB_LmO.js.map → runtime-D0ejcBmE.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-DoS9pSCE.js → runtime-agent-controller-reporting-submission-BgAI8B4L.js} +4 -4
- package/dist/{runtime-agent-controller-reporting-submission-DoS9pSCE.js.map → runtime-agent-controller-reporting-submission-BgAI8B4L.js.map} +1 -1
- package/dist/{service-BrVsNzfj.js → service-Cb8xFGDs.js} +66 -21
- package/dist/service-Cb8xFGDs.js.map +1 -0
- package/dist/{service-account-control-11SOgZGs.js → service-account-control-DSGwWnIO.js} +5 -5
- package/dist/{service-account-control-11SOgZGs.js.map → service-account-control-DSGwWnIO.js.map} +1 -1
- package/dist/{service-control-capabilities-DgrNCUxS.js → service-control-capabilities-BW2hiUog.js} +1 -1
- package/dist/{service-control-capabilities-2ubvfkoo.js → service-control-capabilities-CM3-R3Xt.js} +2 -2
- package/dist/{service-control-capabilities-2ubvfkoo.js.map → service-control-capabilities-CM3-R3Xt.js.map} +1 -1
- package/dist/{state-BvUx6rev.js → state-MwOfpQOL.js} +2 -2
- package/dist/{state-BvUx6rev.js.map → state-MwOfpQOL.js.map} +1 -1
- package/dist/{updates-api-DPoJOTdk.js → updates-api-B6gsuJ7E.js} +5 -5
- package/dist/{updates-api-DPoJOTdk.js.map → updates-api-B6gsuJ7E.js.map} +1 -1
- package/dist/upgrade-D2Dlqtxw.js +3 -0
- package/dist/{upgrade-DAKyvk3S.js → upgrade-DHLGtpdq.js} +5 -5
- package/dist/{upgrade-DAKyvk3S.js.map → upgrade-DHLGtpdq.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +7 -7
- package/dist/daemon-device-id-esUdfenn.js.map +0 -1
- package/dist/service-BrVsNzfj.js.map +0 -1
- package/dist/upgrade-ch0Td9W0.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as ExecutionHostError } from "./channel
|
|
3
|
+
import { t as ExecutionHostError } from "./channel-DfaHRitM.js";
|
|
4
4
|
//#region src/local-service/execution-host/process-channel.ts
|
|
5
5
|
function childExecutionHostChannel(child) {
|
|
6
6
|
return {
|
|
@@ -61,4 +61,4 @@ function parentExecutionHostChannel() {
|
|
|
61
61
|
//#endregion
|
|
62
62
|
export { parentExecutionHostChannel as n, childExecutionHostChannel as t };
|
|
63
63
|
|
|
64
|
-
//# sourceMappingURL=process-channel-
|
|
64
|
+
//# sourceMappingURL=process-channel-Dx1KqiZj.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-channel-
|
|
1
|
+
{"version":3,"file":"process-channel-Dx1KqiZj.js","names":[],"sources":["../src/local-service/execution-host/process-channel.ts"],"sourcesContent":["import type { ChildProcess } from \"node:child_process\";\nimport type { ExecutionHostChannel } from \"./channel\";\nimport { ExecutionHostError } from \"./channel\";\n\n// Use inherited Node-compatible IPC with JSON serialization. Provider stdout is\n// not a protocol channel; ordinary logs cannot become control messages.\nexport function childExecutionHostChannel(\n child: ChildProcess\n): ExecutionHostChannel {\n return {\n connected: () => child.connected,\n send: (message, completed) => {\n child.send(message, (error) => completed(error ?? null));\n },\n onMessage: (listener) => {\n child.on(\"message\", listener);\n return () => {\n child.off(\"message\", listener);\n };\n },\n onDisconnect: (listener) => {\n let observed = false;\n const finish = (error?: Error) => {\n if (!observed) {\n observed = true;\n listener(error);\n }\n };\n const exited = (code: number | null, signal: NodeJS.Signals | null) => {\n finish(\n new Error(`Host process exited (${signal ?? code ?? \"unknown\"})`)\n );\n };\n child.on(\"disconnect\", finish);\n child.on(\"exit\", exited);\n // Spawn/send failures must not become unhandled EventEmitter errors.\n child.on(\"error\", finish);\n return () => {\n child.off(\"disconnect\", finish);\n child.off(\"exit\", exited);\n child.off(\"error\", finish);\n };\n },\n };\n}\n\nexport function parentExecutionHostChannel(): ExecutionHostChannel {\n const send = process.send?.bind(process);\n if (!(send && process.connected)) {\n throw new ExecutionHostError(\n \"host.inherited_channel_required\",\n \"The execution host requires its supervisor's inherited IPC channel.\"\n );\n }\n return {\n connected: () => process.connected === true,\n send: (message, completed) => {\n send(message, undefined, undefined, (error) => completed(error ?? null));\n },\n onMessage: (listener) => {\n process.on(\"message\", listener);\n return () => {\n process.off(\"message\", listener);\n };\n },\n onDisconnect: (listener) => {\n process.on(\"disconnect\", listener);\n return () => {\n process.off(\"disconnect\", listener);\n };\n },\n };\n}\n"],"mappings":";;;;AAMA,SAAgB,0BACd,OACsB;CACtB,OAAO;EACL,iBAAiB,MAAM;EACvB,OAAO,SAAS,cAAc;GAC5B,MAAM,KAAK,UAAU,UAAU,UAAU,SAAS,IAAI,CAAC;EACzD;EACA,YAAY,aAAa;GACvB,MAAM,GAAG,WAAW,QAAQ;GAC5B,aAAa;IACX,MAAM,IAAI,WAAW,QAAQ;GAC/B;EACF;EACA,eAAe,aAAa;GAC1B,IAAI,WAAW;GACf,MAAM,UAAU,UAAkB;IAChC,IAAI,CAAC,UAAU;KACb,WAAW;KACX,SAAS,KAAK;IAChB;GACF;GACA,MAAM,UAAU,MAAqB,WAAkC;IACrE,uBACE,IAAI,MAAM,wBAAwB,UAAU,QAAQ,UAAU,EAAE,CAClE;GACF;GACA,MAAM,GAAG,cAAc,MAAM;GAC7B,MAAM,GAAG,QAAQ,MAAM;GAEvB,MAAM,GAAG,SAAS,MAAM;GACxB,aAAa;IACX,MAAM,IAAI,cAAc,MAAM;IAC9B,MAAM,IAAI,QAAQ,MAAM;IACxB,MAAM,IAAI,SAAS,MAAM;GAC3B;EACF;CACF;AACF;AAEA,SAAgB,6BAAmD;CACjE,MAAM,OAAO,QAAQ,MAAM,KAAK,OAAO;CACvC,IAAI,EAAE,QAAQ,QAAQ,YACpB,MAAM,IAAI,mBACR,mCACA,qEACF;CAEF,OAAO;EACL,iBAAiB,QAAQ,cAAc;EACvC,OAAO,SAAS,cAAc;GAC5B,KAAK,SAAS,KAAA,GAAW,KAAA,IAAY,UAAU,UAAU,SAAS,IAAI,CAAC;EACzE;EACA,YAAY,aAAa;GACvB,QAAQ,GAAG,WAAW,QAAQ;GAC9B,aAAa;IACX,QAAQ,IAAI,WAAW,QAAQ;GACjC;EACF;EACA,eAAe,aAAa;GAC1B,QAAQ,GAAG,cAAc,QAAQ;GACjC,aAAa;IACX,QAAQ,IAAI,cAAc,QAAQ;GACpC;EACF;CACF;AACF"}
|
|
@@ -5,25 +5,25 @@ import { F as resolveOpenMeldRootDir } from "./paths-De9xdA2h.js";
|
|
|
5
5
|
import { Zr as buildAgentControllerRoutingKey, _a as normalizeOptionalWorkingDirectory, ti as normalizeKnownBuiltinAgentControllerId } from "./dist-CfBtqP8H.js";
|
|
6
6
|
import { Tt as formatCanonicalMentionLiteral, f as openMeldDaemonTaskResultPayloadSchema, jt as normalizeMessageEnvelope, l as openMeldDaemonTaskResultEnvelopeWriteSchema } from "./task-result-CWH3TdDu.js";
|
|
7
7
|
import { It as buildSpaceAttachmentDownloadPath, Ob as computerPowerRequestFrameSchema, On as createSpaceApi, Pb as toCompatibleSpaceAddressingRequestWireValue, Td as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, cb as COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE, kb as computerPowerRequestSchema, mn as createOrganizationSkillsApi } from "./dist-B08nRCGz.js";
|
|
8
|
-
import { A as resolveCurrentEffectiveProfileWorkingFolderRuntime, An as buildAgentContextLookupKey, At as listAgentTargetStates, Cn as loadLedgerState, D as resolveLocalRuntimeControllerSupport, Dn as upsertConversationExecutionState, Dr as renderTaskKnowledgeIndex, E as resolveLocalController, En as seedLegacyAgentContext, Fn as forkOpenCodeServerSession, Gn as supportsGrokBotSetup, Hn as isManagedGrokBotSignedIn, Ir as supportsSpaceWorkHandoff, Jn as resolveInstalledCodexLaunchCandidates, Kr as DaemonServiceRunError, Ln as resolveInstalledOpenCodeLaunchCandidates, Lt as resolveAgentTargetState, M as resolveProfileWorkspaceRuntime, Mn as createLocalAdapterEntries, Nt as reconcileNewRunnableBuiltinAgentRegistrations, On as withLedgerStateTransaction, Qn as verifyCodexAppServerThread, Rt as setAgentRegistrationEnabled, Sn as commitResolvedAgentContext, T as readLocalEnabledControllers, Tn as resolveConversationExecutionStateByLookupKey, Un as loginManagedGrokBot, Ut as resolveSkillsAgentRegistry, Vn as installGrokBotTools, Vt as canManageRegistryAgentSkillTargets, Wn as readManagedGrokBotCandidate, Yn as forkCodexAppServerThread, Zn as resolveCodexAppServerCompletedTurn, _ as writeDaemonRouteCatalogCache, _n as resolveCompatibleAgentContextMatch, a as buildOpenClawSpaceSessionKey, b as createRouteCatalogFromMutableState, bn as runRuntimeTask, c as slugifyOpenClawNamePart, cn as createLocalTaskInterruptSender, g as readDaemonRouteCatalogCache, ir as updateClaudeNativeInstallation, it as listProjectConnectionsWithStatus, jn as createLocalAdapterContainer, jt as manageAgentRegistrationInstallation, kn as assertLegacyAgentContextAssociation, nr as readClaudeNativeVersion, o as buildOpenClawWakeSessionKey, or as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, qn as resolveCodexTimeoutMs, qt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, rr as resolveClaudeNativeUpdateCommand, rt as listProjectBindings, s as decodeOpenClawSpaceId, sr as TASK_KNOWLEDGE_GUIDANCE, t as prepareProviderRuntime, tn as resolveBuiltinAgentControllerDefinition, v as loadDaemonRouteCatalog, vn as resolveCompatibleConversationExecutionState, w as buildRuntimeRouteTargets, wn as removeConversationExecutionState, x as replaceMutableRouteCatalogState, xn as buildRuntimeWorkspaceFingerprint, y as createMutableRouteCatalogState, yn as resolveLatestScopedConversationExecutionState } from "./prepare-provider-runtime-
|
|
8
|
+
import { A as resolveCurrentEffectiveProfileWorkingFolderRuntime, An as buildAgentContextLookupKey, At as listAgentTargetStates, Cn as loadLedgerState, D as resolveLocalRuntimeControllerSupport, Dn as upsertConversationExecutionState, Dr as renderTaskKnowledgeIndex, E as resolveLocalController, En as seedLegacyAgentContext, Fn as forkOpenCodeServerSession, Gn as supportsGrokBotSetup, Hn as isManagedGrokBotSignedIn, Ir as supportsSpaceWorkHandoff, Jn as resolveInstalledCodexLaunchCandidates, Kr as DaemonServiceRunError, Ln as resolveInstalledOpenCodeLaunchCandidates, Lt as resolveAgentTargetState, M as resolveProfileWorkspaceRuntime, Mn as createLocalAdapterEntries, Nt as reconcileNewRunnableBuiltinAgentRegistrations, On as withLedgerStateTransaction, Qn as verifyCodexAppServerThread, Rt as setAgentRegistrationEnabled, Sn as commitResolvedAgentContext, T as readLocalEnabledControllers, Tn as resolveConversationExecutionStateByLookupKey, Un as loginManagedGrokBot, Ut as resolveSkillsAgentRegistry, Vn as installGrokBotTools, Vt as canManageRegistryAgentSkillTargets, Wn as readManagedGrokBotCandidate, Yn as forkCodexAppServerThread, Zn as resolveCodexAppServerCompletedTurn, _ as writeDaemonRouteCatalogCache, _n as resolveCompatibleAgentContextMatch, a as buildOpenClawSpaceSessionKey, b as createRouteCatalogFromMutableState, bn as runRuntimeTask, c as slugifyOpenClawNamePart, cn as createLocalTaskInterruptSender, g as readDaemonRouteCatalogCache, ir as updateClaudeNativeInstallation, it as listProjectConnectionsWithStatus, jn as createLocalAdapterContainer, jt as manageAgentRegistrationInstallation, kn as assertLegacyAgentContextAssociation, nr as readClaudeNativeVersion, o as buildOpenClawWakeSessionKey, or as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, qn as resolveCodexTimeoutMs, qt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, rr as resolveClaudeNativeUpdateCommand, rt as listProjectBindings, s as decodeOpenClawSpaceId, sr as TASK_KNOWLEDGE_GUIDANCE, t as prepareProviderRuntime, tn as resolveBuiltinAgentControllerDefinition, v as loadDaemonRouteCatalog, vn as resolveCompatibleConversationExecutionState, w as buildRuntimeRouteTargets, wn as removeConversationExecutionState, x as replaceMutableRouteCatalogState, xn as buildRuntimeWorkspaceFingerprint, y as createMutableRouteCatalogState, yn as resolveLatestScopedConversationExecutionState } from "./prepare-provider-runtime-CQ7ZJMG8.js";
|
|
9
9
|
import { A as runtimeTransportDispatchProgressRequestSchema, C as runtimeTransportDispatchInteractionResponseFramePayloadSchema, Dt as runtimeTransportSubmitTaskResultRequestSchema, E as runtimeTransportDispatchLifecycleRequestSchema, G as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, H as runtimeTransportLocalAgentControlCancelFramePayloadSchema, Hi as runtimeCoordinatorExecutionTokenEnvelopeSchema, I as runtimeTransportDispatchToolActivityRequestSchema, Jr as agentInteractionRequestSchema, M as runtimeTransportDispatchReplyRequestSchema, O as runtimeTransportDispatchPreviewEndRequestSchema, P as runtimeTransportDispatchRuntimeEvidenceRequestSchema, R as runtimeTransportForkAgentSessionResultSchema, S as runtimeTransportDispatchInteractionRequestSchema, U as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, W as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, Y as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, Yr as agentInteractionResolutionSchema, aa as localAgentReasoningPreferencesSchema, at as runtimeTransportResumeControllerConversationFramePayloadSchema, b as runtimeTransportDeliverDispatchRequestSchema, j as runtimeTransportDispatchReasoningRequestSchema, k as runtimeTransportDispatchPreviewRequestSchema, ot as runtimeTransportResumeControllerConversationResultFramePayloadSchema, ra as LOCAL_AGENT_REASONING_MAX_CHARS, rr as spaceWorkSelectionSchema, vi as runtimeTransportDeliveryExecutionIdentitySchema, w as runtimeTransportDispatchLifecycleAcknowledgementSchema, x as runtimeTransportDispatchInteractionDeliveredRequestSchema, zr as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS } from "./runtime-transport-DNkqgRhX.js";
|
|
10
|
+
import { C as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, W as agentExecutionSteerResponseSchema, c as logComputerControlStage, d as normalizeOptionalText$5, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, v as toErrorMessage$3, y as warnDaemonEvent } from "./daemon-device-id-B-iuoFzM.js";
|
|
10
11
|
import { h as resolveBuiltinAgentControllerConversationKind, p as buildAgentControllerConversationRef } from "./controller-contract-lJy66Drf.js";
|
|
11
12
|
import { at as localAgentUpdateOperationSchema, ct as localAgentSetupOperationSchema, it as providerDispatchRuntimeContextSchema, n as OPENMELD_DAEMON_CANCEL_STOP_REQUESTED_AFTER_START_REASON_CODE, r as OPENMELD_DAEMON_CANCEL_WITHDRAWN_BEFORE_START_REASON_CODE } from "./control-plane-CDbk-45J.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { f as
|
|
15
|
-
import {
|
|
16
|
-
import { h as
|
|
17
|
-
import { B as installAgentActivityIntegrations, C as recordRuntimeReportingFailure, D as startLocalAgentActivitySyncLoop, E as createLedgerIo, F as registerAgentActivityRoute, T as recordRuntimeReportingSuccess, _ as markExecutionContextWorkspaceInUse, a as createDispatchSpaceTools, b as releaseExecutionContextWorkspace, g as deriveExecutionContextComputerFileAccessPolicy, h as startDispatchSpaceProgressRelay, i as materializeOrganizationSkillRelease, k as discoverLocalAgentSessionProviders, n as createSpaceWorkingCopies, r as downloadWorkingCopyFile, s as readTaskKnowledge, t as fetchSpaceUpdates, v as prepareExecutionContextWorkspace, w as recordRuntimeReportingNotApplicable, x as prepareClaudeProjectContainer, y as readExecutionContextWorkspace, z as defaultManagedIntegrationPaths } from "./updates-api-DPoJOTdk.js";
|
|
13
|
+
import { a as SERVICE_EXECUTION_HOST_PROTOCOL, s as serviceExecutionHostCatalogSchema, t as ExecutionHostError } from "./channel-DfaHRitM.js";
|
|
14
|
+
import { f as withSkillsInstallLock, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget, v as OFFICIAL_CLI_SKILL_URL } from "./state-MwOfpQOL.js";
|
|
15
|
+
import { Gt as buildSpaceRoundSignalPublication, S as readOpenCodeSessionRows, U as consumeArmedAgentControllerInterfaceReprobe, Yt as createDispatchContinuationSpaceAccessContext, _n as SPACE_ACTION_TARGET_GUIDANCE_LINES, an as isWakeClosingSystemNoticeType, c as sendDaemonFrame$1, ct as buildDispatchBootstrapTemplateFacts, d as readProfileFolderDisplayName, dt as buildDispatchSessionTitle, et as emitDaemonDispatchJournalEvent, f as resolveProfileFolderRuntimeForAccount, ft as parseDispatchTask, gn as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, ht as resolveDispatchMentionSourceContext, it as resolveComputerFileAccessStorePath, lt as buildDispatchCorrelation, mt as resolveBootstrapTargetProfileContext, nn as getSpaceAccessRequestContext, on as listSpaceMemberDirectorySendTargets, ot as isSameOrDescendantPath, pt as resolveBootstrapSpaceOwnerProfileId, r as buildDispatchOwnedRuntimeEnv, rt as readComputerFileAccessPolicy, s as parseDaemonFrame, st as appendNonOwnerAudienceGuidance, tn as getSpaceAccessPassword, ut as buildDispatchPromptPlan, v as recordOpenMeldCreatedLocalAgentSession, w as resolveOpenCodeDatabasePath } from "./dispatch-owned-runtime-DlpQwB6N.js";
|
|
16
|
+
import { h as createCliSpaceApi } from "./meta-api-DgLrYkyU.js";
|
|
17
|
+
import { B as installAgentActivityIntegrations, C as recordRuntimeReportingFailure, D as startLocalAgentActivitySyncLoop, E as createLedgerIo, F as registerAgentActivityRoute, T as recordRuntimeReportingSuccess, _ as markExecutionContextWorkspaceInUse, a as createDispatchSpaceTools, b as releaseExecutionContextWorkspace, g as deriveExecutionContextComputerFileAccessPolicy, h as startDispatchSpaceProgressRelay, i as materializeOrganizationSkillRelease, k as discoverLocalAgentSessionProviders, n as createSpaceWorkingCopies, r as downloadWorkingCopyFile, s as readTaskKnowledge, t as fetchSpaceUpdates, v as prepareExecutionContextWorkspace, w as recordRuntimeReportingNotApplicable, x as prepareClaudeProjectContainer, y as readExecutionContextWorkspace, z as defaultManagedIntegrationPaths } from "./updates-api-B6gsuJ7E.js";
|
|
18
18
|
import { o as startWindowsIdleSleepBlocker } from "./windows-system-DsNqYvVr.js";
|
|
19
19
|
import { d as getAuthSessionState } from "./auth-session-GYsWoDuJ.js";
|
|
20
20
|
import { A as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, D as resolvePublicAgentFailureReason, O as resolveSpacePublicationRequirement, a as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, l as readDispatchSpaceActionRecord, m as SPACE_PERSONAL_CONTRIBUTION_RULE, o as createDispatchSpaceActionContext, p as SPACE_COLLABORATION_CONTEXT_RULE, s as readDispatchSpaceActionContextForReceiptFromEnv, u as supersedeDispatchSpaceActionRecordForReconsideration } from "./sensitive-operation-credentials-Dsps0o1U.js";
|
|
21
21
|
import { F as resolveCurrentOpenMeldAccountContext } from "./context-CPKBlAps.js";
|
|
22
22
|
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-D4qt8-I7.js";
|
|
23
|
-
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-
|
|
23
|
+
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-BaI2xxdH.js";
|
|
24
24
|
import { et as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV } from "./dist-yoMPNqX7.js";
|
|
25
|
-
import { a as submitRuntimeProviderConversationProofs, f as recordRuntimeProviderUsageLimits, i as submitRuntimeAgentControllerReports, l as resolveLocalAgentControllerReportDecision, o as collectLocalAgentControllerInventory, t as notifyRuntimeReportingAttemptObserver, u as probeAgentControllerUsageObservationAuth } from "./runtime-agent-controller-reporting-submission-
|
|
26
|
-
import { t as installSkillsToTargets } from "./installer-
|
|
25
|
+
import { a as submitRuntimeProviderConversationProofs, f as recordRuntimeProviderUsageLimits, i as submitRuntimeAgentControllerReports, l as resolveLocalAgentControllerReportDecision, o as collectLocalAgentControllerInventory, t as notifyRuntimeReportingAttemptObserver, u as probeAgentControllerUsageObservationAuth } from "./runtime-agent-controller-reporting-submission-BgAI8B4L.js";
|
|
26
|
+
import { t as installSkillsToTargets } from "./installer-D4dGpL9N.js";
|
|
27
27
|
import { createHash, randomUUID } from "node:crypto";
|
|
28
28
|
import { homedir } from "node:os";
|
|
29
29
|
import { basename, dirname, extname, join, resolve, sep } from "node:path";
|
|
@@ -2467,8 +2467,9 @@ function createComputerPower(input) {
|
|
|
2467
2467
|
await reconcile();
|
|
2468
2468
|
});
|
|
2469
2469
|
},
|
|
2470
|
-
request(request) {
|
|
2470
|
+
request(request, onDequeued) {
|
|
2471
2471
|
return serial(async () => {
|
|
2472
|
+
onDequeued?.();
|
|
2472
2473
|
if (loadError) throw loadError;
|
|
2473
2474
|
if (request.operation === "update") {
|
|
2474
2475
|
if (!supported) throw new Error("Sleep prevention is not supported on this operating system.");
|
|
@@ -3901,7 +3902,7 @@ function createExecutionHostControls(input) {
|
|
|
3901
3902
|
if (!guarded.accepted) throw new Error(guarded.status === "operation_in_progress" ? "agents.installation_change_in_progress: this installation is already being changed; check again in a moment" : "agents.installation_change_blocked_by_work: this agent has work in progress; wait until it finishes before changing installations");
|
|
3902
3903
|
return guarded.value;
|
|
3903
3904
|
}
|
|
3904
|
-
async function manageInstallation(control) {
|
|
3905
|
+
async function manageInstallation(control, recordStage) {
|
|
3905
3906
|
try {
|
|
3906
3907
|
if (control.operation === "setup") return {
|
|
3907
3908
|
accepted: true,
|
|
@@ -3929,7 +3930,7 @@ function createExecutionHostControls(input) {
|
|
|
3929
3930
|
else result = await manageAgentRegistrationInstallation({
|
|
3930
3931
|
agentId: control.agentId,
|
|
3931
3932
|
operation: "list"
|
|
3932
|
-
});
|
|
3933
|
+
}, recordStage);
|
|
3933
3934
|
const selectionStatus = input.localExecutionSlots.getAdapterOperationStatus(control.agentId);
|
|
3934
3935
|
const reportSyncStatus = result.changed ? await refreshReports() : "skipped";
|
|
3935
3936
|
if (result.changed) input.invalidate("routes");
|
|
@@ -3978,7 +3979,7 @@ function createExecutionHostControls(input) {
|
|
|
3978
3979
|
code: "daemon.local_agent_control.result",
|
|
3979
3980
|
payload: {
|
|
3980
3981
|
requestId: parsed.requestId,
|
|
3981
|
-
payload: await manageInstallation(parsed.payload)
|
|
3982
|
+
payload: await manageInstallation(parsed.payload, (stage) => logComputerControlStage(frame, stage))
|
|
3982
3983
|
}
|
|
3983
3984
|
});
|
|
3984
3985
|
return true;
|
|
@@ -11160,6 +11161,7 @@ function createExecutionHostRuntime(input) {
|
|
|
11160
11161
|
if (generation !== request.connectionGeneration || currentSocketRef.socket !== sink) throw new ExecutionHostError("host.connection_replaced", "This execution frame's connector has been retired.");
|
|
11161
11162
|
const frame = parseDaemonFrame(raw);
|
|
11162
11163
|
if (!frame) throw new ExecutionHostError("host.invalid_frame", "Execution produced an invalid transport frame.");
|
|
11164
|
+
logComputerControlStage(frame, "host_result_ready", { connectionGeneration: generation });
|
|
11163
11165
|
emit({
|
|
11164
11166
|
...envelope,
|
|
11165
11167
|
type: "frame",
|
|
@@ -11201,6 +11203,7 @@ function createExecutionHostRuntime(input) {
|
|
|
11201
11203
|
},
|
|
11202
11204
|
handleFrame: async ({ connectionGeneration, frame }) => {
|
|
11203
11205
|
const socket = assertConnection(connectionGeneration);
|
|
11206
|
+
logComputerControlStage(frame, "host_handler_entered", { connectionGeneration });
|
|
11204
11207
|
if (frame.code === "daemon.dispatch.lifecycle_acknowledged") {
|
|
11205
11208
|
executionAdmission.receive(frame.payload);
|
|
11206
11209
|
return {};
|
|
@@ -11212,7 +11215,10 @@ function createExecutionHostRuntime(input) {
|
|
|
11212
11215
|
let result;
|
|
11213
11216
|
try {
|
|
11214
11217
|
if (parsed.data.payload.deviceId !== identity.deviceId) throw new Error("This request targets a different computer.");
|
|
11215
|
-
|
|
11218
|
+
logComputerControlStage(frame, "power_queued", { connectionGeneration });
|
|
11219
|
+
result = await power.request(parsed.data.payload.request, () => {
|
|
11220
|
+
logComputerControlStage(frame, "power_dequeued", { connectionGeneration });
|
|
11221
|
+
});
|
|
11216
11222
|
} catch (error) {
|
|
11217
11223
|
result = {
|
|
11218
11224
|
status: "rejected",
|
|
@@ -11376,4 +11382,4 @@ function createExecutionHostRuntime(input) {
|
|
|
11376
11382
|
//#endregion
|
|
11377
11383
|
export { createExecutionHostResources, createExecutionHostRuntime, WORKING_FOLDER_RECOVERY_QUESTION_ID as n, buildWorkingFolderRecoveryQuestion as r, WORKING_FOLDER_RECOVERY_DECLINED as t };
|
|
11378
11384
|
|
|
11379
|
-
//# sourceMappingURL=runtime-
|
|
11385
|
+
//# sourceMappingURL=runtime-D0ejcBmE.js.map
|