@webref/idl 3.81.0 → 3.81.1
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/css-nav.idl +1 -1
- package/edit-context.idl +15 -15
- package/package.json +1 -1
- package/pointerevents.idl +1 -0
- package/prompt-api.idl +6 -0
- package/webmcp.idl +1 -8
- package/webrtc-encoded-transform.idl +16 -16
package/css-nav.idl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: CSS Spatial Navigation Module Level 1 (https://drafts.csswg.org/css-nav-1/)
|
|
4
|
+
// Source: CSS Spatial Navigation Module Level 1 (https://drafts.csswg.org/css-spatial-nav-1/)
|
|
5
5
|
|
|
6
6
|
enum SpatialNavigationDirection {
|
|
7
7
|
"up",
|
package/edit-context.idl
CHANGED
|
@@ -8,9 +8,9 @@ partial interface HTMLElement {
|
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
dictionary EditContextInit {
|
|
11
|
-
DOMString text;
|
|
12
|
-
unsigned long selectionStart;
|
|
13
|
-
unsigned long selectionEnd;
|
|
11
|
+
DOMString text = "";
|
|
12
|
+
unsigned long selectionStart = 0;
|
|
13
|
+
unsigned long selectionEnd = 0;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
[Exposed=Window]
|
|
@@ -40,11 +40,11 @@ interface EditContext : EventTarget {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
dictionary TextUpdateEventInit : EventInit {
|
|
43
|
-
unsigned long updateRangeStart;
|
|
44
|
-
unsigned long updateRangeEnd;
|
|
45
|
-
DOMString text;
|
|
46
|
-
unsigned long selectionStart;
|
|
47
|
-
unsigned long selectionEnd;
|
|
43
|
+
unsigned long updateRangeStart = 0;
|
|
44
|
+
unsigned long updateRangeEnd = 0;
|
|
45
|
+
DOMString text = "";
|
|
46
|
+
unsigned long selectionStart = 0;
|
|
47
|
+
unsigned long selectionEnd = 0;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
[Exposed=Window]
|
|
@@ -61,10 +61,10 @@ enum UnderlineStyle { "none", "solid", "dotted", "dashed", "wavy" };
|
|
|
61
61
|
enum UnderlineThickness { "none", "thin", "thick" };
|
|
62
62
|
|
|
63
63
|
dictionary TextFormatInit {
|
|
64
|
-
unsigned long rangeStart;
|
|
65
|
-
unsigned long rangeEnd;
|
|
66
|
-
UnderlineStyle underlineStyle;
|
|
67
|
-
UnderlineThickness underlineThickness;
|
|
64
|
+
unsigned long rangeStart = 0;
|
|
65
|
+
unsigned long rangeEnd = 0;
|
|
66
|
+
UnderlineStyle underlineStyle = "none";
|
|
67
|
+
UnderlineThickness underlineThickness = "none";
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
[Exposed=Window]
|
|
@@ -77,7 +77,7 @@ interface TextFormat {
|
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
dictionary TextFormatUpdateEventInit : EventInit {
|
|
80
|
-
sequence<TextFormat> textFormats;
|
|
80
|
+
sequence<TextFormat> textFormats = [];
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
[Exposed=Window]
|
|
@@ -87,8 +87,8 @@ interface TextFormatUpdateEvent : Event {
|
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
dictionary CharacterBoundsUpdateEventInit : EventInit {
|
|
90
|
-
unsigned long rangeStart;
|
|
91
|
-
unsigned long rangeEnd;
|
|
90
|
+
unsigned long rangeStart = 0;
|
|
91
|
+
unsigned long rangeEnd = 0;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
[Exposed=Window]
|
package/package.json
CHANGED
package/pointerevents.idl
CHANGED
package/prompt-api.idl
CHANGED
|
@@ -49,6 +49,8 @@ interface LanguageModel : EventTarget {
|
|
|
49
49
|
// **EXPERIMENTAL**: Only available in extension and experimental contexts.
|
|
50
50
|
readonly attribute float temperature;
|
|
51
51
|
|
|
52
|
+
readonly attribute LanguageModelSamplingMode samplingMode;
|
|
53
|
+
|
|
52
54
|
Promise<LanguageModel> clone(optional LanguageModelCloneOptions options = {});
|
|
53
55
|
};
|
|
54
56
|
LanguageModel includes DestroyableModel;
|
|
@@ -82,6 +84,8 @@ dictionary LanguageModelCreateCoreOptions {
|
|
|
82
84
|
// **EXPERIMENTAL**: Only available in extension and experimental contexts.
|
|
83
85
|
unrestricted double temperature;
|
|
84
86
|
|
|
87
|
+
LanguageModelSamplingMode samplingMode = "default";
|
|
88
|
+
|
|
85
89
|
sequence<LanguageModelExpected> expectedInputs;
|
|
86
90
|
sequence<LanguageModelExpected> expectedOutputs;
|
|
87
91
|
sequence<LanguageModelTool> tools;
|
|
@@ -135,6 +139,8 @@ dictionary LanguageModelMessageContent {
|
|
|
135
139
|
required LanguageModelMessageValue value;
|
|
136
140
|
};
|
|
137
141
|
|
|
142
|
+
enum LanguageModelSamplingMode { "most-predictable", "predictable", "balanced", "creative", "most-creative" };
|
|
143
|
+
|
|
138
144
|
enum LanguageModelMessageRole { "system", "user", "assistant" };
|
|
139
145
|
|
|
140
146
|
enum LanguageModelMessageType { "text", "image", "audio", "tool-call", "tool-response" };
|
package/webmcp.idl
CHANGED
|
@@ -30,16 +30,9 @@ dictionary ToolAnnotations {
|
|
|
30
30
|
boolean untrustedContentHint = false;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
callback ToolExecuteCallback = Promise<any> (object input
|
|
33
|
+
callback ToolExecuteCallback = Promise<any> (object input);
|
|
34
34
|
|
|
35
35
|
dictionary ModelContextRegisterToolOptions {
|
|
36
36
|
AbortSignal signal;
|
|
37
37
|
sequence<USVString> exposedTo;
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
[Exposed=Window, SecureContext]
|
|
41
|
-
interface ModelContextClient {
|
|
42
|
-
Promise<any> requestUserInteraction(UserInteractionCallback callback);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
callback UserInteractionCallback = Promise<any> ();
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: WebRTC Encoded Transform (https://w3c.github.io/webrtc-encoded-transform/)
|
|
5
5
|
|
|
6
|
-
typedef (
|
|
7
|
-
typedef (
|
|
6
|
+
typedef (RTCRtpSFrameEncryptor or RTCRtpScriptTransform) RTCRtpSenderTransform;
|
|
7
|
+
typedef (RTCRtpSFrameDecryptor or RTCRtpScriptTransform) RTCRtpReceiverTransform;
|
|
8
8
|
|
|
9
9
|
// New methods for RTCRtpSender and RTCRtpReceiver
|
|
10
10
|
partial interface RTCRtpSender {
|
|
@@ -36,48 +36,48 @@ enum SFrameType {
|
|
|
36
36
|
"per-packet"
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
dictionary
|
|
39
|
+
dictionary RTCRtpSFrameEncryptorOptions : SFrameTransformOptions {
|
|
40
40
|
SFrameType type = "per-frame";
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
typedef [EnforceRange] unsigned long long SmallCryptoKeyID;
|
|
44
44
|
typedef (SmallCryptoKeyID or bigint) CryptoKeyID;
|
|
45
45
|
|
|
46
|
-
interface mixin
|
|
46
|
+
interface mixin SFrameEncryptorManager {
|
|
47
47
|
Promise<undefined> setEncryptionKey(CryptoKey key, CryptoKeyID keyId);
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
interface mixin
|
|
50
|
+
interface mixin SFrameDecryptorManager {
|
|
51
51
|
Promise<undefined> addDecryptionKey(CryptoKey key, CryptoKeyID keyId);
|
|
52
52
|
Promise<undefined> removeDecryptionKey(CryptoKeyID keyId);
|
|
53
53
|
attribute EventHandler onerror;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
[Exposed=Window]
|
|
57
|
-
interface
|
|
58
|
-
constructor(
|
|
57
|
+
interface RTCRtpSFrameEncryptor {
|
|
58
|
+
constructor(RTCRtpSFrameEncryptorOptions options);
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
RTCRtpSFrameEncryptor includes SFrameEncryptorManager;
|
|
61
61
|
|
|
62
62
|
[Exposed=Window]
|
|
63
|
-
interface
|
|
63
|
+
interface RTCRtpSFrameDecryptor : EventTarget {
|
|
64
64
|
constructor(SFrameTransformOptions options);
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
RTCRtpSFrameDecryptor includes SFrameDecryptorManager;
|
|
67
67
|
|
|
68
68
|
[Exposed=(Window,DedicatedWorker)]
|
|
69
|
-
interface
|
|
69
|
+
interface SFrameEncryptorStream {
|
|
70
70
|
constructor(SFrameTransformOptions options);
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
SFrameEncryptorStream includes GenericTransformStream;
|
|
73
|
+
SFrameEncryptorStream includes SFrameEncryptorManager;
|
|
74
74
|
|
|
75
75
|
[Exposed=(Window,DedicatedWorker)]
|
|
76
|
-
interface
|
|
76
|
+
interface SFrameDecryptorStream : EventTarget {
|
|
77
77
|
constructor(SFrameTransformOptions options);
|
|
78
78
|
};
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
SFrameDecryptorStream includes GenericTransformStream;
|
|
80
|
+
SFrameDecryptorStream includes SFrameDecryptorManager;
|
|
81
81
|
|
|
82
82
|
enum SFrameTransformErrorEventType {
|
|
83
83
|
"authentication",
|