feat(agent-browser): add opt-in preview data injection
This commit is contained in:
@@ -90,6 +90,7 @@ export class PiAgentBrowserTool {
|
||||
projectPath: context.projectPath,
|
||||
url: string(body.url, true) as string,
|
||||
visible: false,
|
||||
...(body.injectProjectData === true ? { injectProjectData: true } : {}),
|
||||
});
|
||||
return result(action, publicSnapshot(snapshot));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user