openmeld 0.3.240 → 0.3.242
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-7tGVrYxL.js → add-me-membership-JGpmeWkk.js} +2 -2
- package/dist/{add-me-membership-7tGVrYxL.js.map → add-me-membership-JGpmeWkk.js.map} +1 -1
- package/dist/{agents-DBYRT3tv.js → agents-4ldZFtzT.js} +9 -9
- package/dist/{agents-DBYRT3tv.js.map → agents-4ldZFtzT.js.map} +1 -1
- package/dist/{api-client-foundation-BawOr_Me.js → api-client-foundation-Dbc5MXyW.js} +3 -3
- package/dist/{api-client-foundation-BawOr_Me.js.map → api-client-foundation-Dbc5MXyW.js.map} +1 -1
- package/dist/{api-client-foundation-D4d0zKkj.js → api-client-foundation-uYxH6diU.js} +1 -1
- package/dist/{auth-session-BTRu2Kc5.js → auth-session-Injt39gv.js} +2 -2
- package/dist/{auth-session-BTRu2Kc5.js.map → auth-session-Injt39gv.js.map} +1 -1
- package/dist/auth-session-j1EhJkpg2.js +4 -0
- package/dist/{channel-BxlX3o3i.js → channel-CxgYezuw.js} +3 -3
- package/dist/{channel-BxlX3o3i.js.map → channel-CxgYezuw.js.map} +1 -1
- package/dist/{command-De0etxkZ.js → command-D1poZMYq.js} +15 -15
- package/dist/{command-De0etxkZ.js.map → command-D1poZMYq.js.map} +1 -1
- package/dist/{computer-connection-Sntn_-XO.js → computer-connection-CSa8O0op.js} +2 -2
- package/dist/{computer-connection-Sntn_-XO.js.map → computer-connection-CSa8O0op.js.map} +1 -1
- package/dist/{computer-connection-review-7dITXNrp.js → computer-connection-review-DlPe08AU.js} +5 -5
- package/dist/{computer-connection-review-7dITXNrp.js.map → computer-connection-review-DlPe08AU.js.map} +1 -1
- package/dist/{computer-disconnect-D4KjKURR.js → computer-disconnect-C6xJfCMA.js} +7 -7
- package/dist/{computer-disconnect-D4KjKURR.js.map → computer-disconnect-C6xJfCMA.js.map} +1 -1
- package/dist/{computer-setup-continuation-Wrw13eZn.js → computer-setup-continuation-fbbvdA8o.js} +3 -3
- package/dist/{computer-setup-continuation-Wrw13eZn.js.map → computer-setup-continuation-fbbvdA8o.js.map} +1 -1
- package/dist/{daemon-device-id-D7lbw6c4.js → daemon-device-id-CAKHWLK9.js} +4 -4
- package/dist/{daemon-device-id-D7lbw6c4.js.map → daemon-device-id-CAKHWLK9.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-DGJEfJJV.js → daemon-lifecycle-journal-eiHCp4B7.js} +6 -6
- package/dist/{daemon-lifecycle-journal-DGJEfJJV.js.map → daemon-lifecycle-journal-eiHCp4B7.js.map} +1 -1
- package/dist/{daemon-service-runtime-C1JWxsWw.js → daemon-service-runtime-zCpuDvfl.js} +2 -2
- package/dist/{daemon-service-runtime-C1JWxsWw.js.map → daemon-service-runtime-zCpuDvfl.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-BTLSv327.js → daemon-service-update-coordinator-Q5ihbImP.js} +9 -9
- package/dist/{daemon-service-update-coordinator-BTLSv327.js.map → daemon-service-update-coordinator-Q5ihbImP.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-BAvm8fPb.js → dispatch-owned-runtime-B6HXvHVa.js} +10 -6
- package/dist/dispatch-owned-runtime-B6HXvHVa.js.map +1 -0
- package/dist/{dist-BytcJRwx.js → dist-BE0dKSoc.js} +1225 -802
- package/dist/dist-BE0dKSoc.js.map +1 -0
- package/dist/{dist-GOicky_R.js → dist-D4nEGVsQ.js} +1 -1
- package/dist/{dual-view-guide-catalog-Cpu4NNXt.js → dual-view-guide-catalog-Cf9dxh8-.js} +3 -3
- package/dist/{dual-view-guide-catalog-Cpu4NNXt.js.map → dual-view-guide-catalog-Cf9dxh8-.js.map} +1 -1
- package/dist/{elapsed-time-Db-ZMRoB.js → elapsed-time-ZiuFKVLD.js} +3 -3
- package/dist/{elapsed-time-Db-ZMRoB.js.map → elapsed-time-ZiuFKVLD.js.map} +1 -1
- package/dist/{entry-DBhL4ZRa.js → entry-B3OCEi01.js} +6 -6
- package/dist/{entry-DBhL4ZRa.js.map → entry-B3OCEi01.js.map} +1 -1
- package/dist/{installation-inventory-zfLJh479.js → installation-inventory-CRS2_ZJi.js} +3 -3
- package/dist/{installation-inventory-zfLJh479.js.map → installation-inventory-CRS2_ZJi.js.map} +1 -1
- package/dist/{installer-7vF9Vexz.js → installer-9RCKL6Dh.js} +2 -2
- package/dist/{installer-7vF9Vexz.js.map → installer-9RCKL6Dh.js.map} +1 -1
- package/dist/{meta-api-BADovRJo.js → meta-api-BBfF-3ln.js} +5 -5
- package/dist/{meta-api-BADovRJo.js.map → meta-api-BBfF-3ln.js.map} +1 -1
- package/dist/{openmeld-BxJZzTQQ.js → openmeld-CAlNOxmA.js} +101 -35
- package/dist/openmeld-CAlNOxmA.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-Bk8iJrZe.js → openmeld-maintenance-worker-DR32kAsg.js} +9 -9
- package/dist/{openmeld-maintenance-worker-Bk8iJrZe.js.map → openmeld-maintenance-worker-DR32kAsg.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-QLXJ0nhz.js → openmeld-tools-update-join-DWRJ6WpO.js} +4 -4
- package/dist/{openmeld-tools-update-join-QLXJ0nhz.js.map → openmeld-tools-update-join-DWRJ6WpO.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-BMV0ay2U.js → prepare-provider-runtime-CpG_NTZF.js} +23 -15
- package/dist/prepare-provider-runtime-CpG_NTZF.js.map +1 -0
- package/dist/{prepare-session-executor-DqKiH0W-.js → prepare-session-executor-ByEiJyxT.js} +18 -18
- package/dist/{prepare-session-executor-DqKiH0W-.js.map → prepare-session-executor-ByEiJyxT.js.map} +1 -1
- package/dist/{process-channel-QRugdtrY.js → process-channel-Ceb-ha2V.js} +2 -2
- package/dist/{process-channel-QRugdtrY.js.map → process-channel-Ceb-ha2V.js.map} +1 -1
- package/dist/{runtime-krIc08XW.js → runtime-DMHRemwP.js} +49 -66
- package/dist/runtime-DMHRemwP.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-B5oPP2LR.js → runtime-agent-controller-reporting-submission-D51t3Q8e.js} +8 -8
- package/dist/{runtime-agent-controller-reporting-submission-B5oPP2LR.js.map → runtime-agent-controller-reporting-submission-D51t3Q8e.js.map} +1 -1
- package/dist/{runtime-transport-BVCHi4qM.js → runtime-transport-BPK70mkB.js} +65 -7
- package/dist/runtime-transport-BPK70mkB.js.map +1 -0
- package/dist/{service-D-9aXzla.js → service-BhwxCPsM.js} +19 -18
- package/dist/service-BhwxCPsM.js.map +1 -0
- package/dist/{service-account-authorization-C1CdX1P3.js → service-account-authorization-C6wZHidB.js} +2 -2
- package/dist/{service-account-authorization-C1CdX1P3.js.map → service-account-authorization-C6wZHidB.js.map} +1 -1
- package/dist/{service-account-control-DcTdeEqI.js → service-account-control-D_hTHF4w.js} +8 -8
- package/dist/{service-account-control-DcTdeEqI.js.map → service-account-control-D_hTHF4w.js.map} +1 -1
- package/dist/{service-control-capabilities-DxF7oTYb.js → service-control-capabilities-CfKNg0x2.js} +1 -1
- package/dist/{service-control-capabilities-B-VAPKAy.js → service-control-capabilities-VYS3-qJC.js} +3 -3
- package/dist/{service-control-capabilities-B-VAPKAy.js.map → service-control-capabilities-VYS3-qJC.js.map} +1 -1
- package/dist/{state-DddjOWBm.js → state-Bef17OTn.js} +2 -2
- package/dist/{state-DddjOWBm.js.map → state-Bef17OTn.js.map} +1 -1
- package/dist/{updates-api-TVlrczrO.js → updates-api-Cot1YmlU.js} +205 -49
- package/dist/updates-api-Cot1YmlU.js.map +1 -0
- package/dist/{upgrade-Bb8Mv01-.js → upgrade-9xk3iYag.js} +8 -8
- package/dist/{upgrade-Bb8Mv01-.js.map → upgrade-9xk3iYag.js.map} +1 -1
- package/dist/upgrade-CGcMw4vC.js +4 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +14 -14
- package/skills/openmeld-cli/playbooks/plugins.md +11 -3
- package/dist/auth-session-D2f7Lud02.js +0 -4
- package/dist/dispatch-owned-runtime-BAvm8fPb.js.map +0 -1
- package/dist/dist-BytcJRwx.js.map +0 -1
- package/dist/openmeld-BxJZzTQQ.js.map +0 -1
- package/dist/prepare-provider-runtime-BMV0ay2U.js.map +0 -1
- package/dist/runtime-krIc08XW.js.map +0 -1
- package/dist/runtime-transport-BVCHi4qM.js.map +0 -1
- package/dist/service-D-9aXzla.js.map +0 -1
- package/dist/updates-api-TVlrczrO.js.map +0 -1
- package/dist/upgrade-n4gQvHoE.js +0 -4
|
@@ -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-CxgYezuw.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-Ceb-ha2V.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-channel-
|
|
1
|
+
{"version":3,"file":"process-channel-Ceb-ha2V.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"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $ as canManageRegistryAgentSkillTargets, $t as mergeOpenClawGatewayVisibility, Bn as resolveConversationExecutionStateByLookupKey, Bt as createMutableRouteCatalogState, E as resolveProfileWorkspaceRuntime, Fn as buildTaskResultEnvelope, Gt as syncRuntimeEventToInflightTaskControlRegistry, Hn as settleInflightTask, In as appendLedgerHistoryEntry, Kn as assertLegacyAgentContextAssociation, Kt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, L as manageAgentRegistrationInstallation, Ln as commitResolvedAgentContext, Mn as DaemonServiceRunError, Nn as runRuntimeTask, Pn as buildRuntimeWorkspaceFingerprint, Qt as createPendingAgentInteractionRegistry, Rn as loadLedgerState, Sn as forkCodexAppServerThread, Tn as verifyCodexAppServerThread, U as setAgentRegistrationEnabled, Un as upsertConversationExecutionState, Vn as seedLegacyAgentContext, Vt as createRouteCatalogFromMutableState, Wn as withLedgerStateTransaction, Wt as normalizeDispatchThreadAction, Yt as createSerialAgentInteractionCallback, Zt as normalizeDispatchPostMessageAction, _ as loadDaemonRouteCatalog, a as buildOpenClawSpaceSessionKey, an as resolveDispatchContinuityObservation, ar as TASK_KNOWLEDGE_GUIDANCE, b as resolveLocalController, bn as resolveCodexTimeoutMs, cn as resolveLatestScopedConversationExecutionState, dn as createLocalAdapterEntries, en as createLocalTaskInterruptSender, ft as listProjectBindings, g as writeDaemonRouteCatalogCache, h as readDaemonRouteCatalogCache, hn as resolveInstalledOpenCodeLaunchCandidates, in as resolveDispatchQueueLogMeta, ir as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, mn as forkOpenCodeServerSession, nn as createLocalExecutionSlots, nr as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV, o as normalizeOpenClawSpaceIdPrefix, on as resolveCompatibleAgentContextMatch, qn as buildAgentContextLookupKey, qt as SPACE_ACTION_TARGET_GUIDANCE_LINES, rn as createInflightTaskControlRegistry, rt as resolveBuiltinAgentControllerDefinition, s as slugifyOpenClawNamePart, sn as resolveCompatibleConversationExecutionState, t as prepareProviderRuntime, tt as resolveSkillsAgentRegistry, un as createLocalAdapterContainer, v as buildRuntimeRouteTargets, w as resolveCurrentEffectiveProfileWorkingFolderRuntime, wn as resolveCodexAppServerCompletedTurn, wr as renderTaskKnowledgeIndex, x as resolveLocalRuntimeControllerSupport, xn as resolveInstalledCodexLaunchCandidates, y as readLocalEnabledControllers, z as reconcileNewRunnableBuiltinAgentRegistrations, zn as removeConversationExecutionState } from "./prepare-provider-runtime-
|
|
3
|
+
import { $ as canManageRegistryAgentSkillTargets, $t as mergeOpenClawGatewayVisibility, Bn as resolveConversationExecutionStateByLookupKey, Bt as createMutableRouteCatalogState, E as resolveProfileWorkspaceRuntime, Fn as buildTaskResultEnvelope, Gt as syncRuntimeEventToInflightTaskControlRegistry, Hn as settleInflightTask, In as appendLedgerHistoryEntry, Kn as assertLegacyAgentContextAssociation, Kt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, L as manageAgentRegistrationInstallation, Ln as commitResolvedAgentContext, Mn as DaemonServiceRunError, Nn as runRuntimeTask, Pn as buildRuntimeWorkspaceFingerprint, Qt as createPendingAgentInteractionRegistry, Rn as loadLedgerState, Sn as forkCodexAppServerThread, Tn as verifyCodexAppServerThread, U as setAgentRegistrationEnabled, Un as upsertConversationExecutionState, Vn as seedLegacyAgentContext, Vt as createRouteCatalogFromMutableState, Wn as withLedgerStateTransaction, Wt as normalizeDispatchThreadAction, Yt as createSerialAgentInteractionCallback, Zt as normalizeDispatchPostMessageAction, _ as loadDaemonRouteCatalog, a as buildOpenClawSpaceSessionKey, an as resolveDispatchContinuityObservation, ar as TASK_KNOWLEDGE_GUIDANCE, b as resolveLocalController, bn as resolveCodexTimeoutMs, cn as resolveLatestScopedConversationExecutionState, dn as createLocalAdapterEntries, en as createLocalTaskInterruptSender, ft as listProjectBindings, g as writeDaemonRouteCatalogCache, h as readDaemonRouteCatalogCache, hn as resolveInstalledOpenCodeLaunchCandidates, in as resolveDispatchQueueLogMeta, ir as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, mn as forkOpenCodeServerSession, nn as createLocalExecutionSlots, nr as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV, o as normalizeOpenClawSpaceIdPrefix, on as resolveCompatibleAgentContextMatch, qn as buildAgentContextLookupKey, qt as SPACE_ACTION_TARGET_GUIDANCE_LINES, rn as createInflightTaskControlRegistry, rt as resolveBuiltinAgentControllerDefinition, s as slugifyOpenClawNamePart, sn as resolveCompatibleConversationExecutionState, t as prepareProviderRuntime, tt as resolveSkillsAgentRegistry, un as createLocalAdapterContainer, v as buildRuntimeRouteTargets, w as resolveCurrentEffectiveProfileWorkingFolderRuntime, wn as resolveCodexAppServerCompletedTurn, wr as renderTaskKnowledgeIndex, x as resolveLocalRuntimeControllerSupport, xn as resolveInstalledCodexLaunchCandidates, y as readLocalEnabledControllers, z as reconcileNewRunnableBuiltinAgentRegistrations, zn as removeConversationExecutionState } from "./prepare-provider-runtime-CpG_NTZF.js";
|
|
4
4
|
import { F as resolveOpenMeldRootDir } from "./paths-De9xdA2h.js";
|
|
5
|
-
import {
|
|
6
|
-
import { B as runtimeTransportResumeControllerConversationResultFramePayloadSchema, D as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, E as runtimeTransportLocalAgentControlCancelFramePayloadSchema,
|
|
5
|
+
import { At as buildSpaceAttachmentDownloadPath, Nr as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Yi as COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE, mn as createSpaceApi, na as toCompatibleSpaceAddressingRequestWireValue, rn as createOrganizationSkillsApi } from "./dist-BE0dKSoc.js";
|
|
6
|
+
import { B as runtimeTransportResumeControllerConversationResultFramePayloadSchema, D as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, E as runtimeTransportLocalAgentControlCancelFramePayloadSchema, Ir as agentInteractionRequestSchema, Jr as runtimeCoordinatorExecutionTokenEnvelopeSchema, O as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, Pr as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, S as runtimeTransportForkAgentSessionResultSchema, U as runtimeTransportSubmitTaskResultRequestSchema, Yr as runtimeTransportDeliveryExecutionIdentitySchema, Z as openMeldDaemonTaskResultPayloadSchema, _ as runtimeTransportDispatchProgressRequestSchema, b as runtimeTransportDispatchToolActivityRequestSchema, cn as spaceWorkSelectionSchema, d as runtimeTransportDispatchInteractionRequestSchema, f as runtimeTransportDispatchInteractionResponseFramePayloadSchema, g as runtimeTransportDispatchPreviewRequestSchema, h as runtimeTransportDispatchPreviewEndRequestSchema, j as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, k as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, l as runtimeTransportDeliverDispatchRequestSchema, li as localAgentReasoningPreferencesSchema, m as runtimeTransportDispatchLifecycleRequestSchema, p as runtimeTransportDispatchLifecycleAcknowledgementSchema, si as LOCAL_AGENT_REASONING_MAX_CHARS, u as runtimeTransportDispatchInteractionDeliveredRequestSchema, v as runtimeTransportDispatchReasoningRequestSchema, y as runtimeTransportDispatchRuntimeEvidenceRequestSchema, z as runtimeTransportResumeControllerConversationFramePayloadSchema } from "./runtime-transport-BPK70mkB.js";
|
|
7
7
|
import { D as normalizeOptionalWorkingDirectory, n as OPENMELD_DAEMON_CANCEL_WITHDRAWN_BEFORE_START_REASON_CODE, t as OPENMELD_DAEMON_CANCEL_STOP_REQUESTED_AFTER_START_REASON_CODE } from "./control-plane-QqGL-jtT.js";
|
|
8
8
|
import { b as normalizeKnownBuiltinAgentControllerId, d as resolveBuiltinAgentControllerConversationKind, l as buildAgentControllerConversationRef } from "./controller-contract-DAOCaefz.js";
|
|
9
|
-
import { d as getAuthSessionState } from "./auth-session-
|
|
10
|
-
import { S as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, _ as toErrorMessage$2, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, u as normalizeOptionalText$3, v as warnDaemonEvent, wt as agentExecutionSteerResponseSchema } from "./daemon-device-id-
|
|
11
|
-
import { a as serviceExecutionHostCatalogSchema, i as SERVICE_EXECUTION_HOST_PROTOCOL, t as ExecutionHostError } from "./channel-
|
|
12
|
-
import { f as withSkillsInstallLock, h as OFFICIAL_CLI_SKILL_URL, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-
|
|
13
|
-
import { $ as readComputerFileAccessPolicy, Bt as buildSpaceRoundSignalPublication, S as resolveOpenCodeDatabasePath, Wt as createDispatchContinuationSpaceAccessContext, X as emitDaemonDispatchJournalEvent, Xt as getSpaceAccessPassword, Zt as getSpaceAccessRequestContext, at as buildDispatchPromptPlan, b as readOpenCodeSessionRows, c as createDispatchSpaceActionContext, ct as resolveBootstrapSpaceOwnerProfileId, d as readDispatchSpaceActionRecord, en as isWakeClosingSystemNoticeType, et as resolveComputerFileAccessStorePath, f as supersedeDispatchSpaceActionRecordForReconsideration, fn as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, g as sendDaemonFrame$1, h as parseDaemonFrame, it as buildDispatchCorrelation, l as readDispatchSpaceActionContextForReceiptFromEnv, lt as resolveBootstrapTargetProfileContext, nt as isSameOrDescendantPath, ot as buildDispatchSessionTitle, r as buildDispatchOwnedRuntimeEnv, rt as buildDispatchBootstrapTemplateFacts, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, st as parseDispatchTask, tn as listSpaceMemberDirectorySendTargets, ut as resolveDispatchMentionSourceContext, z as consumeArmedAgentControllerInterfaceReprobe } from "./dispatch-owned-runtime-
|
|
14
|
-
import { m as createCliSpaceApi
|
|
15
|
-
import {
|
|
16
|
-
import { F as SPACE_COLLABORATION_CONTEXT_RULE, I as SPACE_PERSONAL_CONTRIBUTION_RULE, X as resolvePublicAgentFailureReason, Z as resolveSpacePublicationRequirement } from "./dual-view-guide-catalog-
|
|
9
|
+
import { d as getAuthSessionState } from "./auth-session-Injt39gv.js";
|
|
10
|
+
import { S as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, _ as toErrorMessage$2, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, u as normalizeOptionalText$3, v as warnDaemonEvent, wt as agentExecutionSteerResponseSchema } from "./daemon-device-id-CAKHWLK9.js";
|
|
11
|
+
import { a as serviceExecutionHostCatalogSchema, i as SERVICE_EXECUTION_HOST_PROTOCOL, t as ExecutionHostError } from "./channel-CxgYezuw.js";
|
|
12
|
+
import { f as withSkillsInstallLock, h as OFFICIAL_CLI_SKILL_URL, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-Bef17OTn.js";
|
|
13
|
+
import { $ as readComputerFileAccessPolicy, Bt as buildSpaceRoundSignalPublication, S as resolveOpenCodeDatabasePath, Wt as createDispatchContinuationSpaceAccessContext, X as emitDaemonDispatchJournalEvent, Xt as getSpaceAccessPassword, Zt as getSpaceAccessRequestContext, at as buildDispatchPromptPlan, b as readOpenCodeSessionRows, c as createDispatchSpaceActionContext, ct as resolveBootstrapSpaceOwnerProfileId, d as readDispatchSpaceActionRecord, en as isWakeClosingSystemNoticeType, et as resolveComputerFileAccessStorePath, f as supersedeDispatchSpaceActionRecordForReconsideration, fn as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, g as sendDaemonFrame$1, h as parseDaemonFrame, it as buildDispatchCorrelation, l as readDispatchSpaceActionContextForReceiptFromEnv, lt as resolveBootstrapTargetProfileContext, nt as isSameOrDescendantPath, ot as buildDispatchSessionTitle, r as buildDispatchOwnedRuntimeEnv, rt as buildDispatchBootstrapTemplateFacts, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, st as parseDispatchTask, tn as listSpaceMemberDirectorySendTargets, ut as resolveDispatchMentionSourceContext, z as consumeArmedAgentControllerInterfaceReprobe } from "./dispatch-owned-runtime-B6HXvHVa.js";
|
|
14
|
+
import { m as createCliSpaceApi } from "./meta-api-BBfF-3ln.js";
|
|
15
|
+
import { B as installAgentActivityIntegrations, C as recordRuntimeReportingNotApplicable, E as startLocalAgentActivitySyncLoop, F as registerAgentActivityRoute, O as discoverLocalAgentSessionProviders, S as recordRuntimeReportingFailure, T as createLedgerIo, _ as readExecutionContextWorkspace, a as createDispatchSpaceTools, b as startDispatchSpaceProgressRelay, g as prepareExecutionContextWorkspace, h as markExecutionContextWorkspaceInUse, i as materializeOrganizationSkillRelease, k as recordOpenMeldCreatedLocalAgentSession, n as createSpaceWorkingCopies, r as downloadWorkingCopyFile, s as readTaskKnowledge, t as fetchSpaceUpdates, v as releaseExecutionContextWorkspace, w as recordRuntimeReportingSuccess, y as prepareClaudeProjectContainer, z as defaultManagedIntegrationPaths } from "./updates-api-Cot1YmlU.js";
|
|
16
|
+
import { F as SPACE_COLLABORATION_CONTEXT_RULE, I as SPACE_PERSONAL_CONTRIBUTION_RULE, X as resolvePublicAgentFailureReason, Z as resolveSpacePublicationRequirement } from "./dual-view-guide-catalog-Cf9dxh8-.js";
|
|
17
17
|
import { a as resolveBaseUrl, f as getConfiguredDaemonDispatchLimits, g as getConfiguredSkillsConfig } from "./base-url-0AoeTi3w.js";
|
|
18
|
-
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-
|
|
19
|
-
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
20
|
-
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-
|
|
21
|
-
import { t as installSkillsToTargets } from "./installer-
|
|
18
|
+
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-eiHCp4B7.js";
|
|
19
|
+
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-Dbc5MXyW.js";
|
|
20
|
+
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-D51t3Q8e.js";
|
|
21
|
+
import { t as installSkillsToTargets } from "./installer-9RCKL6Dh.js";
|
|
22
22
|
import { createHash, randomUUID } from "node:crypto";
|
|
23
23
|
import { homedir } from "node:os";
|
|
24
24
|
import { basename, dirname, extname, join } from "node:path";
|
|
@@ -6377,17 +6377,7 @@ async function loadDispatchLedgerContext(input) {
|
|
|
6377
6377
|
};
|
|
6378
6378
|
}
|
|
6379
6379
|
async function resolveDispatchBootstrapContext(input) {
|
|
6380
|
-
const
|
|
6381
|
-
spaceId: input.parsedTask.spaceId,
|
|
6382
|
-
targetProfileId: input.parsedTask.targetProfileId
|
|
6383
|
-
};
|
|
6384
|
-
const [taskDocuments, organizationSkillReleases] = await Promise.all([readTaskDocuments(knowledgeScope).then((result) => "documents" in result ? result.documents : null).catch(() => null), input.parsedTask.workHandoff ? Promise.resolve(input.parsedTask.workHandoff.skills) : readTaskSkillSelections(knowledgeScope).catch(() => null)]);
|
|
6385
|
-
const taskKnowledgeIndex = renderTaskKnowledgeIndex({
|
|
6386
|
-
documents: taskDocuments,
|
|
6387
|
-
skills: organizationSkillReleases,
|
|
6388
|
-
readHint: "Use read_documents without documentId for the full directory, or with documentId for the current approved body. Use read_skills without name for all selected Skills, including omitted entries, or with name for the pinned instructions and resources. Handoff Skills use the existing task materializer. Never replace a selected release with latest or install knowledge into global Skills or repository AGENTS.md."
|
|
6389
|
-
});
|
|
6390
|
-
const [spaceOwnerProfileId, targetProfileContext, mentionSourceContext, spaceMetaContext] = await Promise.all([
|
|
6380
|
+
const [spaceOwnerProfileId, targetProfileContext, mentionSourceContext, knowledge] = await Promise.all([
|
|
6391
6381
|
resolveBootstrapSpaceOwnerProfileId({
|
|
6392
6382
|
spaceId: input.parsedTask.spaceId,
|
|
6393
6383
|
targetProfileId: input.parsedTask.targetProfileId
|
|
@@ -6403,19 +6393,40 @@ async function resolveDispatchBootstrapContext(input) {
|
|
|
6403
6393
|
mentionSourceProfileId: input.parsedTask.mentionSourceProfileId,
|
|
6404
6394
|
preferredMentionLabel: input.parsedTask.mentionSourceProfileMentionLabel
|
|
6405
6395
|
}),
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6396
|
+
readTaskKnowledge({
|
|
6397
|
+
spaceId: input.parsedTask.spaceId,
|
|
6398
|
+
targetProfileId: input.parsedTask.targetProfileId,
|
|
6399
|
+
...input.parsedTask.spacePassword ? { spacePassword: input.parsedTask.spacePassword } : {},
|
|
6400
|
+
...input.parsedTask.workHandoff ? { skillSelections: input.parsedTask.workHandoff.skills } : {},
|
|
6401
|
+
onRead: (read) => input.onPhase?.("bootstrap_read_completed", read)
|
|
6402
|
+
}).then((result) => ({
|
|
6403
|
+
...result,
|
|
6404
|
+
errorMessage: null
|
|
6405
|
+
})).catch((error) => ({
|
|
6406
|
+
documents: null,
|
|
6407
|
+
skills: input.parsedTask.workHandoff?.skills ?? null,
|
|
6408
|
+
spaceMeta: null,
|
|
6409
|
+
errorMessage: toErrorMessage$2(error)
|
|
6410
|
+
}))
|
|
6411
6411
|
]);
|
|
6412
|
+
const organizationSkillReleases = knowledge.skills;
|
|
6413
|
+
const taskKnowledgeIndex = renderTaskKnowledgeIndex({
|
|
6414
|
+
documents: knowledge.documents,
|
|
6415
|
+
skills: organizationSkillReleases,
|
|
6416
|
+
readHint: "Use read_documents without documentId for the full directory, or with documentId for the current approved body. Use read_skills without name for all selected Skills, including omitted entries, or with name for the pinned instructions and resources. Handoff Skills use the existing task materializer. Never replace a selected release with latest or install knowledge into global Skills or repository AGENTS.md."
|
|
6417
|
+
});
|
|
6418
|
+
const spaceMetaContext = {
|
|
6419
|
+
spaceGuide: normalizeOptionalText$3(knowledge.spaceMeta?.guide),
|
|
6420
|
+
spaceName: normalizeOptionalText$3(knowledge.spaceMeta?.name),
|
|
6421
|
+
spacePurpose: normalizeOptionalText$3(knowledge.spaceMeta?.purpose)
|
|
6422
|
+
};
|
|
6412
6423
|
input.onPhase?.("bootstrap_context_ready", {
|
|
6413
6424
|
mentionSourceMentionLabelPresent: mentionSourceContext.mentionSourceMentionLabel !== null,
|
|
6414
6425
|
mentionSourceProfileNamePresent: mentionSourceContext.mentionSourceProfileName !== null,
|
|
6415
6426
|
source: "dispatch_bootstrap_context",
|
|
6416
6427
|
spaceGuidePresent: spaceMetaContext.spaceGuide !== null,
|
|
6417
|
-
spaceMetaError:
|
|
6418
|
-
spaceMetaStatus:
|
|
6428
|
+
spaceMetaError: knowledge.errorMessage,
|
|
6429
|
+
spaceMetaStatus: knowledge.spaceMeta ? "loaded" : "failed",
|
|
6419
6430
|
spaceNamePresent: spaceMetaContext.spaceName !== null,
|
|
6420
6431
|
spaceOwnerProfilePresent: spaceOwnerProfileId !== null,
|
|
6421
6432
|
spacePurposePresent: spaceMetaContext.spacePurpose !== null,
|
|
@@ -6469,40 +6480,11 @@ async function resolveDispatchBootstrapContext(input) {
|
|
|
6469
6480
|
targetProfileRole: targetProfileContext.targetProfileRole
|
|
6470
6481
|
};
|
|
6471
6482
|
}
|
|
6472
|
-
async function resolveDispatchSpaceMetaContext(input) {
|
|
6473
|
-
try {
|
|
6474
|
-
const meta = await fetchSpaceMeta({
|
|
6475
|
-
baseUrl: await resolveBaseUrl(),
|
|
6476
|
-
requestContext: buildOpenMeldRequestContextFromProfileIdentity({ profileIdentity: {
|
|
6477
|
-
openMeldProfileId: input.parsedTask.targetProfileId,
|
|
6478
|
-
profileKind: "agent",
|
|
6479
|
-
ownerUserId: input.profileOwnerUserId,
|
|
6480
|
-
...input.profileOwnerName ? { ownerName: input.profileOwnerName } : {},
|
|
6481
|
-
profileName: input.parsedTask.targetProfileName ?? input.parsedTask.targetProfileMentionLabel ?? input.parsedTask.targetProfileId
|
|
6482
|
-
} }),
|
|
6483
|
-
space: input.parsedTask.spaceId,
|
|
6484
|
-
...input.parsedTask.spacePassword ? { password: input.parsedTask.spacePassword } : {}
|
|
6485
|
-
});
|
|
6486
|
-
return {
|
|
6487
|
-
status: "loaded",
|
|
6488
|
-
spaceGuide: normalizeOptionalText$3(meta.guide),
|
|
6489
|
-
spaceName: normalizeOptionalText$3(meta.name),
|
|
6490
|
-
spacePurpose: normalizeOptionalText$3(meta.purpose)
|
|
6491
|
-
};
|
|
6492
|
-
} catch (error) {
|
|
6493
|
-
return {
|
|
6494
|
-
status: "failed",
|
|
6495
|
-
errorMessage: toErrorMessage$2(error),
|
|
6496
|
-
spaceGuide: null,
|
|
6497
|
-
spaceName: null,
|
|
6498
|
-
spacePurpose: null
|
|
6499
|
-
};
|
|
6500
|
-
}
|
|
6501
|
-
}
|
|
6502
6483
|
function buildDispatchRuntimePrompt(input) {
|
|
6503
6484
|
return buildDispatchPromptPlan({
|
|
6504
6485
|
executionContextAccess: input.parsedTask.executionContext?.access,
|
|
6505
6486
|
callerContext: input.parsedTask.callerContext,
|
|
6487
|
+
requesterIsAgentOwner: input.parsedTask.requesterIsAgentOwner,
|
|
6506
6488
|
shouldInjectBootstrap: input.shouldInjectBootstrap,
|
|
6507
6489
|
shouldInjectCenterAgentRoleTemplate: input.parsedTask.targetProfileIsCenterAgent,
|
|
6508
6490
|
dispatchTriggerSource: input.parsedTask.dispatchTriggerSource,
|
|
@@ -6562,7 +6544,7 @@ async function prepareDispatchTaskWorkspace(input) {
|
|
|
6562
6544
|
}
|
|
6563
6545
|
async function prepareDispatchClaudeProjectContainer(input) {
|
|
6564
6546
|
const context = input.parsedTask.executionContext;
|
|
6565
|
-
if (input.parsedTask.agentControllerRef !== "builtin:claude-code" || context?.access !== "workspace" || context.workspace !== "isolated") return null;
|
|
6547
|
+
if (input.parsedTask.agentControllerRef !== "builtin:claude-code" || context?.permissionSource === "agent_settings" || context?.access !== "workspace" || context.workspace !== "isolated") return null;
|
|
6566
6548
|
try {
|
|
6567
6549
|
return await prepareClaudeProjectContainer({
|
|
6568
6550
|
boundaryRoot: input.taskWorkspace.boundaryRoot,
|
|
@@ -6628,7 +6610,7 @@ function observeExecutionContextWorkspaceProcess(processes, event) {
|
|
|
6628
6610
|
async function resolveDispatchComputerFileAccess(input) {
|
|
6629
6611
|
const policy = await readComputerFileAccessPolicy(input.computerFileAccessStorePath);
|
|
6630
6612
|
const verifier = input.runtimeControllerSupport.localAdapterEntry.adapter.verifyComputerFileAccessBoundary;
|
|
6631
|
-
if (input.parsedTask.executionContext) {
|
|
6613
|
+
if (input.parsedTask.executionContext && input.parsedTask.executionContext.permissionSource !== "agent_settings") {
|
|
6632
6614
|
const context = input.parsedTask.executionContext;
|
|
6633
6615
|
if (input.parsedTask.agentControllerRef === "builtin:claude-code" && context.access === "space_context") return null;
|
|
6634
6616
|
if (input.parsedTask.agentControllerRef === "builtin:claude-code" && context.access === "workspace" && context.workspace === "isolated" && input.claudeProjectRuntime) return null;
|
|
@@ -6687,6 +6669,7 @@ async function resolveDispatchComputerFileAccess(input) {
|
|
|
6687
6669
|
}
|
|
6688
6670
|
function createDispatchSpaceActionRuntimeContext(input) {
|
|
6689
6671
|
const contextResult = createDispatchSpaceActionContext({
|
|
6672
|
+
executionTokenEcho: input.parsedTask.executionTokenEcho,
|
|
6690
6673
|
organizationSkillReleases: input.bootstrapContext.organizationSkillReleases,
|
|
6691
6674
|
...input.claudeProjectRuntime && input.parsedTask.executionContext ? { projectShell: {
|
|
6692
6675
|
boundaryRoot: input.taskWorkspace.boundaryRoot,
|
|
@@ -9375,4 +9358,4 @@ function createExecutionHostRuntime(input) {
|
|
|
9375
9358
|
//#endregion
|
|
9376
9359
|
export { createExecutionHostResources, createExecutionHostRuntime };
|
|
9377
9360
|
|
|
9378
|
-
//# sourceMappingURL=runtime-
|
|
9361
|
+
//# sourceMappingURL=runtime-DMHRemwP.js.map
|