0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. extension
  6. /
  7. plugins
  8. /
  9. builtin
Kaguya-19Kaguya-19Revert "feat(browser-use): persist browser user data across sessions"
4f541398创建于 15 天前历史提交
文件最后提交记录最后更新时间
browser-use
feat(mcp): per-session browser isolation with lifecycle cleanup Give each agent session its own browser-use MCP process instead of sharing a single instance. This prevents cross-session state leakage (cookies, tabs, navigation history) and ensures clean browser state. Key changes: - browser-use plugin.json: mark as perSession, remove shared user-data-dir - createLocalGateway: split MCP servers into shared vs per-session, manage per-session McpRuntime lifecycle with evictSessionMcp() - SessionRouter: add onSessionEvict callback for idle/close/recreate - Gateway config: add maxPerSessionMcpInstances (default 5) - PromptAssembler: remove redundant tool catalog from system prompt Also fixes a potential process leak where repeated resolve() calls on the same session could orphan Chromium processes. Co-authored-by: Cursor <cursoragent@cursor.com> 17 天前
loadBuiltinPlugins.ts
feat(extension): add builtin plugin loader and browser-use plugin Add a builtin plugin discovery mechanism that scans the builtin/ directory for plugin.json manifests. Ship browser-use (Playwright MCP) as the first builtin plugin. Update build script to copy builtin assets into dist/. Co-authored-by: Cursor <cursoragent@cursor.com> 22 天前