devtools-protocol 0.0.1615727 → 0.0.1616338
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 +16 -1
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +4 -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 +8 -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
|
{
|
|
@@ -30791,6 +30795,17 @@
|
|
|
30791
30795
|
"type": "string"
|
|
30792
30796
|
}
|
|
30793
30797
|
]
|
|
30798
|
+
},
|
|
30799
|
+
{
|
|
30800
|
+
"name": "cancelInvocation",
|
|
30801
|
+
"description": "Cancels a pending tool invocation.",
|
|
30802
|
+
"parameters": [
|
|
30803
|
+
{
|
|
30804
|
+
"name": "invocationId",
|
|
30805
|
+
"description": "Invocation identifier to cancel.",
|
|
30806
|
+
"type": "string"
|
|
30807
|
+
}
|
|
30808
|
+
]
|
|
30794
30809
|
}
|
|
30795
30810
|
],
|
|
30796
30811
|
"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/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.
|
|
@@ -22101,6 +22101,13 @@ export namespace Protocol {
|
|
|
22101
22101
|
invocationId: string;
|
|
22102
22102
|
}
|
|
22103
22103
|
|
|
22104
|
+
export interface CancelInvocationRequest {
|
|
22105
|
+
/**
|
|
22106
|
+
* Invocation identifier to cancel.
|
|
22107
|
+
*/
|
|
22108
|
+
invocationId: string;
|
|
22109
|
+
}
|
|
22110
|
+
|
|
22104
22111
|
/**
|
|
22105
22112
|
* Event fired when new tools are added.
|
|
22106
22113
|
*/
|