top-level agent workspace update fix
This commit is contained in:
@@ -902,7 +902,13 @@ export class AgentHarness {
|
||||
'main',
|
||||
this.mcpClient,
|
||||
this.availableMCPTools,
|
||||
this.workspaceManager
|
||||
this.workspaceManager,
|
||||
undefined, // no image callback
|
||||
(storeName, newState) => {
|
||||
this.workspaceManager?.setState(storeName, newState).catch((err) =>
|
||||
this.config.logger.error({ err, storeName }, 'Failed to sync workspace after main agent mutation')
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// Build shared subagent context
|
||||
|
||||
Reference in New Issue
Block a user