diff --git a/src/agents/prepared-reply-dispatch-runtime.ts b/src/agents/prepared-reply-dispatch-runtime.ts index 9240d50c540b..e73a6e6b428d 100644 --- a/src/agents/prepared-reply-dispatch-runtime.ts +++ b/src/agents/prepared-reply-dispatch-runtime.ts @@ -24,7 +24,14 @@ function createReplyDispatchRuntime( `prepared inbound plugin registry was not published for ${snapshot.agentDir}`, ); } - return Object.freeze({ ...owner, inboundPluginRegistry }); + return Object.freeze({ + agentId: owner.agentId, + agentDir: owner.agentDir, + workspaceDir: owner.workspaceDir, + config: owner.config, + modelCatalog: owner.modelCatalog, + inboundPluginRegistry, + }); } function buildReplyDispatchPublication(