chrome-devtools-frontend 1.0.1626437 → 1.0.1626840
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front_end/core/host/UserMetrics.ts +11 -6
- package/front_end/core/root/ExperimentNames.ts +1 -1
- package/front_end/core/sdk/HeapProfilerModel.ts +1 -11
- package/front_end/entrypoints/greendev_floaty/FloatyEntrypoint.ts +0 -1
- package/front_end/entrypoints/greendev_floaty/greendev_floaty.ts +0 -1
- package/front_end/entrypoints/main/MainImpl.ts +4 -29
- package/front_end/generated/InspectorBackendCommands.ts +3 -2
- package/front_end/generated/protocol-mapping.d.ts +5 -0
- package/front_end/generated/protocol-proxy-api.d.ts +4 -0
- package/front_end/generated/protocol.ts +21 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +2 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +11 -5
- package/front_end/models/lighthouse/RunTypes.ts +1 -1
- package/front_end/models/workspace/UISourceCode.ts +0 -1
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +4 -3
- package/front_end/panels/common/AiCodeCompletionTeaser.ts +9 -0
- package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseController.ts +18 -0
- package/front_end/panels/profiler/profiler-meta.ts +0 -71
- package/front_end/panels/profiler/profiler.ts +0 -2
- package/front_end/panels/sources/ProfilePlugin.ts +12 -65
- package/front_end/panels/sources/UISourceCodeFrame.ts +1 -2
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +4213 -4208
- package/front_end/third_party/lighthouse/locales/en-US.json +26 -8
- package/front_end/third_party/lighthouse/locales/en-XL.json +26 -8
- package/front_end/third_party/lighthouse/report-assets/report-generator.mjs +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +7 -1
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +8 -1
- package/front_end/ui/legacy/components/perf_ui/LineLevelProfile.ts +0 -56
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +0 -35
- package/front_end/ui/legacy/components/perf_ui/perf_ui.ts +0 -2
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
- package/package.json +1 -1
- package/front_end/panels/profiler/LiveHeapProfileView.ts +0 -405
- package/front_end/panels/profiler/liveHeapProfile.css +0 -22
- package/front_end/ui/legacy/components/perf_ui/LiveHeapProfile.ts +0 -113
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
"message": "Failing Rule"
|
|
604
604
|
},
|
|
605
605
|
"core/audits/agentic/agent-accessibility-tree.js | description": {
|
|
606
|
-
"message": "A well-formed accessibility tree helps AI agents to navigate and interact with the page."
|
|
606
|
+
"message": "A well-formed [accessibility tree](http://goo.gle/lighthouse-agentic-a11y) helps AI agents to navigate and interact with the page."
|
|
607
607
|
},
|
|
608
608
|
"core/audits/agentic/agent-accessibility-tree.js | displayValuePassed": {
|
|
609
609
|
"message": "All audits passed"
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
"message": "Accessibility tree is well-formed"
|
|
619
619
|
},
|
|
620
620
|
"core/audits/agentic/llms-txt.js | description": {
|
|
621
|
-
"message": "If your llms.txt file
|
|
621
|
+
"message": "If your llms.txt file does not follow recommendations, large language models may not be able to understand how you want your website to be crawled or used for training. The [llms.txt](https://llmstxt.org/) file should be a Markdown file containing at least one H1 header."
|
|
622
622
|
},
|
|
623
623
|
"core/audits/agentic/llms-txt.js | displayValueHttpBadCode": {
|
|
624
624
|
"message": "Failed with HTTP status {statusCode}"
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
"message": "Fetch of llms.txt failed"
|
|
628
628
|
},
|
|
629
629
|
"core/audits/agentic/llms-txt.js | failureTitle": {
|
|
630
|
-
"message": "llms.txt
|
|
630
|
+
"message": "llms.txt does not follow recommendations"
|
|
631
631
|
},
|
|
632
632
|
"core/audits/agentic/llms-txt.js | missingH1": {
|
|
633
633
|
"message": "File is missing a required H1 header (e.g., \"# Title\")."
|
|
@@ -636,7 +636,7 @@
|
|
|
636
636
|
"message": "File does not appear to contain any links."
|
|
637
637
|
},
|
|
638
638
|
"core/audits/agentic/llms-txt.js | title": {
|
|
639
|
-
"message": "llms.txt
|
|
639
|
+
"message": "llms.txt follows recommendations"
|
|
640
640
|
},
|
|
641
641
|
"core/audits/agentic/llms-txt.js | tooShort": {
|
|
642
642
|
"message": "File is suspiciously short."
|
|
@@ -1350,7 +1350,7 @@
|
|
|
1350
1350
|
"message": "Form"
|
|
1351
1351
|
},
|
|
1352
1352
|
"core/audits/webmcp-form-coverage.js | description": {
|
|
1353
|
-
"message": "Consider adding WebMCP annotations to the forms listed below. This helps AI agents identify and interact with these forms more reliably."
|
|
1353
|
+
"message": "Consider adding [WebMCP](http://goo.gle/webmcp-docs) annotations to the forms listed below. This helps AI agents identify and interact with these forms more reliably."
|
|
1354
1354
|
},
|
|
1355
1355
|
"core/audits/webmcp-form-coverage.js | displayValue": {
|
|
1356
1356
|
"message": "{itemCount, plural,\n =1 {1 form missing annotations}\n other {# forms missing annotations}\n }"
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
"message": "Tool name"
|
|
1375
1375
|
},
|
|
1376
1376
|
"core/audits/webmcp-registered-tools.js | description": {
|
|
1377
|
-
"message": "Lists the WebMCP tools registered at the time of analysis.
|
|
1377
|
+
"message": "Lists the [WebMCP tools](http://goo.gle/webmcp-docs) registered at the time of analysis."
|
|
1378
1378
|
},
|
|
1379
1379
|
"core/audits/webmcp-registered-tools.js | title": {
|
|
1380
1380
|
"message": "WebMCP tools registered"
|
|
@@ -1392,7 +1392,7 @@
|
|
|
1392
1392
|
"message": "Issue"
|
|
1393
1393
|
},
|
|
1394
1394
|
"core/audits/webmcp-schema-validity.js | description": {
|
|
1395
|
-
"message": "Valid WebMCP schemas are required for AI agents to understand and interact with tools correctly. Please fix any errors or warnings reported by the browser."
|
|
1395
|
+
"message": "Valid [WebMCP schemas](http://goo.gle/webmcp-docs) are required for AI agents to understand and interact with tools correctly. Please fix any errors or warnings reported by the browser."
|
|
1396
1396
|
},
|
|
1397
1397
|
"core/audits/webmcp-schema-validity.js | failureTitle": {
|
|
1398
1398
|
"message": "WebMCP schemas are invalid"
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
"message": "Agent Accessibility"
|
|
1423
1423
|
},
|
|
1424
1424
|
"core/config/agentic-browsing-config.js | agenticBrowsingCategoryDescription": {
|
|
1425
|
-
"message": "These checks ensure high-quality, browsable websites for AI agents and validate the correctness of WebMCP integrations. This category is still under development and subject to change."
|
|
1425
|
+
"message": "These checks ensure high-quality, [browsable websites for AI agents](https://goo.gle/lighthouse-agentic-web) and validate the correctness of WebMCP integrations. This category is still under development and subject to change."
|
|
1426
1426
|
},
|
|
1427
1427
|
"core/config/agentic-browsing-config.js | agenticBrowsingCategoryTitle": {
|
|
1428
1428
|
"message": "Agentic Browsing"
|
|
@@ -1490,6 +1490,18 @@
|
|
|
1490
1490
|
"core/config/default-config.js | a11yTablesListsVideoGroupTitle": {
|
|
1491
1491
|
"message": "Tables and lists"
|
|
1492
1492
|
},
|
|
1493
|
+
"core/config/default-config.js | agentAccessibilityGroupDescription": {
|
|
1494
|
+
"message": "These audits highlight best practices for improving the accessibility of the website for AI agents."
|
|
1495
|
+
},
|
|
1496
|
+
"core/config/default-config.js | agentAccessibilityGroupTitle": {
|
|
1497
|
+
"message": "Agent Accessibility"
|
|
1498
|
+
},
|
|
1499
|
+
"core/config/default-config.js | agenticBrowsingCategoryDescription": {
|
|
1500
|
+
"message": "These checks ensure high-quality, [browsable websites for AI agents](https://goo.gle/lighthouse-agentic-web) and validate the correctness of WebMCP integrations. This category is still under development and subject to change."
|
|
1501
|
+
},
|
|
1502
|
+
"core/config/default-config.js | agenticBrowsingCategoryTitle": {
|
|
1503
|
+
"message": "Agentic Browsing"
|
|
1504
|
+
},
|
|
1493
1505
|
"core/config/default-config.js | bestPracticesBrowserCompatGroupTitle": {
|
|
1494
1506
|
"message": "Browser Compatibility"
|
|
1495
1507
|
},
|
|
@@ -1562,6 +1574,12 @@
|
|
|
1562
1574
|
"core/config/default-config.js | seoMobileGroupTitle": {
|
|
1563
1575
|
"message": "Mobile Friendly"
|
|
1564
1576
|
},
|
|
1577
|
+
"core/config/default-config.js | webmcpGroupDescription": {
|
|
1578
|
+
"message": "Audits validating WebMCP integration."
|
|
1579
|
+
},
|
|
1580
|
+
"core/config/default-config.js | webmcpGroupTitle": {
|
|
1581
|
+
"message": "WebMCP"
|
|
1582
|
+
},
|
|
1565
1583
|
"core/gather/driver/environment.js | warningSlowHostCpu": {
|
|
1566
1584
|
"message": "The tested device appears to have a slower CPU than Lighthouse expects. This can negatively affect your performance score. Learn more about [calibrating an appropriate CPU slowdown multiplier](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md#cpu-throttling)."
|
|
1567
1585
|
},
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
"message": "F̂áîĺîńĝ Ŕûĺê"
|
|
604
604
|
},
|
|
605
605
|
"core/audits/agentic/agent-accessibility-tree.js | description": {
|
|
606
|
-
"message": "Â ẃêĺl̂-f́ôŕm̂éd̂ áĉćêśŝíb̂íl̂ít̂ý t̂ŕêé ĥél̂ṕŝ ÁÎ áĝén̂t́ŝ t́ô ńâv́îǵât́ê án̂d́ îńt̂ér̂áĉt́ ŵít̂h́ t̂h́ê ṕâǵê."
|
|
606
|
+
"message": "Â ẃêĺl̂-f́ôŕm̂éd̂ [áĉćêśŝíb̂íl̂ít̂ý t̂ŕêé](http://goo.gle/lighthouse-agentic-a11y) ĥél̂ṕŝ ÁÎ áĝén̂t́ŝ t́ô ńâv́îǵât́ê án̂d́ îńt̂ér̂áĉt́ ŵít̂h́ t̂h́ê ṕâǵê."
|
|
607
607
|
},
|
|
608
608
|
"core/audits/agentic/agent-accessibility-tree.js | displayValuePassed": {
|
|
609
609
|
"message": "Âĺl̂ áûd́ît́ŝ ṕâśŝéd̂"
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
"message": "Âćĉéŝśîb́îĺît́ŷ t́r̂éê íŝ ẃêĺl̂-f́ôŕm̂éd̂"
|
|
619
619
|
},
|
|
620
620
|
"core/audits/agentic/llms-txt.js | description": {
|
|
621
|
-
"message": "Îf́ ŷóûŕ l̂ĺm̂ś.t̂x́t̂ f́îĺê
|
|
621
|
+
"message": "Îf́ ŷóûŕ l̂ĺm̂ś.t̂x́t̂ f́îĺê d́ôéŝ ńôt́ f̂ól̂ĺôẃ r̂éĉóm̂ḿêńd̂át̂íôńŝ, ĺâŕĝé l̂án̂ǵûáĝé m̂ód̂él̂ś m̂áŷ ńôt́ b̂é âb́l̂é t̂ó ûńd̂ér̂śt̂án̂d́ ĥóŵ ýôú ŵán̂t́ ŷóûŕ ŵéb̂śît́ê t́ô b́ê ćr̂áŵĺêd́ ôŕ ûśêd́ f̂ór̂ t́r̂áîńîńĝ. T́ĥé [l̂ĺm̂ś.t̂x́t̂](https://llmstxt.org/) f́îĺê śĥóûĺd̂ b́ê á M̂ár̂ḱd̂óŵń f̂íl̂é ĉón̂t́âín̂ín̂ǵ ât́ l̂éâśt̂ ón̂é Ĥ1 h́êád̂ér̂."
|
|
622
622
|
},
|
|
623
623
|
"core/audits/agentic/llms-txt.js | displayValueHttpBadCode": {
|
|
624
624
|
"message": "F̂áîĺêd́ ŵít̂h́ ĤT́T̂Ṕ ŝt́ât́ûś {statusCode}"
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
"message": "F̂ét̂ćĥ óf̂ ĺl̂ḿŝ.t́x̂t́ f̂áîĺêd́"
|
|
628
628
|
},
|
|
629
629
|
"core/audits/agentic/llms-txt.js | failureTitle": {
|
|
630
|
-
"message": "l̂ĺm̂ś.t̂x́t̂
|
|
630
|
+
"message": "l̂ĺm̂ś.t̂x́t̂ d́ôéŝ ńôt́ f̂ól̂ĺôẃ r̂éĉóm̂ḿêńd̂át̂íôńŝ"
|
|
631
631
|
},
|
|
632
632
|
"core/audits/agentic/llms-txt.js | missingH1": {
|
|
633
633
|
"message": "F̂íl̂é îś m̂íŝśîńĝ á r̂éq̂úîŕêd́ Ĥ1 h́êád̂ér̂ (é.ĝ., \"# T́ît́l̂é\")."
|
|
@@ -636,7 +636,7 @@
|
|
|
636
636
|
"message": "F̂íl̂é d̂óêś n̂ót̂ áp̂ṕêár̂ t́ô ćôńt̂áîń âńŷ ĺîńk̂ś."
|
|
637
637
|
},
|
|
638
638
|
"core/audits/agentic/llms-txt.js | title": {
|
|
639
|
-
"message": "l̂ĺm̂ś.t̂x́t̂
|
|
639
|
+
"message": "l̂ĺm̂ś.t̂x́t̂ f́ôĺl̂óŵś r̂éĉóm̂ḿêńd̂át̂íôńŝ"
|
|
640
640
|
},
|
|
641
641
|
"core/audits/agentic/llms-txt.js | tooShort": {
|
|
642
642
|
"message": "F̂íl̂é îś ŝúŝṕîćîóûśl̂ý ŝh́ôŕt̂."
|
|
@@ -1350,7 +1350,7 @@
|
|
|
1350
1350
|
"message": "F̂ór̂ḿ"
|
|
1351
1351
|
},
|
|
1352
1352
|
"core/audits/webmcp-form-coverage.js | description": {
|
|
1353
|
-
"message": "Ĉón̂śîd́êŕ âd́d̂ín̂ǵ Ŵéb̂ḾĈṔ âńn̂ót̂át̂íôńŝ t́ô t́ĥé f̂ór̂ḿŝ ĺîśt̂éd̂ b́êĺôẃ. T̂h́îś ĥél̂ṕŝ ÁÎ áĝén̂t́ŝ íd̂én̂t́îf́ŷ án̂d́ îńt̂ér̂áĉt́ ŵít̂h́ t̂h́êśê f́ôŕm̂ś m̂ór̂é r̂él̂íâb́l̂ý."
|
|
1353
|
+
"message": "Ĉón̂śîd́êŕ âd́d̂ín̂ǵ [Ŵéb̂ḾĈṔ](http://goo.gle/webmcp-docs) âńn̂ót̂át̂íôńŝ t́ô t́ĥé f̂ór̂ḿŝ ĺîśt̂éd̂ b́êĺôẃ. T̂h́îś ĥél̂ṕŝ ÁÎ áĝén̂t́ŝ íd̂én̂t́îf́ŷ án̂d́ îńt̂ér̂áĉt́ ŵít̂h́ t̂h́êśê f́ôŕm̂ś m̂ór̂é r̂él̂íâb́l̂ý."
|
|
1354
1354
|
},
|
|
1355
1355
|
"core/audits/webmcp-form-coverage.js | displayValue": {
|
|
1356
1356
|
"message": "{itemCount, plural,\n =1 {1 f̂ór̂ḿ m̂íŝśîńĝ án̂ńôt́ât́îón̂ś}\n other {# f̂ór̂ḿŝ ḿîśŝín̂ǵ âńn̂ót̂át̂íôńŝ}\n }"
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
"message": "T̂óôĺ n̂ám̂é"
|
|
1375
1375
|
},
|
|
1376
1376
|
"core/audits/webmcp-registered-tools.js | description": {
|
|
1377
|
-
"message": "L̂íŝt́ŝ t́ĥé Ŵéb̂ḾĈṔ t̂óôĺŝ ŕêǵîśt̂ér̂éd̂ át̂ t́ĥé t̂ím̂é ôf́ âńâĺŷśîś.
|
|
1377
|
+
"message": "L̂íŝt́ŝ t́ĥé [Ŵéb̂ḾĈṔ t̂óôĺŝ](http://goo.gle/webmcp-docs) ŕêǵîśt̂ér̂éd̂ át̂ t́ĥé t̂ím̂é ôf́ âńâĺŷśîś."
|
|
1378
1378
|
},
|
|
1379
1379
|
"core/audits/webmcp-registered-tools.js | title": {
|
|
1380
1380
|
"message": "Ŵéb̂ḾĈṔ t̂óôĺŝ ŕêǵîśt̂ér̂éd̂"
|
|
@@ -1392,7 +1392,7 @@
|
|
|
1392
1392
|
"message": "Îśŝúê"
|
|
1393
1393
|
},
|
|
1394
1394
|
"core/audits/webmcp-schema-validity.js | description": {
|
|
1395
|
-
"message": "V̂ál̂íd̂ Ẃêb́M̂ĆP̂ śĉh́êḿâś âŕê ŕêq́ûír̂éd̂ f́ôŕ ÂÍ âǵêńt̂ś t̂ó ûńd̂ér̂śt̂án̂d́ âńd̂ ín̂t́êŕâćt̂ ẃît́ĥ t́ôól̂ś ĉór̂ŕêćt̂ĺŷ. Ṕl̂éâśê f́îx́ âńŷ ér̂ŕôŕŝ ór̂ ẃâŕn̂ín̂ǵŝ ŕêṕôŕt̂éd̂ b́ŷ t́ĥé b̂ŕôẃŝér̂."
|
|
1395
|
+
"message": "V̂ál̂íd̂ [Ẃêb́M̂ĆP̂ śĉh́êḿâś](http://goo.gle/webmcp-docs) âŕê ŕêq́ûír̂éd̂ f́ôŕ ÂÍ âǵêńt̂ś t̂ó ûńd̂ér̂śt̂án̂d́ âńd̂ ín̂t́êŕâćt̂ ẃît́ĥ t́ôól̂ś ĉór̂ŕêćt̂ĺŷ. Ṕl̂éâśê f́îx́ âńŷ ér̂ŕôŕŝ ór̂ ẃâŕn̂ín̂ǵŝ ŕêṕôŕt̂éd̂ b́ŷ t́ĥé b̂ŕôẃŝér̂."
|
|
1396
1396
|
},
|
|
1397
1397
|
"core/audits/webmcp-schema-validity.js | failureTitle": {
|
|
1398
1398
|
"message": "Ŵéb̂ḾĈṔ ŝćĥém̂áŝ ár̂é îńv̂ál̂íd̂"
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
"message": "Âǵêńt̂ Áĉćêśŝíb̂íl̂ít̂ý"
|
|
1423
1423
|
},
|
|
1424
1424
|
"core/config/agentic-browsing-config.js | agenticBrowsingCategoryDescription": {
|
|
1425
|
-
"message": "T̂h́êśê ćĥéĉḱŝ én̂śûŕê h́îǵĥ-q́ûál̂ít̂ý, b̂ŕôẃŝáb̂ĺê ẃêb́ŝít̂éŝ f́ôŕ ÂÍ âǵêńt̂ś âńd̂ v́âĺîd́ât́ê t́ĥé ĉór̂ŕêćt̂ńêśŝ óf̂ Ẃêb́M̂ĆP̂ ín̂t́êǵr̂át̂íôńŝ. T́ĥíŝ ćât́êǵôŕŷ íŝ śt̂íl̂ĺ ûńd̂ér̂ d́êv́êĺôṕm̂én̂t́ âńd̂ śûb́ĵéĉt́ t̂ó ĉh́âńĝé."
|
|
1425
|
+
"message": "T̂h́êśê ćĥéĉḱŝ én̂śûŕê h́îǵĥ-q́ûál̂ít̂ý, [b̂ŕôẃŝáb̂ĺê ẃêb́ŝít̂éŝ f́ôŕ ÂÍ âǵêńt̂ś](https://goo.gle/lighthouse-agentic-web) âńd̂ v́âĺîd́ât́ê t́ĥé ĉór̂ŕêćt̂ńêśŝ óf̂ Ẃêb́M̂ĆP̂ ín̂t́êǵr̂át̂íôńŝ. T́ĥíŝ ćât́êǵôŕŷ íŝ śt̂íl̂ĺ ûńd̂ér̂ d́êv́êĺôṕm̂én̂t́ âńd̂ śûb́ĵéĉt́ t̂ó ĉh́âńĝé."
|
|
1426
1426
|
},
|
|
1427
1427
|
"core/config/agentic-browsing-config.js | agenticBrowsingCategoryTitle": {
|
|
1428
1428
|
"message": "Âǵêńt̂íĉ B́r̂óŵśîńĝ"
|
|
@@ -1490,6 +1490,18 @@
|
|
|
1490
1490
|
"core/config/default-config.js | a11yTablesListsVideoGroupTitle": {
|
|
1491
1491
|
"message": "T̂áb̂ĺêś âńd̂ ĺîśt̂ś"
|
|
1492
1492
|
},
|
|
1493
|
+
"core/config/default-config.js | agentAccessibilityGroupDescription": {
|
|
1494
|
+
"message": "T̂h́êśê áûd́ît́ŝ h́îǵĥĺîǵĥt́ b̂éŝt́ p̂ŕâćt̂íĉéŝ f́ôŕ îḿp̂ŕôv́îńĝ t́ĥé âćĉéŝśîb́îĺît́ŷ óf̂ t́ĥé ŵéb̂śît́ê f́ôŕ ÂÍ âǵêńt̂ś."
|
|
1495
|
+
},
|
|
1496
|
+
"core/config/default-config.js | agentAccessibilityGroupTitle": {
|
|
1497
|
+
"message": "Âǵêńt̂ Áĉćêśŝíb̂íl̂ít̂ý"
|
|
1498
|
+
},
|
|
1499
|
+
"core/config/default-config.js | agenticBrowsingCategoryDescription": {
|
|
1500
|
+
"message": "T̂h́êśê ćĥéĉḱŝ én̂śûŕê h́îǵĥ-q́ûál̂ít̂ý, [b̂ŕôẃŝáb̂ĺê ẃêb́ŝít̂éŝ f́ôŕ ÂÍ âǵêńt̂ś](https://goo.gle/lighthouse-agentic-web) âńd̂ v́âĺîd́ât́ê t́ĥé ĉór̂ŕêćt̂ńêśŝ óf̂ Ẃêb́M̂ĆP̂ ín̂t́êǵr̂át̂íôńŝ. T́ĥíŝ ćât́êǵôŕŷ íŝ śt̂íl̂ĺ ûńd̂ér̂ d́êv́êĺôṕm̂én̂t́ âńd̂ śûb́ĵéĉt́ t̂ó ĉh́âńĝé."
|
|
1501
|
+
},
|
|
1502
|
+
"core/config/default-config.js | agenticBrowsingCategoryTitle": {
|
|
1503
|
+
"message": "Âǵêńt̂íĉ B́r̂óŵśîńĝ"
|
|
1504
|
+
},
|
|
1493
1505
|
"core/config/default-config.js | bestPracticesBrowserCompatGroupTitle": {
|
|
1494
1506
|
"message": "B̂ŕôẃŝér̂ Ćôḿp̂át̂íb̂íl̂ít̂ý"
|
|
1495
1507
|
},
|
|
@@ -1562,6 +1574,12 @@
|
|
|
1562
1574
|
"core/config/default-config.js | seoMobileGroupTitle": {
|
|
1563
1575
|
"message": "M̂ób̂íl̂é F̂ŕîén̂d́l̂ý"
|
|
1564
1576
|
},
|
|
1577
|
+
"core/config/default-config.js | webmcpGroupDescription": {
|
|
1578
|
+
"message": "Âúd̂ít̂ś v̂ál̂íd̂át̂ín̂ǵ Ŵéb̂ḾĈṔ îńt̂éĝŕât́îón̂."
|
|
1579
|
+
},
|
|
1580
|
+
"core/config/default-config.js | webmcpGroupTitle": {
|
|
1581
|
+
"message": "Ŵéb̂ḾĈṔ"
|
|
1582
|
+
},
|
|
1565
1583
|
"core/gather/driver/environment.js | warningSlowHostCpu": {
|
|
1566
1584
|
"message": "T̂h́ê t́êśt̂éd̂ d́êv́îćê áp̂ṕêár̂ś t̂ó ĥáv̂é â śl̂óŵér̂ ĆP̂Ú t̂h́âń L̂íĝh́t̂h́ôúŝé êx́p̂éĉt́ŝ. T́ĥíŝ ćâń n̂éĝát̂ív̂él̂ý âf́f̂éĉt́ ŷóûŕ p̂ér̂f́ôŕm̂án̂ćê śĉór̂é. L̂éâŕn̂ ḿôŕê áb̂óût́ [ĉál̂íb̂ŕât́îńĝ án̂ áp̂ṕr̂óp̂ŕîát̂é ĈṔÛ śl̂óŵd́ôẃn̂ ḿûĺt̂íp̂ĺîér̂](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md#cpu-throttling)."
|
|
1567
1585
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
ReportGenerator: () => ReportGenerator
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
// replace-modules:/usr/local/google/home/lusazhan/Git/lighthouse
|
|
38
|
+
// replace-modules:/usr/local/google/home/lusazhan/Git/lighthouse/report/generator/flow-report-assets.js
|
|
39
39
|
var flowReportAssets = {};
|
|
40
40
|
|
|
41
41
|
// report/generator/report-assets.js
|
|
@@ -134,6 +134,7 @@ export class AiCodeCompletionProvider {
|
|
|
134
134
|
if (!this.#aiCodeCompletionSetting.get() && !this.#aiCodeCompletionTeaserDismissedSetting.get()) {
|
|
135
135
|
this.#teaser = new PanelCommon.AiCodeCompletionTeaser({
|
|
136
136
|
onDetach: () => this.#detachTeaser.bind(this),
|
|
137
|
+
panel: this.#aiCodeCompletionConfig?.panel,
|
|
137
138
|
});
|
|
138
139
|
this.#editor.editor.dispatch(
|
|
139
140
|
{effects: this.#teaserCompartment.reconfigure([aiCodeCompletionTeaserExtension(this.#teaser)])});
|
|
@@ -320,7 +321,12 @@ export class AiCodeCompletionProvider {
|
|
|
320
321
|
const startTime = performance.now();
|
|
321
322
|
this.#aiCodeCompletionConfig?.onRequestTriggered();
|
|
322
323
|
// Registering AiCodeCompletionRequestTriggered metric even if the request is served from cache
|
|
323
|
-
|
|
324
|
+
const panel = this.#aiCodeCompletionConfig?.panel;
|
|
325
|
+
if (panel === AiCodeCompletion.AiCodeCompletion.ContextFlavor.CONSOLE) {
|
|
326
|
+
Host.userMetrics.actionTaken(Host.UserMetrics.Action.AiCodeCompletionRequestTriggeredFromConsole);
|
|
327
|
+
} else if (panel === AiCodeCompletion.AiCodeCompletion.ContextFlavor.SOURCES) {
|
|
328
|
+
Host.userMetrics.actionTaken(Host.UserMetrics.Action.AiCodeCompletionRequestTriggeredFromSources);
|
|
329
|
+
}
|
|
324
330
|
|
|
325
331
|
try {
|
|
326
332
|
const completionResponse = await this.#aiCodeCompletion.completeCode(
|
|
@@ -6,7 +6,7 @@ import * as Common from '../../../core/common/common.js';
|
|
|
6
6
|
import * as Host from '../../../core/host/host.js';
|
|
7
7
|
import * as i18n from '../../../core/i18n/i18n.js';
|
|
8
8
|
import * as Root from '../../../core/root/root.js';
|
|
9
|
-
import
|
|
9
|
+
import * as AiCodeCompletion from '../../../models/ai_code_completion/ai_code_completion.js';
|
|
10
10
|
import * as AiCodeGeneration from '../../../models/ai_code_generation/ai_code_generation.js';
|
|
11
11
|
import * as PanelCommon from '../../../panels/common/common.js';
|
|
12
12
|
import * as CodeMirror from '../../../third_party/codemirror.next/codemirror.next.js';
|
|
@@ -220,6 +220,13 @@ export class AiCodeGenerationProvider {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
void VisualLogging.logKeyDown(event.currentTarget, event, 'ai-code-generation.triggered');
|
|
223
|
+
if (this.#aiCodeGenerationConfig?.panel === AiCodeCompletion.AiCodeCompletion.ContextFlavor.CONSOLE) {
|
|
224
|
+
Host.userMetrics.actionTaken(Host.UserMetrics.Action.AiCodeGenerationRequestTriggeredFromConsole);
|
|
225
|
+
void VisualLogging.logKeyDown(event.currentTarget, event, 'ai-code-generation.triggered-from-console');
|
|
226
|
+
} else if (this.#aiCodeGenerationConfig?.panel === AiCodeCompletion.AiCodeCompletion.ContextFlavor.SOURCES) {
|
|
227
|
+
Host.userMetrics.actionTaken(Host.UserMetrics.Action.AiCodeGenerationRequestTriggeredFromSources);
|
|
228
|
+
void VisualLogging.logKeyDown(event.currentTarget, event, 'ai-code-generation.triggered-from-sources');
|
|
229
|
+
}
|
|
223
230
|
void this.#triggerAiCodeGeneration({signal: this.#controller.signal});
|
|
224
231
|
}
|
|
225
232
|
|
|
@@ -102,62 +102,6 @@ export class Performance {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
let memoryInstance: Memory;
|
|
106
|
-
|
|
107
|
-
// Note: this is used only by LiveHeapProfile (a drawer panel) if the experiment is enabled.
|
|
108
|
-
export class Memory {
|
|
109
|
-
private readonly helper: Helper;
|
|
110
|
-
private constructor() {
|
|
111
|
-
this.helper = new Helper(Workspace.UISourceCode.DecoratorType.MEMORY);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
static instance(opts: {
|
|
115
|
-
forceNew: boolean|null,
|
|
116
|
-
} = {forceNew: null}): Memory {
|
|
117
|
-
const {forceNew} = opts;
|
|
118
|
-
if (!memoryInstance || forceNew) {
|
|
119
|
-
memoryInstance = new Memory();
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return memoryInstance;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
reset(): void {
|
|
126
|
-
this.helper.reset();
|
|
127
|
-
void this.helper.update();
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
initialize(profilesAndTargets: Array<{
|
|
131
|
-
profile: Protocol.HeapProfiler.SamplingHeapProfile,
|
|
132
|
-
target: SDK.Target.Target,
|
|
133
|
-
}>): void {
|
|
134
|
-
this.helper.reset();
|
|
135
|
-
for (const {profile, target} of profilesAndTargets) {
|
|
136
|
-
this.appendHeapProfile(profile, target);
|
|
137
|
-
}
|
|
138
|
-
void this.helper.update();
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
private appendHeapProfile(profile: Protocol.HeapProfiler.SamplingHeapProfile, target: SDK.Target.Target|null): void {
|
|
142
|
-
const helper = this.helper;
|
|
143
|
-
processNode(profile.head);
|
|
144
|
-
|
|
145
|
-
function processNode(node: Protocol.HeapProfiler.SamplingHeapProfileNode): void {
|
|
146
|
-
node.children.forEach(processNode);
|
|
147
|
-
if (!node.selfSize) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
const script = Number(node.callFrame.scriptId) || node.callFrame.url as Platform.DevToolsPath.UrlString;
|
|
151
|
-
if (!script) {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
const line = node.callFrame.lineNumber + 1;
|
|
155
|
-
const column = node.callFrame.columnNumber + 1;
|
|
156
|
-
helper.addLocationData(target, script, {line, column}, node.selfSize);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
105
|
export class Helper {
|
|
162
106
|
private readonly type: Workspace.UISourceCode.DecoratorType;
|
|
163
107
|
private readonly locationPool = new Bindings.LiveLocation.LiveLocationPool();
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import * as Common from '../../../../core/common/common.js';
|
|
6
6
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
|
7
|
-
import * as Root from '../../../../core/root/root.js';
|
|
8
7
|
import * as UI from '../../legacy.js';
|
|
9
8
|
|
|
10
9
|
import type * as PerfUI from './perf_ui.js';
|
|
@@ -24,21 +23,6 @@ const UIStrings = {
|
|
|
24
23
|
* @description Classic navigation option in the Performance Panel.
|
|
25
24
|
*/
|
|
26
25
|
classic: 'Classic',
|
|
27
|
-
/**
|
|
28
|
-
* @description Title of a setting under the Memory category in Settings. Live memory is memory
|
|
29
|
-
* that is still in-use by the program (not dead). Allocation of live memory is when the program
|
|
30
|
-
* creates new memory. This is a setting that turns on extra annotations in the UI to mark these
|
|
31
|
-
* allocations.
|
|
32
|
-
*/
|
|
33
|
-
liveMemoryAllocationAnnotations: 'Live memory allocation annotations',
|
|
34
|
-
/**
|
|
35
|
-
* @description Title of a setting under the Memory category that can be invoked through the Command Menu
|
|
36
|
-
*/
|
|
37
|
-
showLiveMemoryAllocation: 'Show live memory allocation annotations',
|
|
38
|
-
/**
|
|
39
|
-
* @description Title of a setting under the Memory category that can be invoked through the Command Menu
|
|
40
|
-
*/
|
|
41
|
-
hideLiveMemoryAllocation: 'Hide live memory allocation annotations',
|
|
42
26
|
/**
|
|
43
27
|
* @description Title of an action in the components tool to collect garbage
|
|
44
28
|
*/
|
|
@@ -88,22 +72,3 @@ Common.Settings.registerSettingExtension({
|
|
|
88
72
|
},
|
|
89
73
|
],
|
|
90
74
|
});
|
|
91
|
-
|
|
92
|
-
Common.Settings.registerSettingExtension({
|
|
93
|
-
category: Common.Settings.SettingCategory.MEMORY,
|
|
94
|
-
experiment: Root.ExperimentNames.ExperimentName.LIVE_HEAP_PROFILE,
|
|
95
|
-
title: i18nLazyString(UIStrings.liveMemoryAllocationAnnotations),
|
|
96
|
-
settingName: 'memory-live-heap-profile',
|
|
97
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
98
|
-
defaultValue: false,
|
|
99
|
-
options: [
|
|
100
|
-
{
|
|
101
|
-
value: true,
|
|
102
|
-
title: i18nLazyString(UIStrings.showLiveMemoryAllocation),
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
value: false,
|
|
106
|
-
title: i18nLazyString(UIStrings.hideLiveMemoryAllocation),
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
});
|
|
@@ -9,7 +9,6 @@ import * as FlameChart from './FlameChart.js';
|
|
|
9
9
|
import * as Font from './Font.js';
|
|
10
10
|
import * as GCActionDelegate from './GCActionDelegate.js';
|
|
11
11
|
import * as LineLevelProfile from './LineLevelProfile.js';
|
|
12
|
-
import * as LiveHeapProfile from './LiveHeapProfile.js';
|
|
13
12
|
import * as NetworkPriorities from './NetworkPriorities.js';
|
|
14
13
|
import * as OverviewGrid from './OverviewGrid.js';
|
|
15
14
|
import * as PieChart from './PieChart.js';
|
|
@@ -25,7 +24,6 @@ export {
|
|
|
25
24
|
Font,
|
|
26
25
|
GCActionDelegate,
|
|
27
26
|
LineLevelProfile,
|
|
28
|
-
LiveHeapProfile,
|
|
29
27
|
NetworkPriorities,
|
|
30
28
|
OverviewGrid,
|
|
31
29
|
PieChart,
|
|
@@ -2504,6 +2504,7 @@ export const knownContextValues = new Set([
|
|
|
2504
2504
|
'lighthouse.audit.work-during-interaction',
|
|
2505
2505
|
'lighthouse.cancel',
|
|
2506
2506
|
'lighthouse.cat-a11y',
|
|
2507
|
+
'lighthouse.cat-agentic-browsing',
|
|
2507
2508
|
'lighthouse.cat-best-practices',
|
|
2508
2509
|
'lighthouse.cat-perf',
|
|
2509
2510
|
'lighthouse.cat-seo',
|
package/package.json
CHANGED