chrome-devtools-frontend 1.0.1654411 → 1.0.1656291
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/.agents/skills/ui-eng-vision-local-lit-renderer/SKILL.md +116 -0
- package/.agents/skills/ui-eng-vision-logic-consolidator/SKILL.md +82 -0
- package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +123 -0
- package/.agents/skills/ui-eng-vision-test-scaffolder/SKILL.md +125 -0
- package/.agents/skills/ui-eng-vision-widget-promoter/SKILL.md +75 -0
- package/AUTHORS +1 -0
- package/config/owner/COMMON_OWNERS +0 -4
- package/docs/playbook.md +1 -1
- package/front_end/Tests.js +1 -0
- package/front_end/core/common/Settings.ts +47 -30
- package/front_end/core/sdk/CPUThrottlingManager.ts +10 -159
- package/front_end/core/sdk/ConsoleModel.ts +13 -11
- package/front_end/core/sdk/DOMDebuggerModel.ts +11 -5
- package/front_end/core/sdk/EventBreakpointsModel.ts +9 -5
- package/front_end/core/sdk/IsolateManager.ts +6 -6
- package/front_end/core/sdk/ResourceTreeModel.ts +5 -3
- package/front_end/core/sdk/TargetManager.ts +17 -0
- package/front_end/entrypoints/devtools_app/devtools_app.ts +0 -1
- package/front_end/entrypoints/main/MainImpl.ts +12 -36
- package/front_end/foundation/Universe.ts +98 -3
- package/front_end/generated/InspectorBackendCommands.ts +5 -1
- package/front_end/generated/SupportedCSSProperties.js +2 -6
- package/front_end/generated/protocol-mapping.d.ts +8 -0
- package/front_end/generated/protocol-proxy-api.d.ts +15 -0
- package/front_end/generated/protocol.ts +36 -1
- package/front_end/models/ai_assistance/AiConversation.ts +0 -6
- package/front_end/models/ai_assistance/agents/NetworkAgent.snapshot.txt +1 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +2 -156
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +0 -24
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +2 -358
- package/front_end/models/ai_assistance/ai_assistance.ts +0 -6
- package/front_end/models/ai_assistance/contexts/RequestContext.snapshot.txt +0 -1
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +0 -2
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +1 -14
- package/front_end/models/autofill_manager/AutofillManager.ts +1 -2
- package/front_end/models/javascript_metadata/NativeFunctions.js +1 -1
- package/front_end/models/persistence/AutomaticFileSystemManager.ts +14 -13
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +12 -9
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +18 -9
- package/front_end/models/project_settings/ProjectSettingsModel.ts +12 -11
- package/front_end/models/trace/handlers/ScreenshotsHandler.ts +14 -59
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +3 -29
- package/front_end/panels/application/DeviceBoundSessionsView.ts +15 -3
- package/front_end/panels/application/FrameDetailsView.ts +2 -1
- package/front_end/panels/application/ServiceWorkersView.ts +23 -16
- package/front_end/panels/common/CPUThrottlingOption.ts +142 -0
- package/front_end/panels/common/ThrottlingUtils.ts +9 -4
- package/front_end/panels/common/common.ts +1 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +45 -0
- package/front_end/panels/elements/ElementsPanel.ts +0 -74
- package/front_end/panels/elements/ElementsTreeOutline.ts +0 -4
- package/front_end/panels/emulation/DeviceModeToolbar.ts +46 -45
- package/front_end/panels/mobile_throttling/CalibrationController.ts +6 -5
- package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +40 -13
- package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +13 -17
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +15 -13
- package/front_end/panels/network/NetworkLogView.ts +0 -9
- package/front_end/panels/network/NetworkPanel.ts +1 -63
- package/front_end/panels/network/RequestInitiatorView.ts +29 -4
- package/front_end/panels/network/components/HeaderSectionRow.css +9 -7
- package/front_end/panels/network/components/HeaderSectionRow.ts +20 -1
- package/front_end/panels/network/components/RequestHeaderSection.css +5 -3
- package/front_end/panels/network/components/RequestHeaderSection.ts +1 -2
- package/front_end/panels/network/components/RequestHeadersView.css +1 -1
- package/front_end/panels/security/SecurityPanel.ts +36 -23
- package/front_end/panels/settings/SettingsScreen.ts +18 -103
- package/front_end/panels/settings/settings-meta.ts +0 -24
- package/front_end/panels/timeline/TimelineController.ts +3 -2
- package/front_end/panels/timeline/TimelinePanel.ts +20 -3
- package/front_end/panels/timeline/components/CPUThrottlingSelector.ts +15 -14
- package/front_end/panels/timeline/timelineFlamechartPopover.css +2 -0
- package/front_end/panels/utils/utils.ts +25 -24
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +34 -55
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +96 -83
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/CDPSession.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPResponse.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Realm.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Realm.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Target.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Target.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/locators/locators.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/locators/locators.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPResponse.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/Realm.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/Realm.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.js +23 -13
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPResponse.js +4 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Input.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts +3 -41
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js +4 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/LaunchOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/httpUtils.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/httpUtils.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/httpUtils.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/httpUtils.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +34 -55
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +13 -1
- package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +2 -3
- package/front_end/third_party/puppeteer/package/src/api/CDPSession.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/api/HTTPResponse.ts +3 -2
- package/front_end/third_party/puppeteer/package/src/api/Realm.ts +1 -2
- package/front_end/third_party/puppeteer/package/src/api/Target.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +1 -2
- package/front_end/third_party/puppeteer/package/src/bidi/HTTPResponse.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/bidi/core/Realm.ts +1 -3
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +13 -3
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +24 -13
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +4 -1
- package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/LifecycleWatcher.ts +1 -4
- package/front_end/third_party/puppeteer/package/src/cdp/Target.ts +2 -4
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +7 -76
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +1 -4
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +4 -1
- package/front_end/third_party/puppeteer/package/src/node/LaunchOptions.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/revisions.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/util/httpUtils.ts +5 -5
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/puppeteer/third_party/parsel/README.chromium +1 -1
- package/front_end/ui/components/dialogs/Dialog.ts +3 -0
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +0 -7
- package/front_end/ui/helpers/OpenInNewTab.ts +15 -7
- package/front_end/ui/legacy/TabbedPane.ts +1 -108
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +9 -0
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +172 -123
- package/front_end/ui/legacy/components/data_grid/DataGridExporter.ts +89 -0
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +10 -0
- package/front_end/ui/legacy/components/data_grid/data_grid.ts +3 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +89 -40
- package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
- package/package.json +1 -1
- package/front_end/Images/navigationControls.png +0 -0
- package/front_end/Images/navigationControls_2x.png +0 -0
- package/front_end/Images/popoverArrows.png +0 -0
- package/front_end/entrypoints/greendev_floaty/FloatyEntrypoint.ts +0 -746
- package/front_end/entrypoints/greendev_floaty/floaty.css +0 -301
- package/front_end/entrypoints/greendev_floaty/floaty.html +0 -38
- package/front_end/entrypoints/greendev_floaty/greendev_floaty.ts +0 -415
- package/front_end/models/ai_assistance/agents/GreenDevAgent.ts +0 -834
- package/front_end/models/ai_assistance/agents/GreenDevAgentAntigravityCliSocketClient.ts +0 -53
- package/front_end/models/ai_assistance/agents/GreenDevAgentGeminiCliSocketClient.ts +0 -117
- package/front_end/models/annotations/AnnotationRepository.ts +0 -238
- package/front_end/models/annotations/AnnotationType.ts +0 -10
- package/front_end/models/annotations/README.md +0 -7
- package/front_end/models/annotations/annotations.ts +0 -6
- package/front_end/models/greendev/Prototypes.ts +0 -68
- package/front_end/models/greendev/README.md +0 -5
- package/front_end/models/greendev/greendev.ts +0 -5
- package/front_end/panels/common/Annotation.ts +0 -184
- package/front_end/panels/common/AnnotationManager.ts +0 -208
- package/front_end/panels/common/annotation.css +0 -40
- package/front_end/panels/greendev/GreenDevPanel.css +0 -282
- package/front_end/panels/greendev/GreenDevPanel.ts +0 -364
- package/front_end/panels/greendev/GreenDevShared.ts +0 -13
- package/front_end/panels/greendev/greendev-meta.ts +0 -52
- package/front_end/panels/greendev/greendev.ts +0 -9
|
@@ -559,7 +559,10 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
|
|
|
559
559
|
/**
|
|
560
560
|
* Installs an extension and returns the ID.
|
|
561
561
|
*/
|
|
562
|
-
abstract installExtension(
|
|
562
|
+
abstract installExtension(
|
|
563
|
+
path: string,
|
|
564
|
+
options?: ExtensionInstallOptions,
|
|
565
|
+
): Promise<string>;
|
|
563
566
|
/**
|
|
564
567
|
* Uninstalls an extension.
|
|
565
568
|
*/
|
|
@@ -919,7 +922,9 @@ export declare abstract class BrowserLauncher {
|
|
|
919
922
|
* @public
|
|
920
923
|
*/
|
|
921
924
|
export declare type CDPEvents = {
|
|
922
|
-
[
|
|
925
|
+
[
|
|
926
|
+
Property in keyof ProtocolMapping.Events
|
|
927
|
+
]: ProtocolMapping.Events[Property][0];
|
|
923
928
|
};
|
|
924
929
|
|
|
925
930
|
/**
|
|
@@ -1042,10 +1047,7 @@ export declare interface ChromeHeadlessShellSettings {
|
|
|
1042
1047
|
* @public
|
|
1043
1048
|
*/
|
|
1044
1049
|
export declare type ChromeReleaseChannel =
|
|
1045
|
-
| 'chrome'
|
|
1046
|
-
| 'chrome-beta'
|
|
1047
|
-
| 'chrome-canary'
|
|
1048
|
-
| 'chrome-dev';
|
|
1050
|
+
'chrome' | 'chrome-beta' | 'chrome-canary' | 'chrome-dev';
|
|
1049
1051
|
|
|
1050
1052
|
/**
|
|
1051
1053
|
* @public
|
|
@@ -2122,10 +2124,7 @@ export declare interface DownloadBehavior {
|
|
|
2122
2124
|
* @public
|
|
2123
2125
|
*/
|
|
2124
2126
|
export declare type DownloadPolicy =
|
|
2125
|
-
| '
|
|
2126
|
-
| 'allow'
|
|
2127
|
-
| 'allowAndName'
|
|
2128
|
-
| 'default';
|
|
2127
|
+
'deny' | 'allow' | 'allowAndName' | 'default';
|
|
2129
2128
|
|
|
2130
2129
|
/**
|
|
2131
2130
|
* @public
|
|
@@ -2910,6 +2909,16 @@ export declare abstract class Extension {
|
|
|
2910
2909
|
abstract triggerAction(page: Page): Promise<void>;
|
|
2911
2910
|
}
|
|
2912
2911
|
|
|
2912
|
+
/**
|
|
2913
|
+
* @public
|
|
2914
|
+
*/
|
|
2915
|
+
export declare interface ExtensionInstallOptions {
|
|
2916
|
+
/**
|
|
2917
|
+
* Whether to enable the extension in Incognito or OTR profiles in Chrome.
|
|
2918
|
+
*/
|
|
2919
|
+
enabledInIncognito: boolean;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2913
2922
|
/**
|
|
2914
2923
|
* Experimental ExtensionTransport allows establishing a connection via
|
|
2915
2924
|
* chrome.debugger API if Puppeteer runs in an extension. Since Chrome
|
|
@@ -4069,8 +4078,9 @@ export declare abstract class HTTPResponse {
|
|
|
4069
4078
|
*/
|
|
4070
4079
|
abstract statusText(): string;
|
|
4071
4080
|
/**
|
|
4072
|
-
* An object with HTTP headers associated with the response. All
|
|
4073
|
-
*
|
|
4081
|
+
* An object with HTTP headers associated with the response. All header names
|
|
4082
|
+
* are lower-case. Duplicate header values are combined into a single
|
|
4083
|
+
* comma-separated list except for `Set-Cookie` that is separated by `\n`.
|
|
4074
4084
|
*/
|
|
4075
4085
|
abstract headers(): Record<string, string>;
|
|
4076
4086
|
/**
|
|
@@ -4989,6 +4999,11 @@ export declare interface LaunchOptions extends ConnectOptions {
|
|
|
4989
4999
|
* load the provided paths as unpacked extensions.
|
|
4990
5000
|
*/
|
|
4991
5001
|
enableExtensions?: boolean | string[];
|
|
5002
|
+
/**
|
|
5003
|
+
* List of extensions that will be enable in Incognito and off-the-record
|
|
5004
|
+
* profiles.
|
|
5005
|
+
*/
|
|
5006
|
+
extensionsEnabledInIncognito?: string[];
|
|
4992
5007
|
/**
|
|
4993
5008
|
* Close the browser process on `Ctrl+C`.
|
|
4994
5009
|
* @defaultValue `true`
|
|
@@ -8046,8 +8061,7 @@ export declare const PredefinedNetworkConditions: Readonly<{
|
|
|
8046
8061
|
* @public
|
|
8047
8062
|
*/
|
|
8048
8063
|
export declare type Predicate<From, To extends From = From> =
|
|
8049
|
-
|
|
8050
|
-
| ((value: From) => Awaitable<boolean>);
|
|
8064
|
+
((value: From) => value is To) | ((value: From) => Awaitable<boolean>);
|
|
8051
8065
|
|
|
8052
8066
|
export {Protocol};
|
|
8053
8067
|
|
|
@@ -8076,10 +8090,7 @@ export declare class ProtocolError extends PuppeteerError {
|
|
|
8076
8090
|
* @public
|
|
8077
8091
|
*/
|
|
8078
8092
|
export declare type ProtocolLifeCycleEvent =
|
|
8079
|
-
| '
|
|
8080
|
-
| 'DOMContentLoaded'
|
|
8081
|
-
| 'networkIdle'
|
|
8082
|
-
| 'networkAlmostIdle';
|
|
8093
|
+
'load' | 'DOMContentLoaded' | 'networkIdle' | 'networkAlmostIdle';
|
|
8083
8094
|
|
|
8084
8095
|
/**
|
|
8085
8096
|
* @public
|
|
@@ -8176,6 +8187,7 @@ declare namespace Puppeteer_2 {
|
|
|
8176
8187
|
ScreenInfo,
|
|
8177
8188
|
WorkAreaInsets,
|
|
8178
8189
|
AddScreenParams,
|
|
8190
|
+
ExtensionInstallOptions,
|
|
8179
8191
|
BrowserContextEvents,
|
|
8180
8192
|
CDPEvents,
|
|
8181
8193
|
CDPSessionEvents,
|
|
@@ -8250,8 +8262,6 @@ declare namespace Puppeteer_2 {
|
|
|
8250
8262
|
NetworkConditions,
|
|
8251
8263
|
InternalNetworkConditions,
|
|
8252
8264
|
TracingOptions,
|
|
8253
|
-
WebMCPAnnotation,
|
|
8254
|
-
WebMCPInvocationStatus,
|
|
8255
8265
|
WebMCPToolsAddedEvent,
|
|
8256
8266
|
WebMCPToolsRemovedEvent,
|
|
8257
8267
|
WebMCPToolCallResult,
|
|
@@ -9148,7 +9158,7 @@ export declare type SupportedWebDriverCapability = Exclude<
|
|
|
9148
9158
|
/**
|
|
9149
9159
|
* Target represents a
|
|
9150
9160
|
* {@link https://chromedevtools.github.io/devtools-protocol/tot/Target/ | CDP target}.
|
|
9151
|
-
* In CDP a target is something that can be debugged such a frame, a page or a
|
|
9161
|
+
* In CDP a target is something that can be debugged, such as a frame, a page or a
|
|
9152
9162
|
* worker.
|
|
9153
9163
|
* @public
|
|
9154
9164
|
*/
|
|
@@ -9551,34 +9561,6 @@ export declare class WebMCP extends EventEmitter<{
|
|
|
9551
9561
|
tools(): WebMCPTool[];
|
|
9552
9562
|
}
|
|
9553
9563
|
|
|
9554
|
-
/**
|
|
9555
|
-
* Tool annotations
|
|
9556
|
-
*
|
|
9557
|
-
* @public
|
|
9558
|
-
*/
|
|
9559
|
-
export declare interface WebMCPAnnotation {
|
|
9560
|
-
/**
|
|
9561
|
-
* A hint indicating that the tool does not modify any state.
|
|
9562
|
-
*/
|
|
9563
|
-
readOnly?: boolean;
|
|
9564
|
-
/**
|
|
9565
|
-
* A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd
|
|
9566
|
-
* party data.
|
|
9567
|
-
*/
|
|
9568
|
-
untrustedContent?: boolean;
|
|
9569
|
-
/**
|
|
9570
|
-
* If the declarative tool was declared with the autosubmit attribute.
|
|
9571
|
-
*/
|
|
9572
|
-
autosubmit?: boolean;
|
|
9573
|
-
}
|
|
9574
|
-
|
|
9575
|
-
/**
|
|
9576
|
-
* Represents the status of a tool invocation.
|
|
9577
|
-
*
|
|
9578
|
-
* @public
|
|
9579
|
-
*/
|
|
9580
|
-
export declare type WebMCPInvocationStatus = 'Completed' | 'Canceled' | 'Error';
|
|
9581
|
-
|
|
9582
9564
|
/**
|
|
9583
9565
|
* Represents a registered WebMCP tool available on the page.
|
|
9584
9566
|
*
|
|
@@ -9604,7 +9586,7 @@ export declare class WebMCPTool extends EventEmitter<{
|
|
|
9604
9586
|
/**
|
|
9605
9587
|
* Optional annotations for the tool.
|
|
9606
9588
|
*/
|
|
9607
|
-
annotations?:
|
|
9589
|
+
annotations?: Protocol.WebMCP.Annotation;
|
|
9608
9590
|
/**
|
|
9609
9591
|
* Frame the tool was defined for.
|
|
9610
9592
|
*/
|
|
@@ -9656,7 +9638,7 @@ export declare interface WebMCPToolCallResult {
|
|
|
9656
9638
|
/**
|
|
9657
9639
|
* Status of the invocation.
|
|
9658
9640
|
*/
|
|
9659
|
-
status:
|
|
9641
|
+
status: Protocol.WebMCP.InvocationStatus;
|
|
9660
9642
|
/**
|
|
9661
9643
|
* Output or error delivered as delivered to the agent. Missing if `status` is anything
|
|
9662
9644
|
* other than Completed.
|
|
@@ -9843,10 +9825,7 @@ export declare type WindowId = string;
|
|
|
9843
9825
|
* @public
|
|
9844
9826
|
*/
|
|
9845
9827
|
export declare type WindowState =
|
|
9846
|
-
| '
|
|
9847
|
-
| 'minimized'
|
|
9848
|
-
| 'maximized'
|
|
9849
|
-
| 'fullscreen';
|
|
9828
|
+
'normal' | 'minimized' | 'maximized' | 'fullscreen';
|
|
9850
9829
|
|
|
9851
9830
|
/**
|
|
9852
9831
|
* @public
|