fix(agents): keep dispatch runtime projection narrow

This commit is contained in:
joshavant
2026-08-12 04:18:39 -05:00
parent b6813cd1be
commit 4e0c58f347
@@ -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(