openmeld 0.3.241 → 0.3.243
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-BU2dHctF.js → add-me-membership-FVD0x_9l.js} +2 -2
- package/dist/{add-me-membership-BU2dHctF.js.map → add-me-membership-FVD0x_9l.js.map} +1 -1
- package/dist/{agents-BCbxo9ej.js → agents-Cfx3N1rf.js} +11 -10
- package/dist/{agents-BCbxo9ej.js.map → agents-Cfx3N1rf.js.map} +1 -1
- package/dist/{api-client-foundation-Dbc5MXyW.js → api-client-foundation-CytD8TbL.js} +2 -2
- package/dist/{api-client-foundation-Dbc5MXyW.js.map → api-client-foundation-CytD8TbL.js.map} +1 -1
- package/dist/{api-client-foundation-uYxH6diU.js → api-client-foundation-DjzQysm8.js} +1 -1
- package/dist/{channel-CxgYezuw.js → channel-UCuauH8X.js} +2 -2
- package/dist/{channel-CxgYezuw.js.map → channel-UCuauH8X.js.map} +1 -1
- package/dist/cloud-computer-Tm9YAbeL.js +21 -0
- package/dist/cloud-computer-Tm9YAbeL.js.map +1 -0
- package/dist/{command-BEWvHfNy.js → command-DSAT4Dvl.js} +14 -14
- package/dist/{command-BEWvHfNy.js.map → command-DSAT4Dvl.js.map} +1 -1
- package/dist/{computer-connection-review-B3jM81-q.js → computer-connection-review-pWI1btuC.js} +2 -2
- package/dist/{computer-connection-review-B3jM81-q.js.map → computer-connection-review-pWI1btuC.js.map} +1 -1
- package/dist/{computer-disconnect-De7aDtz9.js → computer-disconnect-Cahboj3J.js} +5 -5
- package/dist/{computer-disconnect-De7aDtz9.js.map → computer-disconnect-Cahboj3J.js.map} +1 -1
- package/dist/{computer-setup-continuation-DUDXeWyZ.js → computer-setup-continuation-DmKqN6Kf.js} +2 -2
- package/dist/{computer-setup-continuation-DUDXeWyZ.js.map → computer-setup-continuation-DmKqN6Kf.js.map} +1 -1
- package/dist/{daemon-device-id-CAKHWLK9.js → context--QS-5kJ8.js} +7 -279
- package/dist/context--QS-5kJ8.js.map +1 -0
- package/dist/daemon-device-id-Bo1QzbXB.js +284 -0
- package/dist/daemon-device-id-Bo1QzbXB.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-txRGG09R.js → daemon-lifecycle-journal-DFZyoyx9.js} +6 -6
- package/dist/{daemon-lifecycle-journal-txRGG09R.js.map → daemon-lifecycle-journal-DFZyoyx9.js.map} +1 -1
- package/dist/{daemon-service-manager-C_ny0JhB.js → daemon-service-manager-DAEJlYsV.js} +1 -1
- package/dist/{daemon-service-manager-BXAp21GH.js → daemon-service-manager-SXQcFE9c.js} +2 -2
- package/dist/{daemon-service-manager-BXAp21GH.js.map → daemon-service-manager-SXQcFE9c.js.map} +1 -1
- package/dist/{daemon-service-runtime-DVou-9gk.js → daemon-service-runtime-Cn8K1WAb.js} +5 -5
- package/dist/{daemon-service-runtime-DVou-9gk.js.map → daemon-service-runtime-Cn8K1WAb.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-j-NJ6SG6.js → daemon-service-update-coordinator-Bk4reE6J.js} +11 -10
- package/dist/{daemon-service-update-coordinator-j-NJ6SG6.js.map → daemon-service-update-coordinator-Bk4reE6J.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-Ds0NjZbf.js → dispatch-owned-runtime-CAgSp4Sk.js} +7 -6
- package/dist/{dispatch-owned-runtime-Ds0NjZbf.js.map → dispatch-owned-runtime-CAgSp4Sk.js.map} +1 -1
- package/dist/dist-CfvQIuzK.js +4 -0
- package/dist/{dist-BE0dKSoc.js → dist-D2adiC2P.js} +136 -2
- package/dist/dist-D2adiC2P.js.map +1 -0
- package/dist/{dual-view-guide-catalog-Bm3heywF.js → dual-view-guide-catalog-D7DcI-F8.js} +2 -2
- package/dist/{dual-view-guide-catalog-Bm3heywF.js.map → dual-view-guide-catalog-D7DcI-F8.js.map} +1 -1
- package/dist/{elapsed-time-8Z_hiMHG.js → elapsed-time-BvqrpioR.js} +3 -3
- package/dist/{elapsed-time-8Z_hiMHG.js.map → elapsed-time-BvqrpioR.js.map} +1 -1
- package/dist/{entry-CRNdcPn2.js → entry-BSMXdz-n.js} +7 -6
- package/dist/{entry-CRNdcPn2.js.map → entry-BSMXdz-n.js.map} +1 -1
- package/dist/{installation-inventory-C2gqd8Ui.js → installation-inventory-CUB5QFBF.js} +3 -3
- package/dist/{installation-inventory-C2gqd8Ui.js.map → installation-inventory-CUB5QFBF.js.map} +1 -1
- package/dist/{installer-C5wRsjRo.js → installer-DslRR89F.js} +2 -2
- package/dist/{installer-C5wRsjRo.js.map → installer-DslRR89F.js.map} +1 -1
- package/dist/{meta-api-f30I0cYW.js → meta-api-DcbI4Cjm.js} +4 -4
- package/dist/{meta-api-f30I0cYW.js.map → meta-api-DcbI4Cjm.js.map} +1 -1
- package/dist/{openmeld-pa6CFD0L.js → openmeld-CpdXY6Fv.js} +50 -28
- package/dist/openmeld-CpdXY6Fv.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DO2-9bPr.js → openmeld-maintenance-worker-CJqQfm0t.js} +10 -10
- package/dist/{openmeld-maintenance-worker-DO2-9bPr.js.map → openmeld-maintenance-worker-CJqQfm0t.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-7k8F3WoX.js → openmeld-tools-update-join-C8NHNJPy.js} +4 -4
- package/dist/{openmeld-tools-update-join-7k8F3WoX.js.map → openmeld-tools-update-join-C8NHNJPy.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-CRKT1qfE.js → prepare-provider-runtime-CDs1nV-P.js} +8 -7
- package/dist/{prepare-provider-runtime-CRKT1qfE.js.map → prepare-provider-runtime-CDs1nV-P.js.map} +1 -1
- package/dist/{prepare-session-executor-HgLhIpBN.js → prepare-session-executor-BLPG3mLl.js} +21 -21
- package/dist/{prepare-session-executor-HgLhIpBN.js.map → prepare-session-executor-BLPG3mLl.js.map} +1 -1
- package/dist/{process-channel-Ceb-ha2V.js → process-channel-DyKbHNH7.js} +2 -2
- package/dist/{process-channel-Ceb-ha2V.js.map → process-channel-DyKbHNH7.js.map} +1 -1
- package/dist/{runtime-DMlmaA44.js → runtime-CMxGDQR2.js} +43 -62
- package/dist/runtime-CMxGDQR2.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-BYU0eXKb.js → runtime-agent-controller-reporting-submission-DVZfWBM7.js} +6 -6
- package/dist/{runtime-agent-controller-reporting-submission-BYU0eXKb.js.map → runtime-agent-controller-reporting-submission-DVZfWBM7.js.map} +1 -1
- package/dist/{service-BLA4eCyA.js → service-DzRwreWp.js} +21 -20
- package/dist/{service-BLA4eCyA.js.map → service-DzRwreWp.js.map} +1 -1
- package/dist/{service-account-control-xIDWMYp7.js → service-account-control-rYk3uHAE.js} +8 -7
- package/dist/{service-account-control-xIDWMYp7.js.map → service-account-control-rYk3uHAE.js.map} +1 -1
- package/dist/{service-control-capabilities-C4rpfc9B.js → service-control-capabilities-BpqpJM9N.js} +1 -1
- package/dist/{service-control-capabilities-9SQY-44h.js → service-control-capabilities-JqmrqJGu.js} +4 -4
- package/dist/{service-control-capabilities-9SQY-44h.js.map → service-control-capabilities-JqmrqJGu.js.map} +1 -1
- package/dist/{state-BNcCVukg.js → state-C-Esm899.js} +2 -2
- package/dist/{state-BNcCVukg.js.map → state-C-Esm899.js.map} +1 -1
- package/dist/{updates-api-CTf05SZn.js → updates-api-DWLii54q.js} +53 -22
- package/dist/updates-api-DWLii54q.js.map +1 -0
- package/dist/upgrade-Dw6-zvES.js +4 -0
- package/dist/{upgrade-B17yGEBC.js → upgrade-gwIwzrdg.js} +9 -9
- package/dist/{upgrade-B17yGEBC.js.map → upgrade-gwIwzrdg.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +11 -11
- package/skills/openmeld-cli/SKILL.md +20 -0
- package/dist/daemon-device-id-CAKHWLK9.js.map +0 -1
- package/dist/dist-BE0dKSoc.js.map +0 -1
- package/dist/dist-D4nEGVsQ.js +0 -4
- package/dist/openmeld-pa6CFD0L.js.map +0 -1
- package/dist/runtime-DMlmaA44.js.map +0 -1
- package/dist/updates-api-CTf05SZn.js.map +0 -1
- package/dist/upgrade-BoX1y1zH.js +0 -4
- /package/dist/{auth-session-j1EhJkpg2.js → auth-session-j1EhJkpg.js} +0 -0
|
@@ -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-UCuauH8X.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-DyKbHNH7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-channel-
|
|
1
|
+
{"version":3,"file":"process-channel-DyKbHNH7.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-CDs1nV-P.js";
|
|
4
4
|
import { F as resolveOpenMeldRootDir } from "./paths-De9xdA2h.js";
|
|
5
|
-
import { At as buildSpaceAttachmentDownloadPath,
|
|
5
|
+
import { At as buildSpaceAttachmentDownloadPath, Fr as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Zi as COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE, hn as createSpaceApi, ia as toCompatibleSpaceAddressingRequestWireValue, in as createOrganizationSkillsApi } from "./dist-D2adiC2P.js";
|
|
6
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
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
|
|
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-
|
|
10
|
+
import { S as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, U as agentExecutionSteerResponseSchema, _ as toErrorMessage$2, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, u as normalizeOptionalText$3, v as warnDaemonEvent } from "./daemon-device-id-Bo1QzbXB.js";
|
|
11
|
+
import { a as serviceExecutionHostCatalogSchema, i as SERVICE_EXECUTION_HOST_PROTOCOL, t as ExecutionHostError } from "./channel-UCuauH8X.js";
|
|
12
|
+
import { f as withSkillsInstallLock, h as OFFICIAL_CLI_SKILL_URL, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-C-Esm899.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-CAgSp4Sk.js";
|
|
14
|
+
import { m as createCliSpaceApi } from "./meta-api-DcbI4Cjm.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-DWLii54q.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-D7DcI-F8.js";
|
|
17
17
|
import { a as resolveBaseUrl, f as getConfiguredDaemonDispatchLimits, g as getConfiguredSkillsConfig } from "./base-url-0AoeTi3w.js";
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
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 { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-CytD8TbL.js";
|
|
19
|
+
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-DFZyoyx9.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-DVZfWBM7.js";
|
|
21
|
+
import { t as installSkillsToTargets } from "./installer-DslRR89F.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,36 +6480,6 @@ 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,
|
|
@@ -9377,4 +9358,4 @@ function createExecutionHostRuntime(input) {
|
|
|
9377
9358
|
//#endregion
|
|
9378
9359
|
export { createExecutionHostResources, createExecutionHostRuntime };
|
|
9379
9360
|
|
|
9380
|
-
//# sourceMappingURL=runtime-
|
|
9361
|
+
//# sourceMappingURL=runtime-CMxGDQR2.js.map
|