devtools-protocol 0.0.1615727 → 0.0.1617013
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/json/browser_protocol.json +22 -1
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +4 -0
- package/pdl/domains/Target.pdl +2 -0
- package/pdl/domains/WebMCP.pdl +6 -0
- package/types/protocol-mapping.d.ts +7 -0
- package/types/protocol-proxy-api.d.ts +5 -0
- package/types/protocol-tests-proxy-api.d.ts +5 -0
- package/types/protocol.d.ts +12 -1
|
@@ -1773,7 +1773,11 @@
|
|
|
1773
1773
|
"AutofillAndManualTextPolicyControlledFeaturesInfo",
|
|
1774
1774
|
"AutofillPolicyControlledFeatureInfo",
|
|
1775
1775
|
"ManualTextPolicyControlledFeatureInfo",
|
|
1776
|
-
"FormModelContextParameterMissingTitleAndDescription"
|
|
1776
|
+
"FormModelContextParameterMissingTitleAndDescription",
|
|
1777
|
+
"FormModelContextMissingToolName",
|
|
1778
|
+
"FormModelContextMissingToolDescription",
|
|
1779
|
+
"FormModelContextRequiredParameterMissingName",
|
|
1780
|
+
"FormModelContextParameterMissingName"
|
|
1777
1781
|
]
|
|
1778
1782
|
},
|
|
1779
1783
|
{
|
|
@@ -28661,6 +28665,12 @@
|
|
|
28661
28665
|
"description": "Whether the target has an attached client.",
|
|
28662
28666
|
"type": "boolean"
|
|
28663
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
|
+
},
|
|
28664
28674
|
{
|
|
28665
28675
|
"name": "openerId",
|
|
28666
28676
|
"description": "Opener target Id",
|
|
@@ -30791,6 +30801,17 @@
|
|
|
30791
30801
|
"type": "string"
|
|
30792
30802
|
}
|
|
30793
30803
|
]
|
|
30804
|
+
},
|
|
30805
|
+
{
|
|
30806
|
+
"name": "cancelInvocation",
|
|
30807
|
+
"description": "Cancels a pending tool invocation.",
|
|
30808
|
+
"parameters": [
|
|
30809
|
+
{
|
|
30810
|
+
"name": "invocationId",
|
|
30811
|
+
"description": "Invocation identifier to cancel.",
|
|
30812
|
+
"type": "string"
|
|
30813
|
+
}
|
|
30814
|
+
]
|
|
30794
30815
|
}
|
|
30795
30816
|
],
|
|
30796
30817
|
"events": [
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -429,6 +429,10 @@ experimental domain Audits
|
|
|
429
429
|
AutofillPolicyControlledFeatureInfo
|
|
430
430
|
ManualTextPolicyControlledFeatureInfo
|
|
431
431
|
FormModelContextParameterMissingTitleAndDescription
|
|
432
|
+
FormModelContextMissingToolName
|
|
433
|
+
FormModelContextMissingToolDescription
|
|
434
|
+
FormModelContextRequiredParameterMissingName
|
|
435
|
+
FormModelContextParameterMissingName
|
|
432
436
|
|
|
433
437
|
# Depending on the concrete errorType, different properties are set.
|
|
434
438
|
type GenericIssueDetails extends object
|
package/pdl/domains/Target.pdl
CHANGED
|
@@ -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.
|
package/pdl/domains/WebMCP.pdl
CHANGED
|
@@ -64,6 +64,12 @@ experimental domain WebMCP
|
|
|
64
64
|
# Unique identifier for this invocation. Response is sent before tool events.
|
|
65
65
|
string invocationId
|
|
66
66
|
|
|
67
|
+
# Cancels a pending tool invocation.
|
|
68
|
+
command cancelInvocation
|
|
69
|
+
parameters
|
|
70
|
+
# Invocation identifier to cancel.
|
|
71
|
+
string invocationId
|
|
72
|
+
|
|
67
73
|
# Event fired when new tools are added.
|
|
68
74
|
event toolsAdded
|
|
69
75
|
parameters
|
|
@@ -6320,6 +6320,13 @@ export namespace ProtocolMapping {
|
|
|
6320
6320
|
paramsType: [Protocol.WebMCP.InvokeToolRequest];
|
|
6321
6321
|
returnType: Protocol.WebMCP.InvokeToolResponse;
|
|
6322
6322
|
};
|
|
6323
|
+
/**
|
|
6324
|
+
* Cancels a pending tool invocation.
|
|
6325
|
+
*/
|
|
6326
|
+
'WebMCP.cancelInvocation': {
|
|
6327
|
+
paramsType: [Protocol.WebMCP.CancelInvocationRequest];
|
|
6328
|
+
returnType: void;
|
|
6329
|
+
};
|
|
6323
6330
|
}
|
|
6324
6331
|
}
|
|
6325
6332
|
|
|
@@ -5484,6 +5484,11 @@ export namespace ProtocolProxyApi {
|
|
|
5484
5484
|
*/
|
|
5485
5485
|
invokeTool(params: Protocol.WebMCP.InvokeToolRequest): Promise<Protocol.WebMCP.InvokeToolResponse>;
|
|
5486
5486
|
|
|
5487
|
+
/**
|
|
5488
|
+
* Cancels a pending tool invocation.
|
|
5489
|
+
*/
|
|
5490
|
+
cancelInvocation(params: Protocol.WebMCP.CancelInvocationRequest): Promise<void>;
|
|
5491
|
+
|
|
5487
5492
|
/**
|
|
5488
5493
|
* Event fired when new tools are added.
|
|
5489
5494
|
*/
|
|
@@ -5950,6 +5950,11 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5950
5950
|
*/
|
|
5951
5951
|
invokeTool(params: Protocol.WebMCP.InvokeToolRequest): Promise<{id: number, result: Protocol.WebMCP.InvokeToolResponse, sessionId: string}>;
|
|
5952
5952
|
|
|
5953
|
+
/**
|
|
5954
|
+
* Cancels a pending tool invocation.
|
|
5955
|
+
*/
|
|
5956
|
+
cancelInvocation(params: Protocol.WebMCP.CancelInvocationRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5957
|
+
|
|
5953
5958
|
/**
|
|
5954
5959
|
* Event fired when new tools are added.
|
|
5955
5960
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -3705,7 +3705,7 @@ export namespace Protocol {
|
|
|
3705
3705
|
request: AffectedRequest;
|
|
3706
3706
|
}
|
|
3707
3707
|
|
|
3708
|
-
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription');
|
|
3708
|
+
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription' | 'FormModelContextMissingToolName' | 'FormModelContextMissingToolDescription' | 'FormModelContextRequiredParameterMissingName' | 'FormModelContextParameterMissingName');
|
|
3709
3709
|
|
|
3710
3710
|
/**
|
|
3711
3711
|
* Depending on the concrete errorType, different properties are set.
|
|
@@ -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
|
*/
|
|
@@ -22101,6 +22105,13 @@ export namespace Protocol {
|
|
|
22101
22105
|
invocationId: string;
|
|
22102
22106
|
}
|
|
22103
22107
|
|
|
22108
|
+
export interface CancelInvocationRequest {
|
|
22109
|
+
/**
|
|
22110
|
+
* Invocation identifier to cancel.
|
|
22111
|
+
*/
|
|
22112
|
+
invocationId: string;
|
|
22113
|
+
}
|
|
22114
|
+
|
|
22104
22115
|
/**
|
|
22105
22116
|
* Event fired when new tools are added.
|
|
22106
22117
|
*/
|