devtools-protocol 0.0.1616338 → 0.0.1617982

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.
@@ -28665,6 +28665,12 @@
28665
28665
  "description": "Whether the target has an attached client.",
28666
28666
  "type": "boolean"
28667
28667
  },
28668
+ {
28669
+ "name": "parentId",
28670
+ "description": "Id of the parent target, if any. For example, \"iframe\" target may have a \"page\" parent.",
28671
+ "optional": true,
28672
+ "$ref": "TargetID"
28673
+ },
28668
28674
  {
28669
28675
  "name": "openerId",
28670
28676
  "description": "Opener target Id",
@@ -30757,6 +30763,23 @@
30757
30763
  "$ref": "Runtime.StackTrace"
30758
30764
  }
30759
30765
  ]
30766
+ },
30767
+ {
30768
+ "id": "RemovedTool",
30769
+ "description": "Definition of a tool that was removed.",
30770
+ "type": "object",
30771
+ "properties": [
30772
+ {
30773
+ "name": "name",
30774
+ "description": "Tool name.",
30775
+ "type": "string"
30776
+ },
30777
+ {
30778
+ "name": "frameId",
30779
+ "description": "Frame identifier associated with the tool registration.",
30780
+ "$ref": "Page.FrameId"
30781
+ }
30782
+ ]
30760
30783
  }
30761
30784
  ],
30762
30785
  "commands": [
@@ -30832,7 +30855,7 @@
30832
30855
  "description": "Array of tools that were removed.",
30833
30856
  "type": "array",
30834
30857
  "items": {
30835
- "$ref": "Tool"
30858
+ "$ref": "RemovedTool"
30836
30859
  }
30837
30860
  }
30838
30861
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1616338",
3
+ "version": "0.0.1617982",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -21,6 +21,8 @@ domain Target
21
21
  string url
22
22
  # Whether the target has an attached client.
23
23
  boolean attached
24
+ # Id of the parent target, if any. For example, "iframe" target may have a "page" parent.
25
+ optional TargetID parentId
24
26
  # Opener target Id
25
27
  optional TargetID openerId
26
28
  # Whether the target has access to the originating window.
@@ -76,11 +76,19 @@ experimental domain WebMCP
76
76
  # Array of tools that were added.
77
77
  array of Tool tools
78
78
 
79
+ # Definition of a tool that was removed.
80
+ type RemovedTool extends object
81
+ properties
82
+ # Tool name.
83
+ string name
84
+ # Frame identifier associated with the tool registration.
85
+ Page.FrameId frameId
86
+
79
87
  # Event fired when tools are removed.
80
88
  event toolsRemoved
81
89
  parameters
82
90
  # Array of tools that were removed.
83
- array of Tool tools
91
+ array of RemovedTool tools
84
92
 
85
93
  # Event fired when a tool invocation starts.
86
94
  event toolInvoked
@@ -20747,6 +20747,10 @@ export namespace Protocol {
20747
20747
  * Whether the target has an attached client.
20748
20748
  */
20749
20749
  attached: boolean;
20750
+ /**
20751
+ * Id of the parent target, if any. For example, "iframe" target may have a "page" parent.
20752
+ */
20753
+ parentId?: TargetID;
20750
20754
  /**
20751
20755
  * Opener target Id
20752
20756
  */
@@ -22079,6 +22083,20 @@ export namespace Protocol {
22079
22083
  stackTrace?: Runtime.StackTrace;
22080
22084
  }
22081
22085
 
22086
+ /**
22087
+ * Definition of a tool that was removed.
22088
+ */
22089
+ export interface RemovedTool {
22090
+ /**
22091
+ * Tool name.
22092
+ */
22093
+ name: string;
22094
+ /**
22095
+ * Frame identifier associated with the tool registration.
22096
+ */
22097
+ frameId: Page.FrameId;
22098
+ }
22099
+
22082
22100
  export interface InvokeToolRequest {
22083
22101
  /**
22084
22102
  * Frame in which to invoke the tool.
@@ -22125,7 +22143,7 @@ export namespace Protocol {
22125
22143
  /**
22126
22144
  * Array of tools that were removed.
22127
22145
  */
22128
- tools: Tool[];
22146
+ tools: RemovedTool[];
22129
22147
  }
22130
22148
 
22131
22149
  /**