chrome-devtools-mcp 0.9.0 → 0.10.0
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/README.md +14 -9
- package/build/node_modules/chrome-devtools-frontend/front_end/core/common/Console.js +1 -8
- package/build/node_modules/chrome-devtools-frontend/front_end/core/common/ParsedURL.js +10 -20
- package/build/node_modules/chrome-devtools-frontend/front_end/core/common/SegmentedRange.js +1 -2
- package/build/node_modules/chrome-devtools-frontend/front_end/core/common/Settings.js +3 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/core/common/StringOutputStream.js +1 -4
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/AidaClient.js +19 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/DispatchHttpRequestClient.js +54 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/GdpClient.js +6 -51
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/InspectorFrontendHost.js +2 -2
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/InspectorFrontendHostAPI.js +32 -29
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/UserMetrics.js +14 -6
- package/build/node_modules/chrome-devtools-frontend/front_end/core/host/host.js +2 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/core/protocol_client/CDPConnection.js +17 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/core/protocol_client/InspectorBackend.js +68 -188
- package/build/node_modules/chrome-devtools-frontend/front_end/core/protocol_client/protocol_client.js +2 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/AnimationModel.js +1 -2
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/CSSMatchedStyles.js +3 -3
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/CSSModel.js +1 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/CSSProperty.js +3 -6
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/CSSPropertyParserMatchers.js +14 -10
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/CSSStyleDeclaration.js +4 -4
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/ChildTargetManager.js +5 -33
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/Connections.js +9 -46
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/DOMModel.js +1 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/DebuggerModel.js +1 -2
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/EnhancedTracesParser.js +17 -3
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/NetworkManager.js +59 -37
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/NetworkRequest.js +5 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/RehydratingConnection.js +102 -4
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/SourceMap.js +2 -3
- package/build/node_modules/chrome-devtools-frontend/front_end/core/sdk/sdk-meta.js +8 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/generated/InspectorBackendCommands.js +1 -39
- package/build/node_modules/chrome-devtools-frontend/front_end/generated/SupportedCSSProperties.js +58 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.js +46 -45
- package/build/node_modules/chrome-devtools-frontend/front_end/models/ai_assistance/performance/AIContext.js +10 -25
- package/build/node_modules/chrome-devtools-frontend/front_end/models/bindings/CompilerScriptMapping.js +1 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/models/bindings/DebuggerWorkspaceBinding.js +1 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/models/cpu_profile/ProfileTreeModel.js +6 -7
- package/build/node_modules/chrome-devtools-frontend/front_end/models/stack_trace/StackTraceModel.js +1 -1
- package/build/node_modules/chrome-devtools-frontend/front_end/models/trace/handlers/NetworkRequestsHandler.js +12 -3
- package/build/node_modules/chrome-devtools-frontend/front_end/models/trace/types/TraceEvents.js +3 -0
- package/build/node_modules/chrome-devtools-frontend/front_end/models/trace_source_maps_resolver/SourceMapsResolver.js +1 -1
- package/build/node_modules/chrome-devtools-frontend/mcp/mcp.js +14 -0
- package/build/src/DevToolsConnectionAdapter.js +1 -0
- package/build/src/DevtoolsUtils.js +44 -0
- package/build/src/McpContext.js +117 -7
- package/build/src/McpResponse.js +32 -21
- package/build/src/PageCollector.js +21 -9
- package/build/src/browser.js +8 -8
- package/build/src/cli.js +8 -3
- package/build/src/formatters/networkFormatter.js +2 -2
- package/build/src/formatters/snapshotFormatter.js +18 -6
- package/build/src/main.js +7 -2
- package/build/src/third_party/THIRD_PARTY_NOTICES +72 -52
- package/build/src/third_party/index.js +12684 -6052
- package/build/src/tools/emulation.js +37 -44
- package/build/src/tools/input.js +36 -6
- package/build/src/tools/network.js +27 -5
- package/build/src/tools/pages.js +59 -33
- package/build/src/tools/performance.js +5 -2
- package/build/src/tools/screenshot.js +2 -1
- package/build/src/tools/snapshot.js +13 -4
- package/build/src/trace-processing/parse.js +6 -16
- package/build/src/utils/keyboard.js +291 -0
- package/package.json +7 -6
|
@@ -421,7 +421,7 @@ SOFTWARE.
|
|
|
421
421
|
|
|
422
422
|
Name: @modelcontextprotocol/sdk
|
|
423
423
|
URL: https://modelcontextprotocol.io
|
|
424
|
-
Version: 1.
|
|
424
|
+
Version: 1.21.0
|
|
425
425
|
License: MIT
|
|
426
426
|
|
|
427
427
|
MIT License
|
|
@@ -449,34 +449,14 @@ SOFTWARE.
|
|
|
449
449
|
|
|
450
450
|
-------------------- DEPENDENCY DIVIDER --------------------
|
|
451
451
|
|
|
452
|
-
Name:
|
|
453
|
-
URL: https://
|
|
454
|
-
Version:
|
|
455
|
-
License: BSD-2-Clause
|
|
456
|
-
|
|
457
|
-
Copyright 2011 Gary Court. All rights reserved.
|
|
458
|
-
|
|
459
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
460
|
-
|
|
461
|
-
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
462
|
-
|
|
463
|
-
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
464
|
-
|
|
465
|
-
THIS SOFTWARE IS PROVIDED BY GARY COURT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
466
|
-
|
|
467
|
-
The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Gary Court.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
-------------------- DEPENDENCY DIVIDER --------------------
|
|
471
|
-
|
|
472
|
-
Name: fast-deep-equal
|
|
473
|
-
URL: https://github.com/epoberezkin/fast-deep-equal#readme
|
|
474
|
-
Version: 3.1.3
|
|
452
|
+
Name: ajv
|
|
453
|
+
URL: https://ajv.js.org
|
|
454
|
+
Version: 8.17.1
|
|
475
455
|
License: MIT
|
|
476
456
|
|
|
477
|
-
MIT License
|
|
457
|
+
The MIT License (MIT)
|
|
478
458
|
|
|
479
|
-
Copyright (c)
|
|
459
|
+
Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
480
460
|
|
|
481
461
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
482
462
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -497,16 +477,17 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
497
477
|
SOFTWARE.
|
|
498
478
|
|
|
499
479
|
|
|
480
|
+
|
|
500
481
|
-------------------- DEPENDENCY DIVIDER --------------------
|
|
501
482
|
|
|
502
|
-
Name:
|
|
503
|
-
URL: https://github.com/
|
|
504
|
-
Version:
|
|
483
|
+
Name: fast-deep-equal
|
|
484
|
+
URL: https://github.com/epoberezkin/fast-deep-equal#readme
|
|
485
|
+
Version: 3.1.3
|
|
505
486
|
License: MIT
|
|
506
487
|
|
|
507
|
-
|
|
488
|
+
MIT License
|
|
508
489
|
|
|
509
|
-
Copyright (c)
|
|
490
|
+
Copyright (c) 2017 Evgeny Poberezkin
|
|
510
491
|
|
|
511
492
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
512
493
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -527,12 +508,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
527
508
|
SOFTWARE.
|
|
528
509
|
|
|
529
510
|
|
|
530
|
-
|
|
531
511
|
-------------------- DEPENDENCY DIVIDER --------------------
|
|
532
512
|
|
|
533
513
|
Name: json-schema-traverse
|
|
534
514
|
URL: https://github.com/epoberezkin/json-schema-traverse#readme
|
|
535
|
-
Version: 0.
|
|
515
|
+
Version: 1.0.0
|
|
536
516
|
License: MIT
|
|
537
517
|
|
|
538
518
|
MIT License
|
|
@@ -560,32 +540,72 @@ SOFTWARE.
|
|
|
560
540
|
|
|
561
541
|
-------------------- DEPENDENCY DIVIDER --------------------
|
|
562
542
|
|
|
563
|
-
Name: fast-
|
|
564
|
-
URL: https://github.com/
|
|
565
|
-
Version:
|
|
543
|
+
Name: fast-uri
|
|
544
|
+
URL: https://github.com/fastify/fast-uri
|
|
545
|
+
Version: 3.1.0
|
|
546
|
+
License: BSD-3-Clause
|
|
547
|
+
|
|
548
|
+
Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
|
|
549
|
+
Copyright (c) 2021-present The Fastify team
|
|
550
|
+
All rights reserved.
|
|
551
|
+
|
|
552
|
+
The Fastify team members are listed at https://github.com/fastify/fastify#team.
|
|
553
|
+
|
|
554
|
+
Redistribution and use in source and binary forms, with or without
|
|
555
|
+
modification, are permitted provided that the following conditions are met:
|
|
556
|
+
* Redistributions of source code must retain the above copyright
|
|
557
|
+
notice, this list of conditions and the following disclaimer.
|
|
558
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
559
|
+
notice, this list of conditions and the following disclaimer in the
|
|
560
|
+
documentation and/or other materials provided with the distribution.
|
|
561
|
+
* The names of any contributors may not be used to endorse or promote
|
|
562
|
+
products derived from this software without specific prior written
|
|
563
|
+
permission.
|
|
564
|
+
|
|
565
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
566
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
567
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
568
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
569
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
570
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
571
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
572
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
573
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
574
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
575
|
+
|
|
576
|
+
* * *
|
|
577
|
+
|
|
578
|
+
The complete list of contributors can be found at:
|
|
579
|
+
- https://github.com/garycourt/uri-js/graphs/contributors
|
|
580
|
+
|
|
581
|
+
-------------------- DEPENDENCY DIVIDER --------------------
|
|
582
|
+
|
|
583
|
+
Name: ajv-formats
|
|
584
|
+
URL: https://github.com/ajv-validator/ajv-formats#readme
|
|
585
|
+
Version: 3.0.1
|
|
566
586
|
License: MIT
|
|
567
587
|
|
|
568
|
-
|
|
588
|
+
MIT License
|
|
569
589
|
|
|
570
|
-
Copyright (c)
|
|
571
|
-
Copyright (c) 2013 James Halliday
|
|
590
|
+
Copyright (c) 2020 Evgeny Poberezkin
|
|
572
591
|
|
|
573
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
574
|
-
this software and associated documentation files (the "Software"), to deal
|
|
575
|
-
the Software without restriction, including without limitation the rights
|
|
576
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
577
|
-
the Software, and to permit persons to whom the Software is
|
|
578
|
-
subject to the following conditions:
|
|
592
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
593
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
594
|
+
in the Software without restriction, including without limitation the rights
|
|
595
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
596
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
597
|
+
furnished to do so, subject to the following conditions:
|
|
579
598
|
|
|
580
599
|
The above copyright notice and this permission notice shall be included in all
|
|
581
600
|
copies or substantial portions of the Software.
|
|
582
601
|
|
|
583
602
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
584
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
585
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
586
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
587
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
588
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
603
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
604
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
605
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
606
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
607
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
608
|
+
SOFTWARE.
|
|
589
609
|
|
|
590
610
|
|
|
591
611
|
-------------------- DEPENDENCY DIVIDER --------------------
|
|
@@ -615,14 +635,14 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
615
635
|
|
|
616
636
|
Name: puppeteer-core
|
|
617
637
|
URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
|
|
618
|
-
Version: 24.
|
|
638
|
+
Version: 24.29.0
|
|
619
639
|
License: Apache-2.0
|
|
620
640
|
|
|
621
641
|
-------------------- DEPENDENCY DIVIDER --------------------
|
|
622
642
|
|
|
623
643
|
Name: @puppeteer/browsers
|
|
624
644
|
URL: https://github.com/puppeteer/puppeteer/tree/main/packages/browsers
|
|
625
|
-
Version: 2.10.
|
|
645
|
+
Version: 2.10.13
|
|
626
646
|
License: Apache-2.0
|
|
627
647
|
|
|
628
648
|
-------------------- DEPENDENCY DIVIDER --------------------
|