Chrome DevTools for coding agents
fix: mark lighthouse and memory as non-read-only (#1769)
Alex Rudenkobec9dae2d26b
diff --git a/src/tools/lighthouse.ts b/src/tools/lighthouse.tsindex 3c831d81..606abf1a 100644--- a/src/tools/lighthouse.ts+++ b/src/tools/lighthouse.ts@@ -25,7 +25,7 @@ export const lighthouseAudit = definePageTool({description: `Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run ${startTrace.name}`,annotations: {category: ToolCategory.DEBUGGING,- readOnlyHint: true,+ readOnlyHint: false,},schema: {mode: zoddiff --git a/src/tools/memory.ts b/src/tools/memory.tsindex 406354d2..43e9ea78 100644--- a/src/tools/memory.ts+++ b/src/tools/memory.ts@@ -14,7 +14,7 @@ export const takeMemorySnapshot = definePageTool({description: `Capture a memory heapsnapshot of the currently selected page to memory leak debugging`,annotations: {category: ToolCategory.PERFORMANCE,- readOnlyHint: true,+ readOnlyHint: false,},schema: {filePath: zod