feat: 内置受管浏览器(CDP + AX 快照 ref 体系)+ 本地浏览器配置导入

This commit is contained in:
Rick Ye
2026-09-07 11:20:51 +08:00
parent 5dd645b745
commit eafbe8c15d
16 changed files with 2490 additions and 37 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ import {
} from '@earendil-works/pi-coding-agent'
import { ApprovalService, createApprovalExtension } from './approval'
import { demoTools, TOOLS_REQUIRING_APPROVAL } from '../tools/demo-tools'
import { browserTools } from '../tools/browser-tools'
import type {
AgentUiEvent,
AppSettings,
@@ -269,7 +270,7 @@ export class AgentService {
services,
sessionManager,
sessionStartEvent,
customTools: demoTools
customTools: [...demoTools, ...browserTools]
})
return { ...result, services, diagnostics: services.diagnostics }
}