mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-07 05:11:51 +08:00
feat(settings): default-enable screenshot/evidence settings and fix container Playwright MCP
- Default-enable browser_screenshot_enabled, browser_screenshot_timestamp_enabled, agent_traffic_binding, and task_intelligence_enabled when unset in DB (preserving explicit user false values). - Align db/credentials.go SQL checks and frontend defaults/copy with DefaultTaskIntelligence = true. - Fix container Playwright MCP screenshot failures: ensure --browser chromium in seed/reconcile, install Chromium via playwright-mcp install-browser --with-deps chromium in Dockerfile, prefer local playwright-mcp binary over npx, and run stdio MCP servers in the active agent working directory with stderr capture. Fixes #188
This commit is contained in:
1 parent
253a8eeac3
commit
b23d1776c7
28 files changed
+663
-92
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user