mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(agents): keep dispatch runtime projection narrow
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user