Merge pull request #192 from RuoJi6/RuoJi6/feat/issue-188-default-enable-screenshot-settings

feat(settings): 默认开启截图与证据相关设置并修复容器内 Playwright MCP 截图失效 (#188)
This commit is contained in:
ji ruo committed 2026-11-27 15:55:28 +08:00
commit ddcd740d16
28 files changed
+663 -92

No files matched your search

+1 -1
View File
@@ -553,7 +553,7 @@ func (s *Server) seedOrchestrationTools() {
s.seedReporterAgent() // 预置「报告撰写」agent + 工具绑定 + finding 触发器(一次性)
s.upgradeReporterTriggerMessage() // 老库补迁移:让 reporter 回传 evidence_version(一次性)
s.migrateReporterWorkflow() // 修复旧库残留的 reproduction 工具/提示词绑定
if s.m.pg.GetBool(settingBrowserScreenshot, false) {
if s.m.pg.GetBool(settingBrowserScreenshot, defaultBrowserScreenshot) {
// Re-apply the opt-in after startup seeding so an existing database gets
// both reporter visibility and the repaired Playwright launch arguments.
if err := s.setReporterBrowserScreenshotVisibility(true); err != nil {