@mcp-b/extension-tools 0.2.2 → 0.2.3
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/dist/index.d.ts +2434 -2310
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -6
- package/dist/index.js.map +1 -1
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,1624 +1,1697 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
+
import { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
|
|
4
4
|
|
|
5
|
+
//#region src/BaseApiTools.d.ts
|
|
5
6
|
interface ApiAvailability {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
declare abstract class BaseApiTools {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
7
|
+
available: boolean;
|
|
8
|
+
message: string;
|
|
9
|
+
details?: string;
|
|
10
|
+
}
|
|
11
|
+
declare abstract class BaseApiTools<TOptions = Record<string, unknown>> {
|
|
12
|
+
protected server: McpServer;
|
|
13
|
+
protected options: TOptions;
|
|
14
|
+
protected abstract apiName: string;
|
|
15
|
+
constructor(server: McpServer, options?: TOptions);
|
|
16
|
+
abstract checkAvailability(): ApiAvailability;
|
|
17
|
+
abstract registerTools(): void;
|
|
18
|
+
protected shouldRegisterTool(toolName: string): boolean;
|
|
19
|
+
protected formatError(error: unknown): CallToolResult;
|
|
20
|
+
protected formatSuccess(message: string, data?: unknown): CallToolResult;
|
|
21
|
+
protected formatJson(data: unknown): CallToolResult;
|
|
22
|
+
register(): void;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/chrome-apis/AlarmsApiTools.d.ts
|
|
24
26
|
interface AlarmsApiToolsOptions {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
declare class AlarmsApiTools extends BaseApiTools {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
27
|
+
createAlarm?: boolean;
|
|
28
|
+
getAlarm?: boolean;
|
|
29
|
+
getAllAlarms?: boolean;
|
|
30
|
+
clearAlarm?: boolean;
|
|
31
|
+
clearAllAlarms?: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare class AlarmsApiTools extends BaseApiTools<AlarmsApiToolsOptions> {
|
|
34
|
+
protected apiName: string;
|
|
35
|
+
constructor(server: McpServer, options?: AlarmsApiToolsOptions);
|
|
36
|
+
checkAvailability(): ApiAvailability;
|
|
37
|
+
registerTools(): void;
|
|
38
|
+
private registerCreateAlarm;
|
|
39
|
+
private registerGetAlarm;
|
|
40
|
+
private registerGetAllAlarms;
|
|
41
|
+
private registerClearAlarm;
|
|
42
|
+
private registerClearAllAlarms;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/chrome-apis/AudioApiTools.d.ts
|
|
43
46
|
interface AudioApiToolsOptions {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
declare class AudioApiTools extends BaseApiTools {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
47
|
+
getDevices?: boolean;
|
|
48
|
+
getMute?: boolean;
|
|
49
|
+
setActiveDevices?: boolean;
|
|
50
|
+
setMute?: boolean;
|
|
51
|
+
setProperties?: boolean;
|
|
52
|
+
}
|
|
53
|
+
declare class AudioApiTools extends BaseApiTools<AudioApiToolsOptions> {
|
|
54
|
+
protected apiName: string;
|
|
55
|
+
constructor(server: McpServer, options?: AudioApiToolsOptions);
|
|
56
|
+
checkAvailability(): ApiAvailability;
|
|
57
|
+
registerTools(): void;
|
|
58
|
+
private registerGetDevices;
|
|
59
|
+
private registerGetMute;
|
|
60
|
+
private registerSetActiveDevices;
|
|
61
|
+
private registerSetMute;
|
|
62
|
+
private registerSetProperties;
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/chrome-apis/BookmarksApiTools.d.ts
|
|
62
66
|
interface BookmarksApiToolsOptions {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
create?: boolean;
|
|
68
|
+
get?: boolean;
|
|
69
|
+
getChildren?: boolean;
|
|
70
|
+
getRecent?: boolean;
|
|
71
|
+
getSubTree?: boolean;
|
|
72
|
+
getTree?: boolean;
|
|
73
|
+
move?: boolean;
|
|
74
|
+
remove?: boolean;
|
|
75
|
+
removeTree?: boolean;
|
|
76
|
+
search?: boolean;
|
|
77
|
+
update?: boolean;
|
|
74
78
|
}
|
|
75
79
|
declare const BOOKMARK_ACTIONS: readonly ["create", "get", "getChildren", "getRecent", "getSubTree", "getTree", "move", "remove", "removeTree", "search", "update"];
|
|
76
|
-
declare class BookmarksApiTools extends BaseApiTools {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
80
|
+
declare class BookmarksApiTools extends BaseApiTools<BookmarksApiToolsOptions> {
|
|
81
|
+
protected apiName: string;
|
|
82
|
+
constructor(server: McpServer, options?: BookmarksApiToolsOptions);
|
|
83
|
+
checkAvailability(): ApiAvailability;
|
|
84
|
+
registerTools(): void;
|
|
85
|
+
private createSchema;
|
|
86
|
+
private getSchema;
|
|
87
|
+
private getChildrenSchema;
|
|
88
|
+
private getRecentSchema;
|
|
89
|
+
private getSubTreeSchema;
|
|
90
|
+
private moveSchema;
|
|
91
|
+
private removeSchema;
|
|
92
|
+
private removeTreeSchema;
|
|
93
|
+
private searchSchema;
|
|
94
|
+
private updateSchema;
|
|
95
|
+
private handleCreate;
|
|
96
|
+
private handleGet;
|
|
97
|
+
private handleGetChildren;
|
|
98
|
+
private handleGetRecent;
|
|
99
|
+
private handleGetSubTree;
|
|
100
|
+
private handleGetTree;
|
|
101
|
+
private handleMove;
|
|
102
|
+
private handleRemove;
|
|
103
|
+
private handleRemoveTree;
|
|
104
|
+
private handleSearch;
|
|
105
|
+
private handleUpdate;
|
|
106
|
+
private isActionEnabled;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/chrome-apis/BrowsingDataApiTools.d.ts
|
|
105
110
|
interface BrowsingDataApiToolsOptions {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
declare class BrowsingDataApiTools extends BaseApiTools {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
|
|
111
|
+
remove?: boolean;
|
|
112
|
+
removeAppcache?: boolean;
|
|
113
|
+
removeCache?: boolean;
|
|
114
|
+
removeCacheStorage?: boolean;
|
|
115
|
+
removeCookies?: boolean;
|
|
116
|
+
removeDownloads?: boolean;
|
|
117
|
+
removeFileSystems?: boolean;
|
|
118
|
+
removeFormData?: boolean;
|
|
119
|
+
removeHistory?: boolean;
|
|
120
|
+
removeIndexedDB?: boolean;
|
|
121
|
+
removeLocalStorage?: boolean;
|
|
122
|
+
removePasswords?: boolean;
|
|
123
|
+
removeServiceWorkers?: boolean;
|
|
124
|
+
removeWebSQL?: boolean;
|
|
125
|
+
settings?: boolean;
|
|
126
|
+
}
|
|
127
|
+
declare class BrowsingDataApiTools extends BaseApiTools<BrowsingDataApiToolsOptions> {
|
|
128
|
+
protected apiName: string;
|
|
129
|
+
constructor(server: McpServer, options?: BrowsingDataApiToolsOptions);
|
|
130
|
+
checkAvailability(): ApiAvailability;
|
|
131
|
+
registerTools(): void;
|
|
132
|
+
private registerRemove;
|
|
133
|
+
private registerRemoveAppcache;
|
|
134
|
+
private registerRemoveCache;
|
|
135
|
+
private registerRemoveCacheStorage;
|
|
136
|
+
private registerRemoveCookies;
|
|
137
|
+
private registerRemoveDownloads;
|
|
138
|
+
private registerRemoveFileSystems;
|
|
139
|
+
private registerRemoveFormData;
|
|
140
|
+
private registerRemoveHistory;
|
|
141
|
+
private registerRemoveIndexedDB;
|
|
142
|
+
private registerRemoveLocalStorage;
|
|
143
|
+
private registerRemovePasswords;
|
|
144
|
+
private registerRemoveServiceWorkers;
|
|
145
|
+
private registerRemoveWebSQL;
|
|
146
|
+
private registerSettings;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/chrome-apis/CertificateProviderApiTools.d.ts
|
|
144
150
|
interface CertificateProviderApiToolsOptions {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
declare class CertificateProviderApiTools extends BaseApiTools {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
|
|
151
|
+
setCertificates?: boolean;
|
|
152
|
+
reportSignature?: boolean;
|
|
153
|
+
requestPin?: boolean;
|
|
154
|
+
stopPinRequest?: boolean;
|
|
155
|
+
onCertificatesUpdateRequested?: boolean;
|
|
156
|
+
onSignatureRequested?: boolean;
|
|
157
|
+
}
|
|
158
|
+
declare class CertificateProviderApiTools extends BaseApiTools<CertificateProviderApiToolsOptions> {
|
|
159
|
+
protected apiName: string;
|
|
160
|
+
constructor(server: McpServer, options?: CertificateProviderApiToolsOptions);
|
|
161
|
+
checkAvailability(): ApiAvailability;
|
|
162
|
+
registerTools(): void;
|
|
163
|
+
private registerSetCertificates;
|
|
164
|
+
private registerReportSignature;
|
|
165
|
+
private registerRequestPin;
|
|
166
|
+
private registerStopPinRequest;
|
|
167
|
+
private registerOnCertificatesUpdateRequested;
|
|
168
|
+
private registerOnSignatureRequested;
|
|
169
|
+
private handleCertificatesUpdateRequested;
|
|
170
|
+
private handleSignatureRequested;
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/chrome-apis/CommandsApiTools.d.ts
|
|
167
174
|
interface CommandsApiToolsOptions {
|
|
168
|
-
|
|
175
|
+
getAll?: boolean;
|
|
169
176
|
}
|
|
170
|
-
declare class CommandsApiTools extends BaseApiTools {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
177
|
+
declare class CommandsApiTools extends BaseApiTools<CommandsApiToolsOptions> {
|
|
178
|
+
protected apiName: string;
|
|
179
|
+
constructor(server: McpServer, options?: CommandsApiToolsOptions);
|
|
180
|
+
checkAvailability(): ApiAvailability;
|
|
181
|
+
registerTools(): void;
|
|
182
|
+
private registerGetAll;
|
|
176
183
|
}
|
|
177
|
-
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region src/chrome-apis/ContentSettingsApiTools.d.ts
|
|
178
186
|
interface ContentSettingsApiToolsOptions {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
declare class ContentSettingsApiTools extends BaseApiTools {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
|
|
187
|
+
getCookiesSetting?: boolean;
|
|
188
|
+
setCookiesSetting?: boolean;
|
|
189
|
+
clearCookiesSetting?: boolean;
|
|
190
|
+
getJavascriptSetting?: boolean;
|
|
191
|
+
setJavascriptSetting?: boolean;
|
|
192
|
+
clearJavascriptSetting?: boolean;
|
|
193
|
+
getImagesSetting?: boolean;
|
|
194
|
+
setImagesSetting?: boolean;
|
|
195
|
+
clearImagesSetting?: boolean;
|
|
196
|
+
getLocationSetting?: boolean;
|
|
197
|
+
setLocationSetting?: boolean;
|
|
198
|
+
clearLocationSetting?: boolean;
|
|
199
|
+
getNotificationsSetting?: boolean;
|
|
200
|
+
setNotificationsSetting?: boolean;
|
|
201
|
+
clearNotificationsSetting?: boolean;
|
|
202
|
+
getPopupsSetting?: boolean;
|
|
203
|
+
setPopupsSetting?: boolean;
|
|
204
|
+
clearPopupsSetting?: boolean;
|
|
205
|
+
getCameraSetting?: boolean;
|
|
206
|
+
setCameraSetting?: boolean;
|
|
207
|
+
clearCameraSetting?: boolean;
|
|
208
|
+
getMicrophoneSetting?: boolean;
|
|
209
|
+
setMicrophoneSetting?: boolean;
|
|
210
|
+
clearMicrophoneSetting?: boolean;
|
|
211
|
+
getAutomaticDownloadsSetting?: boolean;
|
|
212
|
+
setAutomaticDownloadsSetting?: boolean;
|
|
213
|
+
clearAutomaticDownloadsSetting?: boolean;
|
|
214
|
+
getClipboardSetting?: boolean;
|
|
215
|
+
setClipboardSetting?: boolean;
|
|
216
|
+
clearClipboardSetting?: boolean;
|
|
217
|
+
getAutoVerifySetting?: boolean;
|
|
218
|
+
setAutoVerifySetting?: boolean;
|
|
219
|
+
clearAutoVerifySetting?: boolean;
|
|
220
|
+
getPluginsResourceIdentifiers?: boolean;
|
|
221
|
+
}
|
|
222
|
+
declare class ContentSettingsApiTools extends BaseApiTools<ContentSettingsApiToolsOptions> {
|
|
223
|
+
protected apiName: string;
|
|
224
|
+
constructor(server: McpServer, options?: ContentSettingsApiToolsOptions);
|
|
225
|
+
checkAvailability(): ApiAvailability;
|
|
226
|
+
registerTools(): void;
|
|
227
|
+
private registerGetCookiesSetting;
|
|
228
|
+
private registerSetCookiesSetting;
|
|
229
|
+
private registerClearCookiesSetting;
|
|
230
|
+
private registerGetJavascriptSetting;
|
|
231
|
+
private registerSetJavascriptSetting;
|
|
232
|
+
private registerClearJavascriptSetting;
|
|
233
|
+
private registerGetImagesSetting;
|
|
234
|
+
private registerSetImagesSetting;
|
|
235
|
+
private registerClearImagesSetting;
|
|
236
|
+
private registerGetLocationSetting;
|
|
237
|
+
private registerSetLocationSetting;
|
|
238
|
+
private registerClearLocationSetting;
|
|
239
|
+
private registerGetNotificationsSetting;
|
|
240
|
+
private registerSetNotificationsSetting;
|
|
241
|
+
private registerClearNotificationsSetting;
|
|
242
|
+
private registerGetPopupsSetting;
|
|
243
|
+
private registerSetPopupsSetting;
|
|
244
|
+
private registerClearPopupsSetting;
|
|
245
|
+
private registerGetCameraSetting;
|
|
246
|
+
private registerSetCameraSetting;
|
|
247
|
+
private registerClearCameraSetting;
|
|
248
|
+
private registerGetMicrophoneSetting;
|
|
249
|
+
private registerSetMicrophoneSetting;
|
|
250
|
+
private registerClearMicrophoneSetting;
|
|
251
|
+
private registerGetAutomaticDownloadsSetting;
|
|
252
|
+
private registerSetAutomaticDownloadsSetting;
|
|
253
|
+
private registerClearAutomaticDownloadsSetting;
|
|
254
|
+
private registerGetClipboardSetting;
|
|
255
|
+
private registerSetClipboardSetting;
|
|
256
|
+
private registerClearClipboardSetting;
|
|
257
|
+
private registerGetAutoVerifySetting;
|
|
258
|
+
private registerSetAutoVerifySetting;
|
|
259
|
+
private registerClearAutoVerifySetting;
|
|
260
|
+
private registerGetPluginsResourceIdentifiers;
|
|
261
|
+
}
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/chrome-apis/ContextMenusApiTools.d.ts
|
|
255
264
|
interface ContextMenusApiToolsOptions {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
declare class ContextMenusApiTools extends BaseApiTools {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
-
|
|
265
|
+
createContextMenu?: boolean;
|
|
266
|
+
updateContextMenu?: boolean;
|
|
267
|
+
removeContextMenu?: boolean;
|
|
268
|
+
removeAllContextMenus?: boolean;
|
|
269
|
+
}
|
|
270
|
+
declare class ContextMenusApiTools extends BaseApiTools<ContextMenusApiToolsOptions> {
|
|
271
|
+
protected apiName: string;
|
|
272
|
+
constructor(server: McpServer, options?: ContextMenusApiToolsOptions);
|
|
273
|
+
checkAvailability(): ApiAvailability;
|
|
274
|
+
registerTools(): void;
|
|
275
|
+
private registerCreateContextMenu;
|
|
276
|
+
private registerUpdateContextMenu;
|
|
277
|
+
private registerRemoveContextMenu;
|
|
278
|
+
private registerRemoveAllContextMenus;
|
|
279
|
+
}
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/chrome-apis/CookiesApiTools.d.ts
|
|
272
282
|
interface CookiesApiToolsOptions {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
declare class CookiesApiTools extends BaseApiTools {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
|
|
283
|
+
getCookie?: boolean;
|
|
284
|
+
getAllCookies?: boolean;
|
|
285
|
+
getAllCookieStores?: boolean;
|
|
286
|
+
getPartitionKey?: boolean;
|
|
287
|
+
setCookie?: boolean;
|
|
288
|
+
removeCookie?: boolean;
|
|
289
|
+
}
|
|
290
|
+
declare class CookiesApiTools extends BaseApiTools<CookiesApiToolsOptions> {
|
|
291
|
+
protected apiName: string;
|
|
292
|
+
constructor(server: McpServer, options?: CookiesApiToolsOptions);
|
|
293
|
+
checkAvailability(): ApiAvailability;
|
|
294
|
+
registerTools(): void;
|
|
295
|
+
private registerGetCookie;
|
|
296
|
+
private registerGetAllCookies;
|
|
297
|
+
private registerGetAllCookieStores;
|
|
298
|
+
private registerGetPartitionKey;
|
|
299
|
+
private registerSetCookie;
|
|
300
|
+
private registerRemoveCookie;
|
|
301
|
+
}
|
|
302
|
+
//#endregion
|
|
303
|
+
//#region src/chrome-apis/DebuggerApiTools.d.ts
|
|
293
304
|
interface DebuggerApiToolsOptions {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
declare class DebuggerApiTools extends BaseApiTools {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
|
|
305
|
+
attach?: boolean;
|
|
306
|
+
detach?: boolean;
|
|
307
|
+
sendCommand?: boolean;
|
|
308
|
+
getTargets?: boolean;
|
|
309
|
+
}
|
|
310
|
+
declare class DebuggerApiTools extends BaseApiTools<DebuggerApiToolsOptions> {
|
|
311
|
+
protected apiName: string;
|
|
312
|
+
constructor(server: McpServer, options?: DebuggerApiToolsOptions);
|
|
313
|
+
checkAvailability(): ApiAvailability;
|
|
314
|
+
registerTools(): void;
|
|
315
|
+
private registerAttach;
|
|
316
|
+
private registerDetach;
|
|
317
|
+
private registerSendCommand;
|
|
318
|
+
private registerGetTargets;
|
|
319
|
+
}
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region src/chrome-apis/DeclarativeContentApiTools.d.ts
|
|
310
322
|
interface DeclarativeContentApiToolsOptions {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
declare class DeclarativeContentApiTools extends BaseApiTools {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}
|
|
324
|
-
|
|
323
|
+
addRules?: boolean;
|
|
324
|
+
removeRules?: boolean;
|
|
325
|
+
getRules?: boolean;
|
|
326
|
+
}
|
|
327
|
+
declare class DeclarativeContentApiTools extends BaseApiTools<DeclarativeContentApiToolsOptions> {
|
|
328
|
+
protected apiName: string;
|
|
329
|
+
constructor(server: McpServer, options?: DeclarativeContentApiToolsOptions);
|
|
330
|
+
checkAvailability(): ApiAvailability;
|
|
331
|
+
registerTools(): void;
|
|
332
|
+
private registerAddRules;
|
|
333
|
+
private registerRemoveRules;
|
|
334
|
+
private registerGetRules;
|
|
335
|
+
}
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region src/chrome-apis/DeclarativeNetRequestApiTools.d.ts
|
|
325
338
|
interface DeclarativeNetRequestApiToolsOptions {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
339
|
-
declare class DeclarativeNetRequestApiTools extends BaseApiTools {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
339
|
+
getDynamicRules?: boolean;
|
|
340
|
+
updateDynamicRules?: boolean;
|
|
341
|
+
getSessionRules?: boolean;
|
|
342
|
+
updateSessionRules?: boolean;
|
|
343
|
+
getEnabledRulesets?: boolean;
|
|
344
|
+
updateEnabledRulesets?: boolean;
|
|
345
|
+
updateStaticRules?: boolean;
|
|
346
|
+
getAvailableStaticRuleCount?: boolean;
|
|
347
|
+
getMatchedRules?: boolean;
|
|
348
|
+
isRegexSupported?: boolean;
|
|
349
|
+
testMatchOutcome?: boolean;
|
|
350
|
+
setExtensionActionOptions?: boolean;
|
|
351
|
+
}
|
|
352
|
+
declare class DeclarativeNetRequestApiTools extends BaseApiTools<DeclarativeNetRequestApiToolsOptions> {
|
|
353
|
+
protected apiName: string;
|
|
354
|
+
constructor(server: McpServer, options?: DeclarativeNetRequestApiToolsOptions);
|
|
355
|
+
checkAvailability(): ApiAvailability;
|
|
356
|
+
registerTools(): void;
|
|
357
|
+
private registerGetDynamicRules;
|
|
358
|
+
private registerUpdateDynamicRules;
|
|
359
|
+
private registerGetSessionRules;
|
|
360
|
+
private registerUpdateSessionRules;
|
|
361
|
+
private registerGetEnabledRulesets;
|
|
362
|
+
private registerUpdateEnabledRulesets;
|
|
363
|
+
private registerUpdateStaticRules;
|
|
364
|
+
private registerGetAvailableStaticRuleCount;
|
|
365
|
+
private registerGetMatchedRules;
|
|
366
|
+
private registerIsRegexSupported;
|
|
367
|
+
private registerTestMatchOutcome;
|
|
368
|
+
private registerSetExtensionActionOptions;
|
|
369
|
+
}
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region src/chrome-apis/DesktopCaptureApiTools.d.ts
|
|
358
372
|
interface DesktopCaptureApiToolsOptions {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
declare class DesktopCaptureApiTools extends BaseApiTools {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
|
|
373
|
+
chooseDesktopMedia?: boolean;
|
|
374
|
+
cancelChooseDesktopMedia?: boolean;
|
|
375
|
+
}
|
|
376
|
+
declare class DesktopCaptureApiTools extends BaseApiTools<DesktopCaptureApiToolsOptions> {
|
|
377
|
+
protected apiName: string;
|
|
378
|
+
constructor(server: McpServer, options?: DesktopCaptureApiToolsOptions);
|
|
379
|
+
checkAvailability(): ApiAvailability;
|
|
380
|
+
registerTools(): void;
|
|
381
|
+
private registerChooseDesktopMedia;
|
|
382
|
+
private registerCancelChooseDesktopMedia;
|
|
383
|
+
}
|
|
384
|
+
//#endregion
|
|
385
|
+
//#region src/chrome-apis/DevtoolsInspectedWindowApiTools.d.ts
|
|
371
386
|
interface DevtoolsInspectedWindowApiToolsOptions {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
}
|
|
376
|
-
declare class DevtoolsInspectedWindowApiTools extends BaseApiTools {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}
|
|
385
|
-
|
|
387
|
+
eval?: boolean;
|
|
388
|
+
reload?: boolean;
|
|
389
|
+
getResources?: boolean;
|
|
390
|
+
}
|
|
391
|
+
declare class DevtoolsInspectedWindowApiTools extends BaseApiTools<DevtoolsInspectedWindowApiToolsOptions> {
|
|
392
|
+
protected apiName: string;
|
|
393
|
+
constructor(server: McpServer, options?: DevtoolsInspectedWindowApiToolsOptions);
|
|
394
|
+
checkAvailability(): ApiAvailability;
|
|
395
|
+
registerTools(): void;
|
|
396
|
+
private registerEval;
|
|
397
|
+
private registerReload;
|
|
398
|
+
private registerGetResources;
|
|
399
|
+
}
|
|
400
|
+
//#endregion
|
|
401
|
+
//#region src/chrome-apis/DevtoolsNetworkApiTools.d.ts
|
|
386
402
|
interface DevtoolsNetworkApiToolsOptions {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
}
|
|
391
|
-
declare class DevtoolsNetworkApiTools extends BaseApiTools {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
}
|
|
400
|
-
|
|
403
|
+
getHAR?: boolean;
|
|
404
|
+
onNavigated?: boolean;
|
|
405
|
+
onRequestFinished?: boolean;
|
|
406
|
+
}
|
|
407
|
+
declare class DevtoolsNetworkApiTools extends BaseApiTools<DevtoolsNetworkApiToolsOptions> {
|
|
408
|
+
protected apiName: string;
|
|
409
|
+
constructor(server: McpServer, options?: DevtoolsNetworkApiToolsOptions);
|
|
410
|
+
checkAvailability(): ApiAvailability;
|
|
411
|
+
registerTools(): void;
|
|
412
|
+
private registerGetHAR;
|
|
413
|
+
private registerOnNavigated;
|
|
414
|
+
private registerOnRequestFinished;
|
|
415
|
+
}
|
|
416
|
+
//#endregion
|
|
417
|
+
//#region src/chrome-apis/DevtoolsPanelsApiTools.d.ts
|
|
401
418
|
interface DevtoolsPanelsApiToolsOptions {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
}
|
|
408
|
-
declare class DevtoolsPanelsApiTools extends BaseApiTools {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}
|
|
419
|
-
|
|
419
|
+
createPanel?: boolean;
|
|
420
|
+
createSidebarPane?: boolean;
|
|
421
|
+
getThemeColor?: boolean;
|
|
422
|
+
openResource?: boolean;
|
|
423
|
+
setOpenResourceHandler?: boolean;
|
|
424
|
+
}
|
|
425
|
+
declare class DevtoolsPanelsApiTools extends BaseApiTools<DevtoolsPanelsApiToolsOptions> {
|
|
426
|
+
protected apiName: string;
|
|
427
|
+
constructor(server: McpServer, options?: DevtoolsPanelsApiToolsOptions);
|
|
428
|
+
checkAvailability(): ApiAvailability;
|
|
429
|
+
registerTools(): void;
|
|
430
|
+
private registerCreatePanel;
|
|
431
|
+
private registerCreateSidebarPane;
|
|
432
|
+
private registerGetThemeColor;
|
|
433
|
+
private registerOpenResource;
|
|
434
|
+
private registerSetOpenResourceHandler;
|
|
435
|
+
}
|
|
436
|
+
//#endregion
|
|
437
|
+
//#region src/chrome-apis/DocumentScanApiTools.d.ts
|
|
420
438
|
interface DocumentScanApiToolsOptions {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
}
|
|
431
|
-
declare class DocumentScanApiTools extends BaseApiTools {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
|
|
439
|
+
scan?: boolean;
|
|
440
|
+
getScannerList?: boolean;
|
|
441
|
+
openScanner?: boolean;
|
|
442
|
+
closeScanner?: boolean;
|
|
443
|
+
getOptionGroups?: boolean;
|
|
444
|
+
setOptions?: boolean;
|
|
445
|
+
startScan?: boolean;
|
|
446
|
+
readScanData?: boolean;
|
|
447
|
+
cancelScan?: boolean;
|
|
448
|
+
}
|
|
449
|
+
declare class DocumentScanApiTools extends BaseApiTools<DocumentScanApiToolsOptions> {
|
|
450
|
+
protected apiName: string;
|
|
451
|
+
constructor(server: McpServer, options?: DocumentScanApiToolsOptions);
|
|
452
|
+
checkAvailability(): ApiAvailability;
|
|
453
|
+
registerTools(): void;
|
|
454
|
+
private registerScan;
|
|
455
|
+
private registerGetScannerList;
|
|
456
|
+
private registerOpenScanner;
|
|
457
|
+
private registerCloseScanner;
|
|
458
|
+
private registerGetOptionGroups;
|
|
459
|
+
private registerSetOptions;
|
|
460
|
+
private registerStartScan;
|
|
461
|
+
private registerReadScanData;
|
|
462
|
+
private registerCancelScan;
|
|
463
|
+
}
|
|
464
|
+
//#endregion
|
|
465
|
+
//#region src/chrome-apis/DomApiTools.d.ts
|
|
447
466
|
interface DomApiToolsOptions {
|
|
448
|
-
|
|
467
|
+
openOrClosedShadowRoot?: boolean;
|
|
449
468
|
}
|
|
450
|
-
declare class DomApiTools extends BaseApiTools {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
469
|
+
declare class DomApiTools extends BaseApiTools<DomApiToolsOptions> {
|
|
470
|
+
protected apiName: string;
|
|
471
|
+
constructor(server: McpServer, options?: DomApiToolsOptions);
|
|
472
|
+
checkAvailability(): ApiAvailability;
|
|
473
|
+
registerTools(): void;
|
|
474
|
+
private registerOpenOrClosedShadowRoot;
|
|
456
475
|
}
|
|
457
|
-
|
|
476
|
+
//#endregion
|
|
477
|
+
//#region src/chrome-apis/DownloadsApiTools.d.ts
|
|
458
478
|
interface DownloadsApiToolsOptions {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
473
|
-
declare class DownloadsApiTools extends BaseApiTools {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
}
|
|
492
|
-
|
|
479
|
+
download?: boolean;
|
|
480
|
+
search?: boolean;
|
|
481
|
+
pause?: boolean;
|
|
482
|
+
resume?: boolean;
|
|
483
|
+
cancel?: boolean;
|
|
484
|
+
getFileIcon?: boolean;
|
|
485
|
+
open?: boolean;
|
|
486
|
+
show?: boolean;
|
|
487
|
+
showDefaultFolder?: boolean;
|
|
488
|
+
erase?: boolean;
|
|
489
|
+
removeFile?: boolean;
|
|
490
|
+
acceptDanger?: boolean;
|
|
491
|
+
setUiOptions?: boolean;
|
|
492
|
+
}
|
|
493
|
+
declare class DownloadsApiTools extends BaseApiTools<DownloadsApiToolsOptions> {
|
|
494
|
+
protected apiName: string;
|
|
495
|
+
constructor(server: McpServer, options?: DownloadsApiToolsOptions);
|
|
496
|
+
checkAvailability(): ApiAvailability;
|
|
497
|
+
registerTools(): void;
|
|
498
|
+
private registerDownload;
|
|
499
|
+
private registerSearch;
|
|
500
|
+
private registerPause;
|
|
501
|
+
private registerResume;
|
|
502
|
+
private registerCancel;
|
|
503
|
+
private registerGetFileIcon;
|
|
504
|
+
private registerOpen;
|
|
505
|
+
private registerShow;
|
|
506
|
+
private registerShowDefaultFolder;
|
|
507
|
+
private registerErase;
|
|
508
|
+
private registerRemoveFile;
|
|
509
|
+
private registerAcceptDanger;
|
|
510
|
+
private registerSetUiOptions;
|
|
511
|
+
}
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region src/chrome-apis/EnterpriseDeviceAttributesApiTools.d.ts
|
|
493
514
|
interface EnterpriseDeviceAttributesApiToolsOptions {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
declare class EnterpriseDeviceAttributesApiTools extends BaseApiTools {
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}
|
|
511
|
-
|
|
515
|
+
getDirectoryDeviceId?: boolean;
|
|
516
|
+
getDeviceSerialNumber?: boolean;
|
|
517
|
+
getDeviceAssetId?: boolean;
|
|
518
|
+
getDeviceAnnotatedLocation?: boolean;
|
|
519
|
+
getDeviceHostname?: boolean;
|
|
520
|
+
}
|
|
521
|
+
declare class EnterpriseDeviceAttributesApiTools extends BaseApiTools<EnterpriseDeviceAttributesApiToolsOptions> {
|
|
522
|
+
protected apiName: string;
|
|
523
|
+
constructor(server: McpServer, options?: EnterpriseDeviceAttributesApiToolsOptions);
|
|
524
|
+
checkAvailability(): ApiAvailability;
|
|
525
|
+
registerTools(): void;
|
|
526
|
+
private registerGetDirectoryDeviceId;
|
|
527
|
+
private registerGetDeviceSerialNumber;
|
|
528
|
+
private registerGetDeviceAssetId;
|
|
529
|
+
private registerGetDeviceAnnotatedLocation;
|
|
530
|
+
private registerGetDeviceHostname;
|
|
531
|
+
}
|
|
532
|
+
//#endregion
|
|
533
|
+
//#region src/chrome-apis/EnterpriseHardwarePlatformApiTools.d.ts
|
|
512
534
|
interface EnterpriseHardwarePlatformApiToolsOptions {
|
|
513
|
-
|
|
535
|
+
getHardwarePlatformInfo?: boolean;
|
|
514
536
|
}
|
|
515
|
-
declare class EnterpriseHardwarePlatformApiTools extends BaseApiTools {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
537
|
+
declare class EnterpriseHardwarePlatformApiTools extends BaseApiTools<EnterpriseHardwarePlatformApiToolsOptions> {
|
|
538
|
+
protected apiName: string;
|
|
539
|
+
constructor(server: McpServer, options?: EnterpriseHardwarePlatformApiToolsOptions);
|
|
540
|
+
checkAvailability(): ApiAvailability;
|
|
541
|
+
registerTools(): void;
|
|
542
|
+
private registerGetHardwarePlatformInfo;
|
|
521
543
|
}
|
|
522
|
-
|
|
544
|
+
//#endregion
|
|
545
|
+
//#region src/chrome-apis/EnterpriseNetworkingAttributesApiTools.d.ts
|
|
523
546
|
interface EnterpriseNetworkingAttributesApiToolsOptions {
|
|
524
|
-
|
|
547
|
+
getNetworkDetails?: boolean;
|
|
525
548
|
}
|
|
526
|
-
declare class EnterpriseNetworkingAttributesApiTools extends BaseApiTools {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
549
|
+
declare class EnterpriseNetworkingAttributesApiTools extends BaseApiTools<EnterpriseNetworkingAttributesApiToolsOptions> {
|
|
550
|
+
protected apiName: string;
|
|
551
|
+
constructor(server: McpServer, options?: EnterpriseNetworkingAttributesApiToolsOptions);
|
|
552
|
+
checkAvailability(): ApiAvailability;
|
|
553
|
+
registerTools(): void;
|
|
554
|
+
private registerGetNetworkDetails;
|
|
532
555
|
}
|
|
533
|
-
|
|
556
|
+
//#endregion
|
|
557
|
+
//#region src/chrome-apis/EnterprisePlatformKeysApiTools.d.ts
|
|
534
558
|
interface EnterprisePlatformKeysApiToolsOptions {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
}
|
|
542
|
-
declare class EnterprisePlatformKeysApiTools extends BaseApiTools {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}
|
|
554
|
-
|
|
559
|
+
getTokens?: boolean;
|
|
560
|
+
getCertificates?: boolean;
|
|
561
|
+
importCertificate?: boolean;
|
|
562
|
+
removeCertificate?: boolean;
|
|
563
|
+
challengeMachineKey?: boolean;
|
|
564
|
+
challengeUserKey?: boolean;
|
|
565
|
+
}
|
|
566
|
+
declare class EnterprisePlatformKeysApiTools extends BaseApiTools<EnterprisePlatformKeysApiToolsOptions> {
|
|
567
|
+
protected apiName: string;
|
|
568
|
+
constructor(server: McpServer, options?: EnterprisePlatformKeysApiToolsOptions);
|
|
569
|
+
checkAvailability(): ApiAvailability;
|
|
570
|
+
registerTools(): void;
|
|
571
|
+
private registerGetTokens;
|
|
572
|
+
private registerGetCertificates;
|
|
573
|
+
private registerImportCertificate;
|
|
574
|
+
private registerRemoveCertificate;
|
|
575
|
+
private registerChallengeMachineKey;
|
|
576
|
+
private registerChallengeUserKey;
|
|
577
|
+
}
|
|
578
|
+
//#endregion
|
|
579
|
+
//#region src/chrome-apis/ExtensionApiTools.d.ts
|
|
555
580
|
interface ExtensionApiToolsOptions {
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
}
|
|
562
|
-
declare class ExtensionApiTools extends BaseApiTools {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}
|
|
573
|
-
|
|
581
|
+
getBackgroundPage?: boolean;
|
|
582
|
+
getViews?: boolean;
|
|
583
|
+
isAllowedFileSchemeAccess?: boolean;
|
|
584
|
+
isAllowedIncognitoAccess?: boolean;
|
|
585
|
+
setUpdateUrlData?: boolean;
|
|
586
|
+
}
|
|
587
|
+
declare class ExtensionApiTools extends BaseApiTools<ExtensionApiToolsOptions> {
|
|
588
|
+
protected apiName: string;
|
|
589
|
+
constructor(server: McpServer, options?: ExtensionApiToolsOptions);
|
|
590
|
+
checkAvailability(): ApiAvailability;
|
|
591
|
+
registerTools(): void;
|
|
592
|
+
private registerGetBackgroundPage;
|
|
593
|
+
private registerGetViews;
|
|
594
|
+
private registerIsAllowedFileSchemeAccess;
|
|
595
|
+
private registerIsAllowedIncognitoAccess;
|
|
596
|
+
private registerSetUpdateUrlData;
|
|
597
|
+
}
|
|
598
|
+
//#endregion
|
|
599
|
+
//#region src/chrome-apis/FileBrowserHandlerApiTools.d.ts
|
|
574
600
|
interface FileBrowserHandlerApiToolsOptions {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
}
|
|
579
|
-
declare class FileBrowserHandlerApiTools extends BaseApiTools {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
}
|
|
588
|
-
|
|
601
|
+
getExecuteEventDetails?: boolean;
|
|
602
|
+
addExecuteListener?: boolean;
|
|
603
|
+
removeExecuteListener?: boolean;
|
|
604
|
+
}
|
|
605
|
+
declare class FileBrowserHandlerApiTools extends BaseApiTools<FileBrowserHandlerApiToolsOptions> {
|
|
606
|
+
protected apiName: string;
|
|
607
|
+
constructor(server: McpServer, options?: FileBrowserHandlerApiToolsOptions);
|
|
608
|
+
checkAvailability(): ApiAvailability;
|
|
609
|
+
registerTools(): void;
|
|
610
|
+
private registerGetExecuteEventDetails;
|
|
611
|
+
private registerAddExecuteListener;
|
|
612
|
+
private registerRemoveExecuteListener;
|
|
613
|
+
}
|
|
614
|
+
//#endregion
|
|
615
|
+
//#region src/chrome-apis/FileSystemProviderApiTools.d.ts
|
|
589
616
|
interface FileSystemProviderApiToolsOptions {
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
}
|
|
596
|
-
declare class FileSystemProviderApiTools extends BaseApiTools {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}
|
|
607
|
-
|
|
617
|
+
mount?: boolean;
|
|
618
|
+
unmount?: boolean;
|
|
619
|
+
get?: boolean;
|
|
620
|
+
getAll?: boolean;
|
|
621
|
+
notify?: boolean;
|
|
622
|
+
}
|
|
623
|
+
declare class FileSystemProviderApiTools extends BaseApiTools<FileSystemProviderApiToolsOptions> {
|
|
624
|
+
protected apiName: string;
|
|
625
|
+
constructor(server: McpServer, options?: FileSystemProviderApiToolsOptions);
|
|
626
|
+
checkAvailability(): ApiAvailability;
|
|
627
|
+
registerTools(): void;
|
|
628
|
+
private registerMount;
|
|
629
|
+
private registerUnmount;
|
|
630
|
+
private registerGet;
|
|
631
|
+
private registerGetAll;
|
|
632
|
+
private registerNotify;
|
|
633
|
+
}
|
|
634
|
+
//#endregion
|
|
635
|
+
//#region src/chrome-apis/FontSettingsApiTools.d.ts
|
|
608
636
|
interface FontSettingsApiToolsOptions {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
}
|
|
623
|
-
declare class FontSettingsApiTools extends BaseApiTools {
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}
|
|
642
|
-
|
|
637
|
+
getFont?: boolean;
|
|
638
|
+
setFont?: boolean;
|
|
639
|
+
clearFont?: boolean;
|
|
640
|
+
getFontList?: boolean;
|
|
641
|
+
getDefaultFontSize?: boolean;
|
|
642
|
+
setDefaultFontSize?: boolean;
|
|
643
|
+
clearDefaultFontSize?: boolean;
|
|
644
|
+
getDefaultFixedFontSize?: boolean;
|
|
645
|
+
setDefaultFixedFontSize?: boolean;
|
|
646
|
+
clearDefaultFixedFontSize?: boolean;
|
|
647
|
+
getMinimumFontSize?: boolean;
|
|
648
|
+
setMinimumFontSize?: boolean;
|
|
649
|
+
clearMinimumFontSize?: boolean;
|
|
650
|
+
}
|
|
651
|
+
declare class FontSettingsApiTools extends BaseApiTools<FontSettingsApiToolsOptions> {
|
|
652
|
+
protected apiName: string;
|
|
653
|
+
constructor(server: McpServer, options?: FontSettingsApiToolsOptions);
|
|
654
|
+
checkAvailability(): ApiAvailability;
|
|
655
|
+
registerTools(): void;
|
|
656
|
+
private registerGetFont;
|
|
657
|
+
private registerSetFont;
|
|
658
|
+
private registerClearFont;
|
|
659
|
+
private registerGetFontList;
|
|
660
|
+
private registerGetDefaultFontSize;
|
|
661
|
+
private registerSetDefaultFontSize;
|
|
662
|
+
private registerClearDefaultFontSize;
|
|
663
|
+
private registerGetDefaultFixedFontSize;
|
|
664
|
+
private registerSetDefaultFixedFontSize;
|
|
665
|
+
private registerClearDefaultFixedFontSize;
|
|
666
|
+
private registerGetMinimumFontSize;
|
|
667
|
+
private registerSetMinimumFontSize;
|
|
668
|
+
private registerClearMinimumFontSize;
|
|
669
|
+
}
|
|
670
|
+
//#endregion
|
|
671
|
+
//#region src/chrome-apis/GcmApiTools.d.ts
|
|
643
672
|
interface GcmApiToolsOptions {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
}
|
|
648
|
-
declare class GcmApiTools extends BaseApiTools {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
}
|
|
657
|
-
|
|
673
|
+
register?: boolean;
|
|
674
|
+
send?: boolean;
|
|
675
|
+
unregister?: boolean;
|
|
676
|
+
}
|
|
677
|
+
declare class GcmApiTools extends BaseApiTools<GcmApiToolsOptions> {
|
|
678
|
+
protected apiName: string;
|
|
679
|
+
constructor(server: McpServer, options?: GcmApiToolsOptions);
|
|
680
|
+
checkAvailability(): ApiAvailability;
|
|
681
|
+
registerTools(): void;
|
|
682
|
+
private registerRegister;
|
|
683
|
+
private registerSend;
|
|
684
|
+
private registerUnregister;
|
|
685
|
+
}
|
|
686
|
+
//#endregion
|
|
687
|
+
//#region src/chrome-apis/HistoryApiTools.d.ts
|
|
658
688
|
interface HistoryApiToolsOptions {
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
689
|
+
addUrl?: boolean;
|
|
690
|
+
deleteAll?: boolean;
|
|
691
|
+
deleteRange?: boolean;
|
|
692
|
+
deleteUrl?: boolean;
|
|
693
|
+
getVisits?: boolean;
|
|
694
|
+
search?: boolean;
|
|
665
695
|
}
|
|
666
696
|
declare const HISTORY_ACTIONS: readonly ["addUrl", "deleteAll", "deleteRange", "deleteUrl", "getVisits", "search"];
|
|
667
|
-
declare class HistoryApiTools extends BaseApiTools {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
}
|
|
685
|
-
|
|
697
|
+
declare class HistoryApiTools extends BaseApiTools<HistoryApiToolsOptions> {
|
|
698
|
+
protected apiName: string;
|
|
699
|
+
constructor(server: McpServer, options?: HistoryApiToolsOptions);
|
|
700
|
+
checkAvailability(): ApiAvailability;
|
|
701
|
+
registerTools(): void;
|
|
702
|
+
private handleAddUrl;
|
|
703
|
+
private handleDeleteAll;
|
|
704
|
+
private handleDeleteRange;
|
|
705
|
+
private handleDeleteUrl;
|
|
706
|
+
private handleGetVisits;
|
|
707
|
+
private handleSearch;
|
|
708
|
+
private addUrlSchema;
|
|
709
|
+
private deleteAllSchema;
|
|
710
|
+
private deleteRangeSchema;
|
|
711
|
+
private deleteUrlSchema;
|
|
712
|
+
private getVisitsSchema;
|
|
713
|
+
private searchSchema;
|
|
714
|
+
}
|
|
715
|
+
//#endregion
|
|
716
|
+
//#region src/chrome-apis/I18nApiTools.d.ts
|
|
686
717
|
interface I18nApiToolsOptions {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}
|
|
692
|
-
declare class I18nApiTools extends BaseApiTools {
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
}
|
|
702
|
-
|
|
718
|
+
getMessage?: boolean;
|
|
719
|
+
getUILanguage?: boolean;
|
|
720
|
+
getAcceptLanguages?: boolean;
|
|
721
|
+
detectLanguage?: boolean;
|
|
722
|
+
}
|
|
723
|
+
declare class I18nApiTools extends BaseApiTools<I18nApiToolsOptions> {
|
|
724
|
+
protected apiName: string;
|
|
725
|
+
constructor(server: McpServer, options?: I18nApiToolsOptions);
|
|
726
|
+
checkAvailability(): ApiAvailability;
|
|
727
|
+
registerTools(): void;
|
|
728
|
+
private registerGetMessage;
|
|
729
|
+
private registerGetUILanguage;
|
|
730
|
+
private registerGetAcceptLanguages;
|
|
731
|
+
private registerDetectLanguage;
|
|
732
|
+
}
|
|
733
|
+
//#endregion
|
|
734
|
+
//#region src/chrome-apis/IdentityApiTools.d.ts
|
|
703
735
|
interface IdentityApiToolsOptions {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}
|
|
712
|
-
declare class IdentityApiTools extends BaseApiTools {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
725
|
-
|
|
736
|
+
getAuthToken?: boolean;
|
|
737
|
+
getProfileUserInfo?: boolean;
|
|
738
|
+
getAccounts?: boolean;
|
|
739
|
+
getRedirectURL?: boolean;
|
|
740
|
+
launchWebAuthFlow?: boolean;
|
|
741
|
+
removeCachedAuthToken?: boolean;
|
|
742
|
+
clearAllCachedAuthTokens?: boolean;
|
|
743
|
+
}
|
|
744
|
+
declare class IdentityApiTools extends BaseApiTools<IdentityApiToolsOptions> {
|
|
745
|
+
protected apiName: string;
|
|
746
|
+
constructor(server: McpServer, options?: IdentityApiToolsOptions);
|
|
747
|
+
checkAvailability(): ApiAvailability;
|
|
748
|
+
registerTools(): void;
|
|
749
|
+
private registerGetAuthToken;
|
|
750
|
+
private registerGetProfileUserInfo;
|
|
751
|
+
private registerGetAccounts;
|
|
752
|
+
private registerGetRedirectURL;
|
|
753
|
+
private registerLaunchWebAuthFlow;
|
|
754
|
+
private registerRemoveCachedAuthToken;
|
|
755
|
+
private registerClearAllCachedAuthTokens;
|
|
756
|
+
}
|
|
757
|
+
//#endregion
|
|
758
|
+
//#region src/chrome-apis/IdleApiTools.d.ts
|
|
726
759
|
interface IdleApiToolsOptions {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}
|
|
731
|
-
declare class IdleApiTools extends BaseApiTools {
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}
|
|
740
|
-
|
|
760
|
+
queryState?: boolean;
|
|
761
|
+
setDetectionInterval?: boolean;
|
|
762
|
+
getAutoLockDelay?: boolean;
|
|
763
|
+
}
|
|
764
|
+
declare class IdleApiTools extends BaseApiTools<IdleApiToolsOptions> {
|
|
765
|
+
protected apiName: string;
|
|
766
|
+
constructor(server: McpServer, options?: IdleApiToolsOptions);
|
|
767
|
+
checkAvailability(): ApiAvailability;
|
|
768
|
+
registerTools(): void;
|
|
769
|
+
private registerQueryState;
|
|
770
|
+
private registerSetDetectionInterval;
|
|
771
|
+
private registerGetAutoLockDelay;
|
|
772
|
+
}
|
|
773
|
+
//#endregion
|
|
774
|
+
//#region src/chrome-apis/InputImeApiTools.d.ts
|
|
741
775
|
interface InputImeApiToolsOptions {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
declare class InputImeApiTools extends BaseApiTools {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
}
|
|
771
|
-
|
|
776
|
+
setComposition?: boolean;
|
|
777
|
+
clearComposition?: boolean;
|
|
778
|
+
commitText?: boolean;
|
|
779
|
+
sendKeyEvents?: boolean;
|
|
780
|
+
hideInputView?: boolean;
|
|
781
|
+
setCandidateWindowProperties?: boolean;
|
|
782
|
+
setCandidates?: boolean;
|
|
783
|
+
setCursorPosition?: boolean;
|
|
784
|
+
setMenuItems?: boolean;
|
|
785
|
+
updateMenuItems?: boolean;
|
|
786
|
+
deleteSurroundingText?: boolean;
|
|
787
|
+
}
|
|
788
|
+
declare class InputImeApiTools extends BaseApiTools<InputImeApiToolsOptions> {
|
|
789
|
+
protected apiName: string;
|
|
790
|
+
constructor(server: McpServer, options?: InputImeApiToolsOptions);
|
|
791
|
+
checkAvailability(): ApiAvailability;
|
|
792
|
+
registerTools(): void;
|
|
793
|
+
private registerSetComposition;
|
|
794
|
+
private registerClearComposition;
|
|
795
|
+
private registerCommitText;
|
|
796
|
+
private registerSendKeyEvents;
|
|
797
|
+
private registerHideInputView;
|
|
798
|
+
private registerSetCandidateWindowProperties;
|
|
799
|
+
private registerSetCandidates;
|
|
800
|
+
private registerSetCursorPosition;
|
|
801
|
+
private registerSetMenuItems;
|
|
802
|
+
private registerUpdateMenuItems;
|
|
803
|
+
private registerDeleteSurroundingText;
|
|
804
|
+
}
|
|
805
|
+
//#endregion
|
|
806
|
+
//#region src/chrome-apis/InstanceIDApiTools.d.ts
|
|
772
807
|
interface InstanceIDApiToolsOptions {
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
}
|
|
779
|
-
declare class InstanceIDApiTools extends BaseApiTools {
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
}
|
|
790
|
-
|
|
808
|
+
getID?: boolean;
|
|
809
|
+
getCreationTime?: boolean;
|
|
810
|
+
getToken?: boolean;
|
|
811
|
+
deleteToken?: boolean;
|
|
812
|
+
deleteID?: boolean;
|
|
813
|
+
}
|
|
814
|
+
declare class InstanceIDApiTools extends BaseApiTools<InstanceIDApiToolsOptions> {
|
|
815
|
+
protected apiName: string;
|
|
816
|
+
constructor(server: McpServer, options?: InstanceIDApiToolsOptions);
|
|
817
|
+
checkAvailability(): ApiAvailability;
|
|
818
|
+
registerTools(): void;
|
|
819
|
+
private registerGetID;
|
|
820
|
+
private registerGetCreationTime;
|
|
821
|
+
private registerGetToken;
|
|
822
|
+
private registerDeleteToken;
|
|
823
|
+
private registerDeleteID;
|
|
824
|
+
}
|
|
825
|
+
//#endregion
|
|
826
|
+
//#region src/chrome-apis/LoginStateApiTools.d.ts
|
|
791
827
|
interface LoginStateApiToolsOptions {
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}
|
|
795
|
-
declare class LoginStateApiTools extends BaseApiTools {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
|
|
828
|
+
getProfileType?: boolean;
|
|
829
|
+
getSessionState?: boolean;
|
|
830
|
+
}
|
|
831
|
+
declare class LoginStateApiTools extends BaseApiTools<LoginStateApiToolsOptions> {
|
|
832
|
+
protected apiName: string;
|
|
833
|
+
constructor(server: McpServer, options?: LoginStateApiToolsOptions);
|
|
834
|
+
checkAvailability(): ApiAvailability;
|
|
835
|
+
registerTools(): void;
|
|
836
|
+
private registerGetProfileType;
|
|
837
|
+
private registerGetSessionState;
|
|
838
|
+
}
|
|
839
|
+
//#endregion
|
|
840
|
+
//#region src/chrome-apis/ManagementApiTools.d.ts
|
|
804
841
|
interface ManagementApiToolsOptions {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
}
|
|
818
|
-
declare class ManagementApiTools extends BaseApiTools {
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}
|
|
836
|
-
|
|
842
|
+
get?: boolean;
|
|
843
|
+
getAll?: boolean;
|
|
844
|
+
getSelf?: boolean;
|
|
845
|
+
setEnabled?: boolean;
|
|
846
|
+
uninstall?: boolean;
|
|
847
|
+
uninstallSelf?: boolean;
|
|
848
|
+
launchApp?: boolean;
|
|
849
|
+
createAppShortcut?: boolean;
|
|
850
|
+
generateAppForLink?: boolean;
|
|
851
|
+
setLaunchType?: boolean;
|
|
852
|
+
getPermissionWarningsById?: boolean;
|
|
853
|
+
getPermissionWarningsByManifest?: boolean;
|
|
854
|
+
}
|
|
855
|
+
declare class ManagementApiTools extends BaseApiTools<ManagementApiToolsOptions> {
|
|
856
|
+
protected apiName: string;
|
|
857
|
+
constructor(server: McpServer, options?: ManagementApiToolsOptions);
|
|
858
|
+
checkAvailability(): ApiAvailability;
|
|
859
|
+
registerTools(): void;
|
|
860
|
+
private registerGet;
|
|
861
|
+
private registerGetAll;
|
|
862
|
+
private registerGetSelf;
|
|
863
|
+
private registerSetEnabled;
|
|
864
|
+
private registerUninstall;
|
|
865
|
+
private registerUninstallSelf;
|
|
866
|
+
private registerLaunchApp;
|
|
867
|
+
private registerCreateAppShortcut;
|
|
868
|
+
private registerGenerateAppForLink;
|
|
869
|
+
private registerSetLaunchType;
|
|
870
|
+
private registerGetPermissionWarningsById;
|
|
871
|
+
private registerGetPermissionWarningsByManifest;
|
|
872
|
+
}
|
|
873
|
+
//#endregion
|
|
874
|
+
//#region src/chrome-apis/NotificationsApiTools.d.ts
|
|
837
875
|
interface NotificationsApiToolsOptions {
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
}
|
|
844
|
-
declare class NotificationsApiTools extends BaseApiTools {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
|
|
876
|
+
createNotification?: boolean;
|
|
877
|
+
updateNotification?: boolean;
|
|
878
|
+
clearNotification?: boolean;
|
|
879
|
+
getAllNotifications?: boolean;
|
|
880
|
+
getPermissionLevel?: boolean;
|
|
881
|
+
}
|
|
882
|
+
declare class NotificationsApiTools extends BaseApiTools<NotificationsApiToolsOptions> {
|
|
883
|
+
protected apiName: string;
|
|
884
|
+
constructor(server: McpServer, options?: NotificationsApiToolsOptions);
|
|
885
|
+
checkAvailability(): ApiAvailability;
|
|
886
|
+
registerTools(): void;
|
|
887
|
+
private registerCreateNotification;
|
|
888
|
+
private registerUpdateNotification;
|
|
889
|
+
private registerClearNotification;
|
|
890
|
+
private registerGetAllNotifications;
|
|
891
|
+
private registerGetPermissionLevel;
|
|
892
|
+
}
|
|
893
|
+
//#endregion
|
|
894
|
+
//#region src/chrome-apis/OffscreenApiTools.d.ts
|
|
856
895
|
interface OffscreenApiToolsOptions {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
}
|
|
861
|
-
declare class OffscreenApiTools extends BaseApiTools {
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
}
|
|
870
|
-
|
|
896
|
+
createDocument?: boolean;
|
|
897
|
+
closeDocument?: boolean;
|
|
898
|
+
hasOffscreenDocument?: boolean;
|
|
899
|
+
}
|
|
900
|
+
declare class OffscreenApiTools extends BaseApiTools<OffscreenApiToolsOptions> {
|
|
901
|
+
protected apiName: string;
|
|
902
|
+
constructor(server: McpServer, options?: OffscreenApiToolsOptions);
|
|
903
|
+
checkAvailability(): ApiAvailability;
|
|
904
|
+
registerTools(): void;
|
|
905
|
+
private registerCreateDocument;
|
|
906
|
+
private registerCloseDocument;
|
|
907
|
+
private registerHasOffscreenDocument;
|
|
908
|
+
}
|
|
909
|
+
//#endregion
|
|
910
|
+
//#region src/chrome-apis/OmniboxApiTools.d.ts
|
|
871
911
|
interface OmniboxApiToolsOptions {
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
}
|
|
879
|
-
declare class OmniboxApiTools extends BaseApiTools {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
}
|
|
891
|
-
|
|
912
|
+
setDefaultSuggestion?: boolean;
|
|
913
|
+
onInputStarted?: boolean;
|
|
914
|
+
onInputChanged?: boolean;
|
|
915
|
+
onInputEntered?: boolean;
|
|
916
|
+
onInputCancelled?: boolean;
|
|
917
|
+
onDeleteSuggestion?: boolean;
|
|
918
|
+
}
|
|
919
|
+
declare class OmniboxApiTools extends BaseApiTools<OmniboxApiToolsOptions> {
|
|
920
|
+
protected apiName: string;
|
|
921
|
+
constructor(server: McpServer, options?: OmniboxApiToolsOptions);
|
|
922
|
+
checkAvailability(): ApiAvailability;
|
|
923
|
+
registerTools(): void;
|
|
924
|
+
private registerSetDefaultSuggestion;
|
|
925
|
+
private registerOnInputStarted;
|
|
926
|
+
private registerOnInputChanged;
|
|
927
|
+
private registerOnInputEntered;
|
|
928
|
+
private registerOnInputCancelled;
|
|
929
|
+
private registerOnDeleteSuggestion;
|
|
930
|
+
}
|
|
931
|
+
//#endregion
|
|
932
|
+
//#region src/chrome-apis/PageCaptureApiTools.d.ts
|
|
892
933
|
interface PageCaptureApiToolsOptions {
|
|
893
|
-
|
|
934
|
+
saveAsMHTML?: boolean;
|
|
894
935
|
}
|
|
895
|
-
declare class PageCaptureApiTools extends BaseApiTools {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
936
|
+
declare class PageCaptureApiTools extends BaseApiTools<PageCaptureApiToolsOptions> {
|
|
937
|
+
protected apiName: string;
|
|
938
|
+
constructor(server: McpServer, options?: PageCaptureApiToolsOptions);
|
|
939
|
+
checkAvailability(): ApiAvailability;
|
|
940
|
+
registerTools(): void;
|
|
941
|
+
private registerSaveAsMHTML;
|
|
901
942
|
}
|
|
902
|
-
|
|
943
|
+
//#endregion
|
|
944
|
+
//#region src/chrome-apis/PermissionsApiTools.d.ts
|
|
903
945
|
interface PermissionsApiToolsOptions {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
}
|
|
911
|
-
declare class PermissionsApiTools extends BaseApiTools {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}
|
|
923
|
-
|
|
946
|
+
request?: boolean;
|
|
947
|
+
contains?: boolean;
|
|
948
|
+
getAll?: boolean;
|
|
949
|
+
remove?: boolean;
|
|
950
|
+
addHostAccessRequest?: boolean;
|
|
951
|
+
removeHostAccessRequest?: boolean;
|
|
952
|
+
}
|
|
953
|
+
declare class PermissionsApiTools extends BaseApiTools<PermissionsApiToolsOptions> {
|
|
954
|
+
protected apiName: string;
|
|
955
|
+
constructor(server: McpServer, options?: PermissionsApiToolsOptions);
|
|
956
|
+
checkAvailability(): ApiAvailability;
|
|
957
|
+
registerTools(): void;
|
|
958
|
+
private registerRequest;
|
|
959
|
+
private registerContains;
|
|
960
|
+
private registerGetAll;
|
|
961
|
+
private registerRemove;
|
|
962
|
+
private registerAddHostAccessRequest;
|
|
963
|
+
private registerRemoveHostAccessRequest;
|
|
964
|
+
}
|
|
965
|
+
//#endregion
|
|
966
|
+
//#region src/chrome-apis/PlatformKeysApiTools.d.ts
|
|
924
967
|
interface PlatformKeysApiToolsOptions {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
}
|
|
931
|
-
declare class PlatformKeysApiTools extends BaseApiTools {
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}
|
|
942
|
-
|
|
968
|
+
selectClientCertificates?: boolean;
|
|
969
|
+
getKeyPair?: boolean;
|
|
970
|
+
getKeyPairBySpki?: boolean;
|
|
971
|
+
verifyTLSServerCertificate?: boolean;
|
|
972
|
+
getSubtleCrypto?: boolean;
|
|
973
|
+
}
|
|
974
|
+
declare class PlatformKeysApiTools extends BaseApiTools<PlatformKeysApiToolsOptions> {
|
|
975
|
+
protected apiName: string;
|
|
976
|
+
constructor(server: McpServer, options?: PlatformKeysApiToolsOptions);
|
|
977
|
+
checkAvailability(): ApiAvailability;
|
|
978
|
+
registerTools(): void;
|
|
979
|
+
private registerSelectClientCertificates;
|
|
980
|
+
private registerGetKeyPair;
|
|
981
|
+
private registerGetKeyPairBySpki;
|
|
982
|
+
private registerVerifyTLSServerCertificate;
|
|
983
|
+
private registerGetSubtleCrypto;
|
|
984
|
+
}
|
|
985
|
+
//#endregion
|
|
986
|
+
//#region src/chrome-apis/PowerApiTools.d.ts
|
|
943
987
|
interface PowerApiToolsOptions {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
}
|
|
948
|
-
declare class PowerApiTools extends BaseApiTools {
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
}
|
|
957
|
-
|
|
988
|
+
requestKeepAwake?: boolean;
|
|
989
|
+
releaseKeepAwake?: boolean;
|
|
990
|
+
reportActivity?: boolean;
|
|
991
|
+
}
|
|
992
|
+
declare class PowerApiTools extends BaseApiTools<PowerApiToolsOptions> {
|
|
993
|
+
protected apiName: string;
|
|
994
|
+
constructor(server: McpServer, options?: PowerApiToolsOptions);
|
|
995
|
+
checkAvailability(): ApiAvailability;
|
|
996
|
+
registerTools(): void;
|
|
997
|
+
private registerRequestKeepAwake;
|
|
998
|
+
private registerReleaseKeepAwake;
|
|
999
|
+
private registerReportActivity;
|
|
1000
|
+
}
|
|
1001
|
+
//#endregion
|
|
1002
|
+
//#region src/chrome-apis/PrintingApiTools.d.ts
|
|
958
1003
|
interface PrintingApiToolsOptions {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
}
|
|
965
|
-
declare class PrintingApiTools extends BaseApiTools {
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
}
|
|
977
|
-
|
|
1004
|
+
getPrinters?: boolean;
|
|
1005
|
+
getPrinterInfo?: boolean;
|
|
1006
|
+
submitJob?: boolean;
|
|
1007
|
+
cancelJob?: boolean;
|
|
1008
|
+
getJobStatus?: boolean;
|
|
1009
|
+
}
|
|
1010
|
+
declare class PrintingApiTools extends BaseApiTools<PrintingApiToolsOptions> {
|
|
1011
|
+
protected apiName: string;
|
|
1012
|
+
constructor(server: McpServer, options?: PrintingApiToolsOptions);
|
|
1013
|
+
checkAvailability(): ApiAvailability;
|
|
1014
|
+
registerTools(): void;
|
|
1015
|
+
private registerGetPrinters;
|
|
1016
|
+
private registerGetPrinterInfo;
|
|
1017
|
+
private registerSubmitJob;
|
|
1018
|
+
private registerCancelJob;
|
|
1019
|
+
private registerGetJobStatus;
|
|
1020
|
+
private getJobStatusDescription;
|
|
1021
|
+
}
|
|
1022
|
+
//#endregion
|
|
1023
|
+
//#region src/chrome-apis/PrintingMetricsApiTools.d.ts
|
|
978
1024
|
interface PrintingMetricsApiToolsOptions {
|
|
979
|
-
|
|
1025
|
+
getPrintJobs?: boolean;
|
|
980
1026
|
}
|
|
981
|
-
declare class PrintingMetricsApiTools extends BaseApiTools {
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1027
|
+
declare class PrintingMetricsApiTools extends BaseApiTools<PrintingMetricsApiToolsOptions> {
|
|
1028
|
+
protected apiName: string;
|
|
1029
|
+
constructor(server: McpServer, options?: PrintingMetricsApiToolsOptions);
|
|
1030
|
+
checkAvailability(): ApiAvailability;
|
|
1031
|
+
registerTools(): void;
|
|
1032
|
+
private registerGetPrintJobs;
|
|
987
1033
|
}
|
|
988
|
-
|
|
1034
|
+
//#endregion
|
|
1035
|
+
//#region src/chrome-apis/ProxyApiTools.d.ts
|
|
989
1036
|
interface ProxyApiToolsOptions {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
}
|
|
994
|
-
declare class ProxyApiTools extends BaseApiTools {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1037
|
+
getProxySettings?: boolean;
|
|
1038
|
+
setProxySettings?: boolean;
|
|
1039
|
+
clearProxySettings?: boolean;
|
|
1040
|
+
}
|
|
1041
|
+
declare class ProxyApiTools extends BaseApiTools<ProxyApiToolsOptions> {
|
|
1042
|
+
protected apiName: string;
|
|
1043
|
+
constructor(server: McpServer, options?: ProxyApiToolsOptions);
|
|
1044
|
+
checkAvailability(): ApiAvailability;
|
|
1045
|
+
registerTools(): void;
|
|
1046
|
+
private registerGetProxySettings;
|
|
1047
|
+
private registerSetProxySettings;
|
|
1048
|
+
private registerClearProxySettings;
|
|
1049
|
+
}
|
|
1050
|
+
//#endregion
|
|
1051
|
+
//#region src/chrome-apis/ReadingListApiTools.d.ts
|
|
1004
1052
|
interface ReadingListApiToolsOptions {
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
}
|
|
1010
|
-
declare class ReadingListApiTools extends BaseApiTools {
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1053
|
+
addEntry?: boolean;
|
|
1054
|
+
query?: boolean;
|
|
1055
|
+
removeEntry?: boolean;
|
|
1056
|
+
updateEntry?: boolean;
|
|
1057
|
+
}
|
|
1058
|
+
declare class ReadingListApiTools extends BaseApiTools<ReadingListApiToolsOptions> {
|
|
1059
|
+
protected apiName: string;
|
|
1060
|
+
constructor(server: McpServer, options?: ReadingListApiToolsOptions);
|
|
1061
|
+
checkAvailability(): ApiAvailability;
|
|
1062
|
+
registerTools(): void;
|
|
1063
|
+
private registerAddEntry;
|
|
1064
|
+
private registerQuery;
|
|
1065
|
+
private registerRemoveEntry;
|
|
1066
|
+
private registerUpdateEntry;
|
|
1067
|
+
}
|
|
1068
|
+
//#endregion
|
|
1069
|
+
//#region src/chrome-apis/RuntimeApiTools.d.ts
|
|
1021
1070
|
interface RuntimeApiToolsOptions {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
declare class RuntimeApiTools extends BaseApiTools {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1071
|
+
connect?: boolean;
|
|
1072
|
+
connectNative?: boolean;
|
|
1073
|
+
getContexts?: boolean;
|
|
1074
|
+
getManifest?: boolean;
|
|
1075
|
+
getPackageDirectoryEntry?: boolean;
|
|
1076
|
+
getPlatformInfo?: boolean;
|
|
1077
|
+
getURL?: boolean;
|
|
1078
|
+
openOptionsPage?: boolean;
|
|
1079
|
+
reload?: boolean;
|
|
1080
|
+
requestUpdateCheck?: boolean;
|
|
1081
|
+
restart?: boolean;
|
|
1082
|
+
restartAfterDelay?: boolean;
|
|
1083
|
+
sendMessage?: boolean;
|
|
1084
|
+
sendNativeMessage?: boolean;
|
|
1085
|
+
setUninstallURL?: boolean;
|
|
1086
|
+
}
|
|
1087
|
+
declare class RuntimeApiTools extends BaseApiTools<RuntimeApiToolsOptions> {
|
|
1088
|
+
protected apiName: string;
|
|
1089
|
+
constructor(server: McpServer, options?: RuntimeApiToolsOptions);
|
|
1090
|
+
checkAvailability(): ApiAvailability;
|
|
1091
|
+
registerTools(): void;
|
|
1092
|
+
private registerConnect;
|
|
1093
|
+
private registerConnectNative;
|
|
1094
|
+
private registerGetContexts;
|
|
1095
|
+
private registerGetManifest;
|
|
1096
|
+
private registerGetPackageDirectoryEntry;
|
|
1097
|
+
private registerGetPlatformInfo;
|
|
1098
|
+
private registerGetURL;
|
|
1099
|
+
private registerOpenOptionsPage;
|
|
1100
|
+
private registerReload;
|
|
1101
|
+
private registerRequestUpdateCheck;
|
|
1102
|
+
private registerRestart;
|
|
1103
|
+
private registerRestartAfterDelay;
|
|
1104
|
+
private registerSendMessage;
|
|
1105
|
+
private registerSendNativeMessage;
|
|
1106
|
+
private registerSetUninstallURL;
|
|
1107
|
+
}
|
|
1108
|
+
//#endregion
|
|
1109
|
+
//#region src/chrome-apis/ScriptingApiTools.d.ts
|
|
1060
1110
|
interface ScriptingApiToolsOptions {
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
}
|
|
1066
|
-
declare class ScriptingApiTools extends BaseApiTools {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1111
|
+
executeScript?: boolean;
|
|
1112
|
+
executeUserScript?: boolean;
|
|
1113
|
+
insertCSS?: boolean;
|
|
1114
|
+
removeCSS?: boolean;
|
|
1115
|
+
}
|
|
1116
|
+
declare class ScriptingApiTools extends BaseApiTools<ScriptingApiToolsOptions> {
|
|
1117
|
+
protected apiName: string;
|
|
1118
|
+
constructor(server: McpServer, options?: ScriptingApiToolsOptions);
|
|
1119
|
+
checkAvailability(): ApiAvailability;
|
|
1120
|
+
registerTools(): void;
|
|
1121
|
+
private checkAndRegisterUserScripts;
|
|
1122
|
+
private getChromeVersion;
|
|
1123
|
+
private registerExecuteScript;
|
|
1124
|
+
private registerUserScriptExecute;
|
|
1125
|
+
private registerUserScriptLegacy;
|
|
1126
|
+
private registerInsertCSS;
|
|
1127
|
+
private registerRemoveCSS;
|
|
1128
|
+
}
|
|
1129
|
+
//#endregion
|
|
1130
|
+
//#region src/chrome-apis/SearchApiTools.d.ts
|
|
1080
1131
|
interface SearchApiToolsOptions {
|
|
1081
|
-
|
|
1132
|
+
query?: boolean;
|
|
1082
1133
|
}
|
|
1083
|
-
declare class SearchApiTools extends BaseApiTools {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1134
|
+
declare class SearchApiTools extends BaseApiTools<SearchApiToolsOptions> {
|
|
1135
|
+
protected apiName: string;
|
|
1136
|
+
constructor(server: McpServer, options?: SearchApiToolsOptions);
|
|
1137
|
+
checkAvailability(): ApiAvailability;
|
|
1138
|
+
registerTools(): void;
|
|
1139
|
+
private registerQuery;
|
|
1089
1140
|
}
|
|
1090
|
-
|
|
1141
|
+
//#endregion
|
|
1142
|
+
//#region src/chrome-apis/SessionsApiTools.d.ts
|
|
1091
1143
|
interface SessionsApiToolsOptions {
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
}
|
|
1096
|
-
declare class SessionsApiTools extends BaseApiTools {
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1144
|
+
getDevices?: boolean;
|
|
1145
|
+
getRecentlyClosed?: boolean;
|
|
1146
|
+
restore?: boolean;
|
|
1147
|
+
}
|
|
1148
|
+
declare class SessionsApiTools extends BaseApiTools<SessionsApiToolsOptions> {
|
|
1149
|
+
protected apiName: string;
|
|
1150
|
+
constructor(server: McpServer, options?: SessionsApiToolsOptions);
|
|
1151
|
+
checkAvailability(): ApiAvailability;
|
|
1152
|
+
registerTools(): void;
|
|
1153
|
+
private registerGetDevices;
|
|
1154
|
+
private registerGetRecentlyClosed;
|
|
1155
|
+
private registerRestore;
|
|
1156
|
+
}
|
|
1157
|
+
//#endregion
|
|
1158
|
+
//#region src/chrome-apis/SidePanelApiTools.d.ts
|
|
1106
1159
|
interface SidePanelApiToolsOptions {
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
}
|
|
1113
|
-
declare class SidePanelApiTools extends BaseApiTools {
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1160
|
+
getOptions?: boolean;
|
|
1161
|
+
setOptions?: boolean;
|
|
1162
|
+
getPanelBehavior?: boolean;
|
|
1163
|
+
setPanelBehavior?: boolean;
|
|
1164
|
+
open?: boolean;
|
|
1165
|
+
}
|
|
1166
|
+
declare class SidePanelApiTools extends BaseApiTools<SidePanelApiToolsOptions> {
|
|
1167
|
+
protected apiName: string;
|
|
1168
|
+
constructor(server: McpServer, options?: SidePanelApiToolsOptions);
|
|
1169
|
+
checkAvailability(): ApiAvailability;
|
|
1170
|
+
registerTools(): void;
|
|
1171
|
+
private registerGetOptions;
|
|
1172
|
+
private registerSetOptions;
|
|
1173
|
+
private registerGetPanelBehavior;
|
|
1174
|
+
private registerSetPanelBehavior;
|
|
1175
|
+
private registerOpen;
|
|
1176
|
+
}
|
|
1177
|
+
//#endregion
|
|
1178
|
+
//#region src/chrome-apis/StorageApiTools.d.ts
|
|
1125
1179
|
interface StorageApiToolsOptions {
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1180
|
+
getStorage?: boolean;
|
|
1181
|
+
setStorage?: boolean;
|
|
1182
|
+
removeStorage?: boolean;
|
|
1183
|
+
clearStorage?: boolean;
|
|
1184
|
+
getBytesInUse?: boolean;
|
|
1131
1185
|
}
|
|
1132
1186
|
declare const STORAGE_ACTIONS: readonly ["getStorage", "setStorage", "removeStorage", "clearStorage", "getBytesInUse"];
|
|
1133
|
-
declare class StorageApiTools extends BaseApiTools {
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1187
|
+
declare class StorageApiTools extends BaseApiTools<StorageApiToolsOptions> {
|
|
1188
|
+
protected apiName: string;
|
|
1189
|
+
constructor(server: McpServer, options?: StorageApiToolsOptions);
|
|
1190
|
+
checkAvailability(): ApiAvailability;
|
|
1191
|
+
registerTools(): void;
|
|
1192
|
+
private getAvailableAreas;
|
|
1193
|
+
private handleGetStorage;
|
|
1194
|
+
private handleSetStorage;
|
|
1195
|
+
private handleRemoveStorage;
|
|
1196
|
+
private handleClearStorage;
|
|
1197
|
+
private handleGetBytesInUse;
|
|
1198
|
+
private getStorageSchema;
|
|
1199
|
+
private setStorageSchema;
|
|
1200
|
+
private removeStorageSchema;
|
|
1201
|
+
private clearStorageSchema;
|
|
1202
|
+
private getBytesInUseSchema;
|
|
1203
|
+
private formatBytes;
|
|
1204
|
+
}
|
|
1205
|
+
//#endregion
|
|
1206
|
+
//#region src/chrome-apis/SystemCpuApiTools.d.ts
|
|
1152
1207
|
interface SystemCpuApiToolsOptions {
|
|
1153
|
-
|
|
1208
|
+
getInfo?: boolean;
|
|
1154
1209
|
}
|
|
1155
|
-
declare class SystemCpuApiTools extends BaseApiTools {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1210
|
+
declare class SystemCpuApiTools extends BaseApiTools<SystemCpuApiToolsOptions> {
|
|
1211
|
+
protected apiName: string;
|
|
1212
|
+
constructor(server: McpServer, options?: SystemCpuApiToolsOptions);
|
|
1213
|
+
checkAvailability(): ApiAvailability;
|
|
1214
|
+
registerTools(): void;
|
|
1215
|
+
private registerGetInfo;
|
|
1161
1216
|
}
|
|
1162
|
-
|
|
1217
|
+
//#endregion
|
|
1218
|
+
//#region src/chrome-apis/SystemLogApiTools.d.ts
|
|
1163
1219
|
interface SystemLogApiToolsOptions {
|
|
1164
|
-
|
|
1220
|
+
addLog?: boolean;
|
|
1165
1221
|
}
|
|
1166
|
-
declare class SystemLogApiTools extends BaseApiTools {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1222
|
+
declare class SystemLogApiTools extends BaseApiTools<SystemLogApiToolsOptions> {
|
|
1223
|
+
protected apiName: string;
|
|
1224
|
+
constructor(server: McpServer, options?: SystemLogApiToolsOptions);
|
|
1225
|
+
checkAvailability(): ApiAvailability;
|
|
1226
|
+
registerTools(): void;
|
|
1227
|
+
private registerAddLog;
|
|
1172
1228
|
}
|
|
1173
|
-
|
|
1229
|
+
//#endregion
|
|
1230
|
+
//#region src/chrome-apis/SystemMemoryApiTools.d.ts
|
|
1174
1231
|
interface SystemMemoryApiToolsOptions {
|
|
1175
|
-
|
|
1232
|
+
getInfo?: boolean;
|
|
1176
1233
|
}
|
|
1177
|
-
declare class SystemMemoryApiTools extends BaseApiTools {
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1234
|
+
declare class SystemMemoryApiTools extends BaseApiTools<SystemMemoryApiToolsOptions> {
|
|
1235
|
+
protected apiName: string;
|
|
1236
|
+
constructor(server: McpServer, options?: SystemMemoryApiToolsOptions);
|
|
1237
|
+
checkAvailability(): ApiAvailability;
|
|
1238
|
+
registerTools(): void;
|
|
1239
|
+
private registerGetInfo;
|
|
1183
1240
|
}
|
|
1184
|
-
|
|
1241
|
+
//#endregion
|
|
1242
|
+
//#region src/chrome-apis/SystemStorageApiTools.d.ts
|
|
1185
1243
|
interface SystemStorageApiToolsOptions {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
}
|
|
1190
|
-
declare class SystemStorageApiTools extends BaseApiTools {
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1244
|
+
getInfo?: boolean;
|
|
1245
|
+
ejectDevice?: boolean;
|
|
1246
|
+
getAvailableCapacity?: boolean;
|
|
1247
|
+
}
|
|
1248
|
+
declare class SystemStorageApiTools extends BaseApiTools<SystemStorageApiToolsOptions> {
|
|
1249
|
+
protected apiName: string;
|
|
1250
|
+
constructor(server: McpServer, options?: SystemStorageApiToolsOptions);
|
|
1251
|
+
checkAvailability(): ApiAvailability;
|
|
1252
|
+
registerTools(): void;
|
|
1253
|
+
private registerGetInfo;
|
|
1254
|
+
private registerEjectDevice;
|
|
1255
|
+
private registerGetAvailableCapacity;
|
|
1256
|
+
private getEjectResultMessage;
|
|
1257
|
+
private formatBytes;
|
|
1258
|
+
}
|
|
1259
|
+
//#endregion
|
|
1260
|
+
//#region src/chrome-apis/TabCaptureApiTools.d.ts
|
|
1202
1261
|
interface TabCaptureApiToolsOptions {
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
}
|
|
1207
|
-
declare class TabCaptureApiTools extends BaseApiTools {
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1262
|
+
capture?: boolean;
|
|
1263
|
+
getCapturedTabs?: boolean;
|
|
1264
|
+
getMediaStreamId?: boolean;
|
|
1265
|
+
}
|
|
1266
|
+
declare class TabCaptureApiTools extends BaseApiTools<TabCaptureApiToolsOptions> {
|
|
1267
|
+
protected apiName: string;
|
|
1268
|
+
constructor(server: McpServer, options?: TabCaptureApiToolsOptions);
|
|
1269
|
+
checkAvailability(): ApiAvailability;
|
|
1270
|
+
registerTools(): void;
|
|
1271
|
+
private registerCapture;
|
|
1272
|
+
private registerGetCapturedTabs;
|
|
1273
|
+
private registerGetMediaStreamId;
|
|
1274
|
+
}
|
|
1275
|
+
//#endregion
|
|
1276
|
+
//#region src/chrome-apis/TabGroupsApiTools.d.ts
|
|
1217
1277
|
interface TabGroupsApiToolsOptions {
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1278
|
+
get?: boolean;
|
|
1279
|
+
query?: boolean;
|
|
1280
|
+
update?: boolean;
|
|
1281
|
+
move?: boolean;
|
|
1222
1282
|
}
|
|
1223
1283
|
declare const TAB_GROUP_ACTIONS: readonly ["get", "query", "update", "move"];
|
|
1224
|
-
declare class TabGroupsApiTools extends BaseApiTools {
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1284
|
+
declare class TabGroupsApiTools extends BaseApiTools<TabGroupsApiToolsOptions> {
|
|
1285
|
+
protected apiName: string;
|
|
1286
|
+
constructor(server: McpServer, options?: TabGroupsApiToolsOptions);
|
|
1287
|
+
checkAvailability(): ApiAvailability;
|
|
1288
|
+
registerTools(): void;
|
|
1289
|
+
private handleGetTabGroup;
|
|
1290
|
+
private handleQueryTabGroups;
|
|
1291
|
+
private handleUpdateTabGroup;
|
|
1292
|
+
private handleMoveTabGroup;
|
|
1293
|
+
private getSchema;
|
|
1294
|
+
private querySchema;
|
|
1295
|
+
private updateSchema;
|
|
1296
|
+
private moveSchema;
|
|
1297
|
+
}
|
|
1298
|
+
//#endregion
|
|
1299
|
+
//#region src/chrome-apis/TabsApiTools.d.ts
|
|
1239
1300
|
interface TabsApiToolsOptions {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1301
|
+
listActiveTabs?: boolean;
|
|
1302
|
+
createTab?: boolean;
|
|
1303
|
+
updateTab?: boolean;
|
|
1304
|
+
closeTabs?: boolean;
|
|
1305
|
+
getAllTabs?: boolean;
|
|
1306
|
+
navigateHistory?: boolean;
|
|
1307
|
+
reloadTab?: boolean;
|
|
1308
|
+
captureVisibleTab?: boolean;
|
|
1309
|
+
detectLanguage?: boolean;
|
|
1310
|
+
discardTab?: boolean;
|
|
1311
|
+
duplicateTab?: boolean;
|
|
1312
|
+
getTab?: boolean;
|
|
1313
|
+
getZoom?: boolean;
|
|
1314
|
+
setZoom?: boolean;
|
|
1315
|
+
groupTabs?: boolean;
|
|
1316
|
+
ungroupTabs?: boolean;
|
|
1317
|
+
highlightTabs?: boolean;
|
|
1318
|
+
moveTabs?: boolean;
|
|
1319
|
+
sendMessage?: boolean;
|
|
1259
1320
|
}
|
|
1260
1321
|
declare const TAB_ACTIONS: readonly ["listActiveTabs", "createTab", "updateTab", "closeTabs", "getAllTabs", "navigateHistory", "reloadTab", "captureVisibleTab", "detectLanguage", "discardTab", "duplicateTab", "getTab", "getZoom", "getZoomSettings", "setZoom", "setZoomSettings", "groupTabs", "ungroupTabs", "highlightTabs", "moveTabs", "sendMessage"];
|
|
1261
|
-
declare class TabsApiTools extends BaseApiTools {
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1322
|
+
declare class TabsApiTools extends BaseApiTools<TabsApiToolsOptions> {
|
|
1323
|
+
protected apiName: string;
|
|
1324
|
+
constructor(server: McpServer, options?: TabsApiToolsOptions);
|
|
1325
|
+
checkAvailability(): ApiAvailability;
|
|
1326
|
+
registerTools(): void;
|
|
1327
|
+
private handleListActiveTabs;
|
|
1328
|
+
private handleCreateTab;
|
|
1329
|
+
private handleUpdateTab;
|
|
1330
|
+
private handleCloseTabs;
|
|
1331
|
+
private handleGetAllTabs;
|
|
1332
|
+
private handleNavigateHistory;
|
|
1333
|
+
private handleReloadTab;
|
|
1334
|
+
private handleCaptureVisibleTab;
|
|
1335
|
+
private handleDetectLanguage;
|
|
1336
|
+
private handleDiscardTab;
|
|
1337
|
+
private handleDuplicateTab;
|
|
1338
|
+
private handleGetTab;
|
|
1339
|
+
private handleGetZoom;
|
|
1340
|
+
private handleGetZoomSettings;
|
|
1341
|
+
private handleSetZoom;
|
|
1342
|
+
private handleSetZoomSettings;
|
|
1343
|
+
private handleGroupTabs;
|
|
1344
|
+
private handleUngroupTabs;
|
|
1345
|
+
private handleHighlightTabs;
|
|
1346
|
+
private handleMoveTabs;
|
|
1347
|
+
private handleSendMessage;
|
|
1348
|
+
private listActiveTabsSchema;
|
|
1349
|
+
private createTabSchema;
|
|
1350
|
+
private updateTabSchema;
|
|
1351
|
+
private closeTabsSchema;
|
|
1352
|
+
private getAllTabsSchema;
|
|
1353
|
+
private navigateHistorySchema;
|
|
1354
|
+
private reloadTabSchema;
|
|
1355
|
+
private captureVisibleTabSchema;
|
|
1356
|
+
private detectLanguageSchema;
|
|
1357
|
+
private discardTabSchema;
|
|
1358
|
+
private duplicateTabSchema;
|
|
1359
|
+
private getTabSchema;
|
|
1360
|
+
private getZoomSchema;
|
|
1361
|
+
private getZoomSettingsSchema;
|
|
1362
|
+
private setZoomSchema;
|
|
1363
|
+
private setZoomSettingsSchema;
|
|
1364
|
+
private groupTabsSchema;
|
|
1365
|
+
private ungroupTabsSchema;
|
|
1366
|
+
private highlightTabsSchema;
|
|
1367
|
+
private moveTabsSchema;
|
|
1368
|
+
private sendMessageSchema;
|
|
1369
|
+
}
|
|
1370
|
+
//#endregion
|
|
1371
|
+
//#region src/chrome-apis/TopSitesApiTools.d.ts
|
|
1310
1372
|
interface TopSitesApiToolsOptions {
|
|
1311
|
-
|
|
1373
|
+
getTopSites?: boolean;
|
|
1312
1374
|
}
|
|
1313
|
-
declare class TopSitesApiTools extends BaseApiTools {
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1375
|
+
declare class TopSitesApiTools extends BaseApiTools<TopSitesApiToolsOptions> {
|
|
1376
|
+
protected apiName: string;
|
|
1377
|
+
constructor(server: McpServer, options?: TopSitesApiToolsOptions);
|
|
1378
|
+
checkAvailability(): ApiAvailability;
|
|
1379
|
+
registerTools(): void;
|
|
1380
|
+
private registerGetTopSites;
|
|
1319
1381
|
}
|
|
1320
|
-
|
|
1382
|
+
//#endregion
|
|
1383
|
+
//#region src/chrome-apis/TtsApiTools.d.ts
|
|
1321
1384
|
interface TtsApiToolsOptions {
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
}
|
|
1329
|
-
declare class TtsApiTools extends BaseApiTools {
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1385
|
+
speak?: boolean;
|
|
1386
|
+
stop?: boolean;
|
|
1387
|
+
pause?: boolean;
|
|
1388
|
+
resume?: boolean;
|
|
1389
|
+
isSpeaking?: boolean;
|
|
1390
|
+
getVoices?: boolean;
|
|
1391
|
+
}
|
|
1392
|
+
declare class TtsApiTools extends BaseApiTools<TtsApiToolsOptions> {
|
|
1393
|
+
protected apiName: string;
|
|
1394
|
+
constructor(server: McpServer, options?: TtsApiToolsOptions);
|
|
1395
|
+
checkAvailability(): ApiAvailability;
|
|
1396
|
+
registerTools(): void;
|
|
1397
|
+
private registerSpeak;
|
|
1398
|
+
private registerStop;
|
|
1399
|
+
private registerPause;
|
|
1400
|
+
private registerResume;
|
|
1401
|
+
private registerIsSpeaking;
|
|
1402
|
+
private registerGetVoices;
|
|
1403
|
+
}
|
|
1404
|
+
//#endregion
|
|
1405
|
+
//#region src/chrome-apis/TtsEngineApiTools.d.ts
|
|
1342
1406
|
interface TtsEngineApiToolsOptions {
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
}
|
|
1354
|
-
declare class TtsEngineApiTools extends BaseApiTools {
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1407
|
+
updateVoices?: boolean;
|
|
1408
|
+
updateLanguage?: boolean;
|
|
1409
|
+
onSpeak?: boolean;
|
|
1410
|
+
onStop?: boolean;
|
|
1411
|
+
onPause?: boolean;
|
|
1412
|
+
onResume?: boolean;
|
|
1413
|
+
onSpeakWithAudioStream?: boolean;
|
|
1414
|
+
onInstallLanguageRequest?: boolean;
|
|
1415
|
+
onLanguageStatusRequest?: boolean;
|
|
1416
|
+
onUninstallLanguageRequest?: boolean;
|
|
1417
|
+
}
|
|
1418
|
+
declare class TtsEngineApiTools extends BaseApiTools<TtsEngineApiToolsOptions> {
|
|
1419
|
+
protected apiName: string;
|
|
1420
|
+
constructor(server: McpServer, options?: TtsEngineApiToolsOptions);
|
|
1421
|
+
checkAvailability(): ApiAvailability;
|
|
1422
|
+
registerTools(): void;
|
|
1423
|
+
private registerUpdateVoices;
|
|
1424
|
+
private registerUpdateLanguage;
|
|
1425
|
+
private registerOnSpeak;
|
|
1426
|
+
private registerOnStop;
|
|
1427
|
+
private registerOnPause;
|
|
1428
|
+
private registerOnResume;
|
|
1429
|
+
private registerOnSpeakWithAudioStream;
|
|
1430
|
+
private registerOnInstallLanguageRequest;
|
|
1431
|
+
private registerOnLanguageStatusRequest;
|
|
1432
|
+
private registerOnUninstallLanguageRequest;
|
|
1433
|
+
}
|
|
1434
|
+
//#endregion
|
|
1435
|
+
//#region src/chrome-apis/UserScriptsApiTools.d.ts
|
|
1371
1436
|
interface UserScriptsApiToolsOptions {
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
}
|
|
1381
|
-
declare class UserScriptsApiTools extends BaseApiTools {
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1437
|
+
register?: boolean;
|
|
1438
|
+
getScripts?: boolean;
|
|
1439
|
+
update?: boolean;
|
|
1440
|
+
unregister?: boolean;
|
|
1441
|
+
configureWorld?: boolean;
|
|
1442
|
+
getWorldConfigurations?: boolean;
|
|
1443
|
+
resetWorldConfiguration?: boolean;
|
|
1444
|
+
execute?: boolean;
|
|
1445
|
+
}
|
|
1446
|
+
declare class UserScriptsApiTools extends BaseApiTools<UserScriptsApiToolsOptions> {
|
|
1447
|
+
protected apiName: string;
|
|
1448
|
+
constructor(server: McpServer, options?: UserScriptsApiToolsOptions);
|
|
1449
|
+
checkAvailability(): ApiAvailability;
|
|
1450
|
+
registerTools(): void;
|
|
1451
|
+
private registerRegister;
|
|
1452
|
+
private registerGetScripts;
|
|
1453
|
+
private registerUpdate;
|
|
1454
|
+
private registerUnregister;
|
|
1455
|
+
private registerConfigureWorld;
|
|
1456
|
+
private registerGetWorldConfigurations;
|
|
1457
|
+
private registerResetWorldConfiguration;
|
|
1458
|
+
private registerExecute;
|
|
1459
|
+
}
|
|
1460
|
+
//#endregion
|
|
1461
|
+
//#region src/chrome-apis/VpnProviderApiTools.d.ts
|
|
1396
1462
|
interface VpnProviderApiToolsOptions {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
}
|
|
1403
|
-
declare class VpnProviderApiTools extends BaseApiTools {
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1463
|
+
createConfig?: boolean;
|
|
1464
|
+
destroyConfig?: boolean;
|
|
1465
|
+
setParameters?: boolean;
|
|
1466
|
+
notifyConnectionStateChanged?: boolean;
|
|
1467
|
+
sendPacket?: boolean;
|
|
1468
|
+
}
|
|
1469
|
+
declare class VpnProviderApiTools extends BaseApiTools<VpnProviderApiToolsOptions> {
|
|
1470
|
+
protected apiName: string;
|
|
1471
|
+
constructor(server: McpServer, options?: VpnProviderApiToolsOptions);
|
|
1472
|
+
checkAvailability(): ApiAvailability;
|
|
1473
|
+
registerTools(): void;
|
|
1474
|
+
private registerCreateConfig;
|
|
1475
|
+
private registerDestroyConfig;
|
|
1476
|
+
private registerSetParameters;
|
|
1477
|
+
private registerNotifyConnectionStateChanged;
|
|
1478
|
+
private registerSendPacket;
|
|
1479
|
+
}
|
|
1480
|
+
//#endregion
|
|
1481
|
+
//#region src/chrome-apis/WallpaperApiTools.d.ts
|
|
1415
1482
|
interface WallpaperApiToolsOptions {
|
|
1416
|
-
|
|
1483
|
+
setWallpaper?: boolean;
|
|
1417
1484
|
}
|
|
1418
|
-
declare class WallpaperApiTools extends BaseApiTools {
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1485
|
+
declare class WallpaperApiTools extends BaseApiTools<WallpaperApiToolsOptions> {
|
|
1486
|
+
protected apiName: string;
|
|
1487
|
+
constructor(server: McpServer, options?: WallpaperApiToolsOptions);
|
|
1488
|
+
checkAvailability(): ApiAvailability;
|
|
1489
|
+
registerTools(): void;
|
|
1490
|
+
private registerSetWallpaper;
|
|
1424
1491
|
}
|
|
1425
|
-
|
|
1492
|
+
//#endregion
|
|
1493
|
+
//#region src/chrome-apis/WebAuthenticationProxyApiTools.d.ts
|
|
1426
1494
|
interface WebAuthenticationProxyApiToolsOptions {
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
}
|
|
1438
|
-
declare class WebAuthenticationProxyApiTools extends BaseApiTools {
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1495
|
+
attach?: boolean;
|
|
1496
|
+
detach?: boolean;
|
|
1497
|
+
completeCreateRequest?: boolean;
|
|
1498
|
+
completeGetRequest?: boolean;
|
|
1499
|
+
completeIsUvpaaRequest?: boolean;
|
|
1500
|
+
onCreateRequest?: boolean;
|
|
1501
|
+
onGetRequest?: boolean;
|
|
1502
|
+
onIsUvpaaRequest?: boolean;
|
|
1503
|
+
onRemoteSessionStateChange?: boolean;
|
|
1504
|
+
onRequestCanceled?: boolean;
|
|
1505
|
+
}
|
|
1506
|
+
declare class WebAuthenticationProxyApiTools extends BaseApiTools<WebAuthenticationProxyApiToolsOptions> {
|
|
1507
|
+
protected apiName: string;
|
|
1508
|
+
constructor(server: McpServer, options?: WebAuthenticationProxyApiToolsOptions);
|
|
1509
|
+
checkAvailability(): ApiAvailability;
|
|
1510
|
+
registerTools(): void;
|
|
1511
|
+
private registerAttach;
|
|
1512
|
+
private registerDetach;
|
|
1513
|
+
private registerCompleteCreateRequest;
|
|
1514
|
+
private registerCompleteGetRequest;
|
|
1515
|
+
private registerCompleteIsUvpaaRequest;
|
|
1516
|
+
private registerOnCreateRequest;
|
|
1517
|
+
private registerOnGetRequest;
|
|
1518
|
+
private registerOnIsUvpaaRequest;
|
|
1519
|
+
private registerOnRemoteSessionStateChange;
|
|
1520
|
+
private registerOnRequestCanceled;
|
|
1521
|
+
}
|
|
1522
|
+
//#endregion
|
|
1523
|
+
//#region src/chrome-apis/WebNavigationApiTools.d.ts
|
|
1455
1524
|
interface WebNavigationApiToolsOptions {
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
}
|
|
1468
|
-
declare class WebNavigationApiTools extends BaseApiTools {
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1525
|
+
getAllFrames?: boolean;
|
|
1526
|
+
getFrame?: boolean;
|
|
1527
|
+
onBeforeNavigate?: boolean;
|
|
1528
|
+
onCommitted?: boolean;
|
|
1529
|
+
onCompleted?: boolean;
|
|
1530
|
+
onCreatedNavigationTarget?: boolean;
|
|
1531
|
+
onDOMContentLoaded?: boolean;
|
|
1532
|
+
onErrorOccurred?: boolean;
|
|
1533
|
+
onHistoryStateUpdated?: boolean;
|
|
1534
|
+
onReferenceFragmentUpdated?: boolean;
|
|
1535
|
+
onTabReplaced?: boolean;
|
|
1536
|
+
}
|
|
1537
|
+
declare class WebNavigationApiTools extends BaseApiTools<WebNavigationApiToolsOptions> {
|
|
1538
|
+
protected apiName: string;
|
|
1539
|
+
constructor(server: McpServer, options?: WebNavigationApiToolsOptions);
|
|
1540
|
+
checkAvailability(): ApiAvailability;
|
|
1541
|
+
registerTools(): void;
|
|
1542
|
+
private registerGetAllFrames;
|
|
1543
|
+
private registerGetFrame;
|
|
1544
|
+
private registerOnBeforeNavigate;
|
|
1545
|
+
private registerOnCommitted;
|
|
1546
|
+
private registerOnCompleted;
|
|
1547
|
+
private registerOnCreatedNavigationTarget;
|
|
1548
|
+
private registerOnDOMContentLoaded;
|
|
1549
|
+
private registerOnErrorOccurred;
|
|
1550
|
+
private registerOnHistoryStateUpdated;
|
|
1551
|
+
private registerOnReferenceFragmentUpdated;
|
|
1552
|
+
private registerOnTabReplaced;
|
|
1553
|
+
}
|
|
1554
|
+
//#endregion
|
|
1555
|
+
//#region src/chrome-apis/WebRequestApiTools.d.ts
|
|
1486
1556
|
interface WebRequestApiToolsOptions {
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
}
|
|
1493
|
-
declare class WebRequestApiTools extends BaseApiTools {
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1557
|
+
addListener?: boolean;
|
|
1558
|
+
removeListener?: boolean;
|
|
1559
|
+
hasListener?: boolean;
|
|
1560
|
+
handlerBehaviorChanged?: boolean;
|
|
1561
|
+
getActiveListeners?: boolean;
|
|
1562
|
+
}
|
|
1563
|
+
declare class WebRequestApiTools extends BaseApiTools<WebRequestApiToolsOptions> {
|
|
1564
|
+
protected apiName: string;
|
|
1565
|
+
constructor(server: McpServer, options?: WebRequestApiToolsOptions);
|
|
1566
|
+
checkAvailability(): ApiAvailability;
|
|
1567
|
+
registerTools(): void;
|
|
1568
|
+
private registerAddListener;
|
|
1569
|
+
private registerRemoveListener;
|
|
1570
|
+
private registerHasListener;
|
|
1571
|
+
private registerHandlerBehaviorChanged;
|
|
1572
|
+
private registerGetActiveListeners;
|
|
1573
|
+
}
|
|
1574
|
+
//#endregion
|
|
1575
|
+
//#region src/chrome-apis/WindowsApiTools.d.ts
|
|
1505
1576
|
interface WindowsApiToolsOptions {
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1577
|
+
create?: boolean;
|
|
1578
|
+
get?: boolean;
|
|
1579
|
+
getAll?: boolean;
|
|
1580
|
+
getCurrent?: boolean;
|
|
1581
|
+
getLastFocused?: boolean;
|
|
1582
|
+
remove?: boolean;
|
|
1583
|
+
update?: boolean;
|
|
1513
1584
|
}
|
|
1514
1585
|
declare const WINDOW_ACTIONS: readonly ["create", "get", "getAll", "getCurrent", "getLastFocused", "remove", "update"];
|
|
1515
|
-
declare class WindowsApiTools extends BaseApiTools {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1586
|
+
declare class WindowsApiTools extends BaseApiTools<WindowsApiToolsOptions> {
|
|
1587
|
+
protected apiName: string;
|
|
1588
|
+
constructor(server: McpServer, options?: WindowsApiToolsOptions);
|
|
1589
|
+
checkAvailability(): ApiAvailability;
|
|
1590
|
+
registerTools(): void;
|
|
1591
|
+
private createSchema;
|
|
1592
|
+
private getSchema;
|
|
1593
|
+
private getAllSchema;
|
|
1594
|
+
private getCurrentSchema;
|
|
1595
|
+
private getLastFocusedSchema;
|
|
1596
|
+
private removeSchema;
|
|
1597
|
+
private updateSchema;
|
|
1598
|
+
private handleCreate;
|
|
1599
|
+
private handleGet;
|
|
1600
|
+
private handleGetAll;
|
|
1601
|
+
private handleGetCurrent;
|
|
1602
|
+
private handleGetLastFocused;
|
|
1603
|
+
private handleRemove;
|
|
1604
|
+
private handleUpdate;
|
|
1605
|
+
}
|
|
1606
|
+
//#endregion
|
|
1607
|
+
//#region src/chromeApiRegistry.d.ts
|
|
1536
1608
|
/**
|
|
1537
1609
|
* Enum of all Chrome Extension APIs
|
|
1538
1610
|
*/
|
|
1539
1611
|
declare enum ChromeApi {
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1612
|
+
ACCESSIBILITY_FEATURES = "accessibilityFeatures",
|
|
1613
|
+
ACTION = "action",
|
|
1614
|
+
ALARMS = "alarms",
|
|
1615
|
+
AUDIO = "audio",
|
|
1616
|
+
BOOKMARKS = "bookmarks",
|
|
1617
|
+
BROWSING_DATA = "browsingData",
|
|
1618
|
+
CERTIFICATE_PROVIDER = "certificateProvider",
|
|
1619
|
+
COMMANDS = "commands",
|
|
1620
|
+
CONTENT_SETTINGS = "contentSettings",
|
|
1621
|
+
CONTEXT_MENUS = "contextMenus",
|
|
1622
|
+
COOKIES = "cookies",
|
|
1623
|
+
DEBUGGER = "debugger",
|
|
1624
|
+
DECLARATIVE_CONTENT = "declarativeContent",
|
|
1625
|
+
DECLARATIVE_NET_REQUEST = "declarativeNetRequest",
|
|
1626
|
+
DESKTOP_CAPTURE = "desktopCapture",
|
|
1627
|
+
DEVTOOLS_INSPECTED_WINDOW = "devtools.inspectedWindow",
|
|
1628
|
+
DEVTOOLS_NETWORK = "devtools.network",
|
|
1629
|
+
DEVTOOLS_PANELS = "devtools.panels",
|
|
1630
|
+
DEVTOOLS_PERFORMANCE = "devtools.performance",
|
|
1631
|
+
DEVTOOLS_RECORDER = "devtools.recorder",
|
|
1632
|
+
DNS = "dns",
|
|
1633
|
+
DOCUMENT_SCAN = "documentScan",
|
|
1634
|
+
DOM = "dom",
|
|
1635
|
+
DOWNLOADS = "downloads",
|
|
1636
|
+
ENTERPRISE_DEVICE_ATTRIBUTES = "enterprise.deviceAttributes",
|
|
1637
|
+
ENTERPRISE_HARDWARE_PLATFORM = "enterprise.hardwarePlatform",
|
|
1638
|
+
ENTERPRISE_NETWORKING_ATTRIBUTES = "enterprise.networkingAttributes",
|
|
1639
|
+
ENTERPRISE_PLATFORM_KEYS = "enterprise.platformKeys",
|
|
1640
|
+
EVENTS = "events",
|
|
1641
|
+
EXTENSION = "extension",
|
|
1642
|
+
EXTENSION_TYPES = "extensionTypes",
|
|
1643
|
+
FILE_BROWSER_HANDLER = "fileBrowserHandler",
|
|
1644
|
+
FILE_SYSTEM_PROVIDER = "fileSystemProvider",
|
|
1645
|
+
FONT_SETTINGS = "fontSettings",
|
|
1646
|
+
GCM = "gcm",
|
|
1647
|
+
HISTORY = "history",
|
|
1648
|
+
I18N = "i18n",
|
|
1649
|
+
IDENTITY = "identity",
|
|
1650
|
+
IDLE = "idle",
|
|
1651
|
+
INPUT_IME = "input.ime",
|
|
1652
|
+
INSTANCE_ID = "instanceID",
|
|
1653
|
+
LOGIN_STATE = "loginState",
|
|
1654
|
+
MANAGEMENT = "management",
|
|
1655
|
+
NOTIFICATIONS = "notifications",
|
|
1656
|
+
OFFSCREEN = "offscreen",
|
|
1657
|
+
OMNIBOX = "omnibox",
|
|
1658
|
+
PAGE_CAPTURE = "pageCapture",
|
|
1659
|
+
PERMISSIONS = "permissions",
|
|
1660
|
+
PLATFORM_KEYS = "platformKeys",
|
|
1661
|
+
POWER = "power",
|
|
1662
|
+
PRINTER_PROVIDER = "printerProvider",
|
|
1663
|
+
PRINTING = "printing",
|
|
1664
|
+
PRINTING_METRICS = "printingMetrics",
|
|
1665
|
+
PRIVACY = "privacy",
|
|
1666
|
+
PROCESSES = "processes",
|
|
1667
|
+
PROXY = "proxy",
|
|
1668
|
+
READING_LIST = "readingList",
|
|
1669
|
+
RUNTIME = "runtime",
|
|
1670
|
+
SCRIPTING = "scripting",
|
|
1671
|
+
SEARCH = "search",
|
|
1672
|
+
SMART_DOM_READER = "smartDomReader",
|
|
1673
|
+
SESSIONS = "sessions",
|
|
1674
|
+
SIDE_PANEL = "sidePanel",
|
|
1675
|
+
STORAGE = "storage",
|
|
1676
|
+
SYSTEM_CPU = "system.cpu",
|
|
1677
|
+
SYSTEM_DISPLAY = "system.display",
|
|
1678
|
+
SYSTEM_MEMORY = "system.memory",
|
|
1679
|
+
SYSTEM_STORAGE = "system.storage",
|
|
1680
|
+
SYSTEM_LOG = "systemLog",
|
|
1681
|
+
TAB_CAPTURE = "tabCapture",
|
|
1682
|
+
TAB_GROUPS = "tabGroups",
|
|
1683
|
+
TABS = "tabs",
|
|
1684
|
+
TOP_SITES = "topSites",
|
|
1685
|
+
TTS = "tts",
|
|
1686
|
+
TTS_ENGINE = "ttsEngine",
|
|
1687
|
+
TYPES = "types",
|
|
1688
|
+
USER_SCRIPTS = "userScripts",
|
|
1689
|
+
VPN_PROVIDER = "vpnProvider",
|
|
1690
|
+
WALLPAPER = "wallpaper",
|
|
1691
|
+
WEB_AUTHENTICATION_PROXY = "webAuthenticationProxy",
|
|
1692
|
+
WEB_NAVIGATION = "webNavigation",
|
|
1693
|
+
WEB_REQUEST = "webRequest",
|
|
1694
|
+
WINDOWS = "windows",
|
|
1622
1695
|
}
|
|
1623
1696
|
/**
|
|
1624
1697
|
* Supported platforms for Chrome APIs
|
|
@@ -1639,812 +1712,822 @@ type ChromeContext = z.infer<typeof ChromeContextSchema>;
|
|
|
1639
1712
|
* Metadata for each Chrome API
|
|
1640
1713
|
*/
|
|
1641
1714
|
declare const ChromeApiMetadataSchema: z.ZodObject<{
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1715
|
+
/** Minimum Chrome version required */
|
|
1716
|
+
minChromeVersion: z.ZodOptional<z.ZodNumber>;
|
|
1717
|
+
/** Platform restrictions */
|
|
1718
|
+
platform: z.ZodEnum<["all", "chromeos"]>;
|
|
1719
|
+
/** Channel requirement */
|
|
1720
|
+
channel: z.ZodEnum<["stable", "dev"]>;
|
|
1721
|
+
/** Manifest version requirement (2, 3, or both) */
|
|
1722
|
+
manifestVersions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>, "many">;
|
|
1723
|
+
/** Whether this API requires enterprise policy */
|
|
1724
|
+
requiresPolicy: z.ZodBoolean;
|
|
1725
|
+
/** Whether this API is foreground only */
|
|
1726
|
+
foregroundOnly: z.ZodBoolean;
|
|
1727
|
+
/** Contexts where this API can run */
|
|
1728
|
+
contexts: z.ZodArray<z.ZodEnum<["background", "content", "devtools", "all"]>, "many">;
|
|
1729
|
+
/** API namespace in chrome object */
|
|
1730
|
+
namespace: z.ZodString;
|
|
1658
1731
|
}, "strip", z.ZodTypeAny, {
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1732
|
+
platform: "all" | "chromeos";
|
|
1733
|
+
channel: "stable" | "dev";
|
|
1734
|
+
manifestVersions: (2 | 3)[];
|
|
1735
|
+
requiresPolicy: boolean;
|
|
1736
|
+
foregroundOnly: boolean;
|
|
1737
|
+
contexts: ("all" | "background" | "content" | "devtools")[];
|
|
1738
|
+
namespace: string;
|
|
1739
|
+
minChromeVersion?: number | undefined;
|
|
1667
1740
|
}, {
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1741
|
+
platform: "all" | "chromeos";
|
|
1742
|
+
channel: "stable" | "dev";
|
|
1743
|
+
manifestVersions: (2 | 3)[];
|
|
1744
|
+
requiresPolicy: boolean;
|
|
1745
|
+
foregroundOnly: boolean;
|
|
1746
|
+
contexts: ("all" | "background" | "content" | "devtools")[];
|
|
1747
|
+
namespace: string;
|
|
1748
|
+
minChromeVersion?: number | undefined;
|
|
1676
1749
|
}>;
|
|
1677
1750
|
type ChromeApiMetadata = z.infer<typeof ChromeApiMetadataSchema>;
|
|
1678
1751
|
/**
|
|
1679
1752
|
* Registry of all Chrome APIs with their metadata
|
|
1680
1753
|
*/
|
|
1681
1754
|
declare const CHROME_API_REGISTRY: {
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
1755
|
+
readonly accessibilityFeatures: {
|
|
1756
|
+
readonly platform: "all";
|
|
1757
|
+
readonly channel: "stable";
|
|
1758
|
+
readonly manifestVersions: [2, 3];
|
|
1759
|
+
readonly requiresPolicy: false;
|
|
1760
|
+
readonly foregroundOnly: false;
|
|
1761
|
+
readonly contexts: ["background"];
|
|
1762
|
+
readonly namespace: "accessibilityFeatures";
|
|
1763
|
+
};
|
|
1764
|
+
readonly action: {
|
|
1765
|
+
readonly minChromeVersion: 88;
|
|
1766
|
+
readonly platform: "all";
|
|
1767
|
+
readonly channel: "stable";
|
|
1768
|
+
readonly manifestVersions: [3];
|
|
1769
|
+
readonly requiresPolicy: false;
|
|
1770
|
+
readonly foregroundOnly: false;
|
|
1771
|
+
readonly contexts: ["background"];
|
|
1772
|
+
readonly namespace: "action";
|
|
1773
|
+
};
|
|
1774
|
+
readonly alarms: {
|
|
1775
|
+
readonly platform: "all";
|
|
1776
|
+
readonly channel: "stable";
|
|
1777
|
+
readonly manifestVersions: [2, 3];
|
|
1778
|
+
readonly requiresPolicy: false;
|
|
1779
|
+
readonly foregroundOnly: false;
|
|
1780
|
+
readonly contexts: ["background"];
|
|
1781
|
+
readonly namespace: "alarms";
|
|
1782
|
+
};
|
|
1783
|
+
readonly audio: {
|
|
1784
|
+
readonly minChromeVersion: 59;
|
|
1785
|
+
readonly platform: "chromeos";
|
|
1786
|
+
readonly channel: "stable";
|
|
1787
|
+
readonly manifestVersions: [2, 3];
|
|
1788
|
+
readonly requiresPolicy: false;
|
|
1789
|
+
readonly foregroundOnly: false;
|
|
1790
|
+
readonly contexts: ["background"];
|
|
1791
|
+
readonly namespace: "audio";
|
|
1792
|
+
};
|
|
1793
|
+
readonly bookmarks: {
|
|
1794
|
+
readonly platform: "all";
|
|
1795
|
+
readonly channel: "stable";
|
|
1796
|
+
readonly manifestVersions: [2, 3];
|
|
1797
|
+
readonly requiresPolicy: false;
|
|
1798
|
+
readonly foregroundOnly: false;
|
|
1799
|
+
readonly contexts: ["background", "content"];
|
|
1800
|
+
readonly namespace: "bookmarks";
|
|
1801
|
+
};
|
|
1802
|
+
readonly browsingData: {
|
|
1803
|
+
readonly platform: "all";
|
|
1804
|
+
readonly channel: "stable";
|
|
1805
|
+
readonly manifestVersions: [2, 3];
|
|
1806
|
+
readonly requiresPolicy: false;
|
|
1807
|
+
readonly foregroundOnly: false;
|
|
1808
|
+
readonly contexts: ["background"];
|
|
1809
|
+
readonly namespace: "browsingData";
|
|
1810
|
+
};
|
|
1811
|
+
readonly certificateProvider: {
|
|
1812
|
+
readonly minChromeVersion: 46;
|
|
1813
|
+
readonly platform: "chromeos";
|
|
1814
|
+
readonly channel: "stable";
|
|
1815
|
+
readonly manifestVersions: [2, 3];
|
|
1816
|
+
readonly requiresPolicy: false;
|
|
1817
|
+
readonly foregroundOnly: false;
|
|
1818
|
+
readonly contexts: ["background"];
|
|
1819
|
+
readonly namespace: "certificateProvider";
|
|
1820
|
+
};
|
|
1821
|
+
readonly commands: {
|
|
1822
|
+
readonly platform: "all";
|
|
1823
|
+
readonly channel: "stable";
|
|
1824
|
+
readonly manifestVersions: [2, 3];
|
|
1825
|
+
readonly requiresPolicy: false;
|
|
1826
|
+
readonly foregroundOnly: false;
|
|
1827
|
+
readonly contexts: ["background"];
|
|
1828
|
+
readonly namespace: "commands";
|
|
1829
|
+
};
|
|
1830
|
+
readonly contentSettings: {
|
|
1831
|
+
readonly platform: "all";
|
|
1832
|
+
readonly channel: "stable";
|
|
1833
|
+
readonly manifestVersions: [2, 3];
|
|
1834
|
+
readonly requiresPolicy: false;
|
|
1835
|
+
readonly foregroundOnly: false;
|
|
1836
|
+
readonly contexts: ["background"];
|
|
1837
|
+
readonly namespace: "contentSettings";
|
|
1838
|
+
};
|
|
1839
|
+
readonly contextMenus: {
|
|
1840
|
+
readonly platform: "all";
|
|
1841
|
+
readonly channel: "stable";
|
|
1842
|
+
readonly manifestVersions: [2, 3];
|
|
1843
|
+
readonly requiresPolicy: false;
|
|
1844
|
+
readonly foregroundOnly: false;
|
|
1845
|
+
readonly contexts: ["background"];
|
|
1846
|
+
readonly namespace: "contextMenus";
|
|
1847
|
+
};
|
|
1848
|
+
readonly cookies: {
|
|
1849
|
+
readonly platform: "all";
|
|
1850
|
+
readonly channel: "stable";
|
|
1851
|
+
readonly manifestVersions: [2, 3];
|
|
1852
|
+
readonly requiresPolicy: false;
|
|
1853
|
+
readonly foregroundOnly: false;
|
|
1854
|
+
readonly contexts: ["background", "content"];
|
|
1855
|
+
readonly namespace: "cookies";
|
|
1856
|
+
};
|
|
1857
|
+
readonly debugger: {
|
|
1858
|
+
readonly platform: "all";
|
|
1859
|
+
readonly channel: "stable";
|
|
1860
|
+
readonly manifestVersions: [2, 3];
|
|
1861
|
+
readonly requiresPolicy: false;
|
|
1862
|
+
readonly foregroundOnly: false;
|
|
1863
|
+
readonly contexts: ["background"];
|
|
1864
|
+
readonly namespace: "debugger";
|
|
1865
|
+
};
|
|
1866
|
+
readonly declarativeContent: {
|
|
1867
|
+
readonly platform: "all";
|
|
1868
|
+
readonly channel: "stable";
|
|
1869
|
+
readonly manifestVersions: [2, 3];
|
|
1870
|
+
readonly requiresPolicy: false;
|
|
1871
|
+
readonly foregroundOnly: false;
|
|
1872
|
+
readonly contexts: ["background"];
|
|
1873
|
+
readonly namespace: "declarativeContent";
|
|
1874
|
+
};
|
|
1875
|
+
readonly declarativeNetRequest: {
|
|
1876
|
+
readonly minChromeVersion: 84;
|
|
1877
|
+
readonly platform: "all";
|
|
1878
|
+
readonly channel: "stable";
|
|
1879
|
+
readonly manifestVersions: [2, 3];
|
|
1880
|
+
readonly requiresPolicy: false;
|
|
1881
|
+
readonly foregroundOnly: false;
|
|
1882
|
+
readonly contexts: ["background"];
|
|
1883
|
+
readonly namespace: "declarativeNetRequest";
|
|
1884
|
+
};
|
|
1885
|
+
readonly desktopCapture: {
|
|
1886
|
+
readonly platform: "all";
|
|
1887
|
+
readonly channel: "stable";
|
|
1888
|
+
readonly manifestVersions: [2, 3];
|
|
1889
|
+
readonly requiresPolicy: false;
|
|
1890
|
+
readonly foregroundOnly: false;
|
|
1891
|
+
readonly contexts: ["background"];
|
|
1892
|
+
readonly namespace: "desktopCapture";
|
|
1893
|
+
};
|
|
1894
|
+
readonly "devtools.inspectedWindow": {
|
|
1895
|
+
readonly platform: "all";
|
|
1896
|
+
readonly channel: "stable";
|
|
1897
|
+
readonly manifestVersions: [2, 3];
|
|
1898
|
+
readonly requiresPolicy: false;
|
|
1899
|
+
readonly foregroundOnly: false;
|
|
1900
|
+
readonly contexts: ["devtools"];
|
|
1901
|
+
readonly namespace: "devtools.inspectedWindow";
|
|
1902
|
+
};
|
|
1903
|
+
readonly "devtools.network": {
|
|
1904
|
+
readonly platform: "all";
|
|
1905
|
+
readonly channel: "stable";
|
|
1906
|
+
readonly manifestVersions: [2, 3];
|
|
1907
|
+
readonly requiresPolicy: false;
|
|
1908
|
+
readonly foregroundOnly: false;
|
|
1909
|
+
readonly contexts: ["devtools"];
|
|
1910
|
+
readonly namespace: "devtools.network";
|
|
1911
|
+
};
|
|
1912
|
+
readonly "devtools.panels": {
|
|
1913
|
+
readonly platform: "all";
|
|
1914
|
+
readonly channel: "stable";
|
|
1915
|
+
readonly manifestVersions: [2, 3];
|
|
1916
|
+
readonly requiresPolicy: false;
|
|
1917
|
+
readonly foregroundOnly: false;
|
|
1918
|
+
readonly contexts: ["devtools"];
|
|
1919
|
+
readonly namespace: "devtools.panels";
|
|
1920
|
+
};
|
|
1921
|
+
readonly "devtools.performance": {
|
|
1922
|
+
readonly minChromeVersion: 129;
|
|
1923
|
+
readonly platform: "all";
|
|
1924
|
+
readonly channel: "stable";
|
|
1925
|
+
readonly manifestVersions: [2, 3];
|
|
1926
|
+
readonly requiresPolicy: false;
|
|
1927
|
+
readonly foregroundOnly: false;
|
|
1928
|
+
readonly contexts: ["devtools"];
|
|
1929
|
+
readonly namespace: "devtools.performance";
|
|
1930
|
+
};
|
|
1931
|
+
readonly "devtools.recorder": {
|
|
1932
|
+
readonly minChromeVersion: 105;
|
|
1933
|
+
readonly platform: "all";
|
|
1934
|
+
readonly channel: "stable";
|
|
1935
|
+
readonly manifestVersions: [2, 3];
|
|
1936
|
+
readonly requiresPolicy: false;
|
|
1937
|
+
readonly foregroundOnly: false;
|
|
1938
|
+
readonly contexts: ["devtools"];
|
|
1939
|
+
readonly namespace: "devtools.recorder";
|
|
1940
|
+
};
|
|
1941
|
+
readonly dns: {
|
|
1942
|
+
readonly platform: "all";
|
|
1943
|
+
readonly channel: "dev";
|
|
1944
|
+
readonly manifestVersions: [2, 3];
|
|
1945
|
+
readonly requiresPolicy: false;
|
|
1946
|
+
readonly foregroundOnly: false;
|
|
1947
|
+
readonly contexts: ["background"];
|
|
1948
|
+
readonly namespace: "dns";
|
|
1949
|
+
};
|
|
1950
|
+
readonly documentScan: {
|
|
1951
|
+
readonly minChromeVersion: 44;
|
|
1952
|
+
readonly platform: "chromeos";
|
|
1953
|
+
readonly channel: "stable";
|
|
1954
|
+
readonly manifestVersions: [2, 3];
|
|
1955
|
+
readonly requiresPolicy: false;
|
|
1956
|
+
readonly foregroundOnly: false;
|
|
1957
|
+
readonly contexts: ["background"];
|
|
1958
|
+
readonly namespace: "documentScan";
|
|
1959
|
+
};
|
|
1960
|
+
readonly dom: {
|
|
1961
|
+
readonly minChromeVersion: 88;
|
|
1962
|
+
readonly platform: "all";
|
|
1963
|
+
readonly channel: "stable";
|
|
1964
|
+
readonly manifestVersions: [2, 3];
|
|
1965
|
+
readonly requiresPolicy: false;
|
|
1966
|
+
readonly foregroundOnly: false;
|
|
1967
|
+
readonly contexts: ["content"];
|
|
1968
|
+
readonly namespace: "dom";
|
|
1969
|
+
};
|
|
1970
|
+
readonly downloads: {
|
|
1971
|
+
readonly platform: "all";
|
|
1972
|
+
readonly channel: "stable";
|
|
1973
|
+
readonly manifestVersions: [2, 3];
|
|
1974
|
+
readonly requiresPolicy: false;
|
|
1975
|
+
readonly foregroundOnly: false;
|
|
1976
|
+
readonly contexts: ["background"];
|
|
1977
|
+
readonly namespace: "downloads";
|
|
1978
|
+
};
|
|
1979
|
+
readonly "enterprise.deviceAttributes": {
|
|
1980
|
+
readonly minChromeVersion: 46;
|
|
1981
|
+
readonly platform: "chromeos";
|
|
1982
|
+
readonly channel: "stable";
|
|
1983
|
+
readonly manifestVersions: [2, 3];
|
|
1984
|
+
readonly requiresPolicy: true;
|
|
1985
|
+
readonly foregroundOnly: false;
|
|
1986
|
+
readonly contexts: ["background"];
|
|
1987
|
+
readonly namespace: "enterprise.deviceAttributes";
|
|
1988
|
+
};
|
|
1989
|
+
readonly "enterprise.hardwarePlatform": {
|
|
1990
|
+
readonly minChromeVersion: 71;
|
|
1991
|
+
readonly platform: "all";
|
|
1992
|
+
readonly channel: "stable";
|
|
1993
|
+
readonly manifestVersions: [2, 3];
|
|
1994
|
+
readonly requiresPolicy: true;
|
|
1995
|
+
readonly foregroundOnly: false;
|
|
1996
|
+
readonly contexts: ["background"];
|
|
1997
|
+
readonly namespace: "enterprise.hardwarePlatform";
|
|
1998
|
+
};
|
|
1999
|
+
readonly "enterprise.networkingAttributes": {
|
|
2000
|
+
readonly minChromeVersion: 85;
|
|
2001
|
+
readonly platform: "chromeos";
|
|
2002
|
+
readonly channel: "stable";
|
|
2003
|
+
readonly manifestVersions: [2, 3];
|
|
2004
|
+
readonly requiresPolicy: true;
|
|
2005
|
+
readonly foregroundOnly: false;
|
|
2006
|
+
readonly contexts: ["background"];
|
|
2007
|
+
readonly namespace: "enterprise.networkingAttributes";
|
|
2008
|
+
};
|
|
2009
|
+
readonly "enterprise.platformKeys": {
|
|
2010
|
+
readonly platform: "chromeos";
|
|
2011
|
+
readonly channel: "stable";
|
|
2012
|
+
readonly manifestVersions: [2, 3];
|
|
2013
|
+
readonly requiresPolicy: true;
|
|
2014
|
+
readonly foregroundOnly: false;
|
|
2015
|
+
readonly contexts: ["background"];
|
|
2016
|
+
readonly namespace: "enterprise.platformKeys";
|
|
2017
|
+
};
|
|
2018
|
+
readonly events: {
|
|
2019
|
+
readonly platform: "all";
|
|
2020
|
+
readonly channel: "stable";
|
|
2021
|
+
readonly manifestVersions: [2, 3];
|
|
2022
|
+
readonly requiresPolicy: false;
|
|
2023
|
+
readonly foregroundOnly: false;
|
|
2024
|
+
readonly contexts: ["all"];
|
|
2025
|
+
readonly namespace: "events";
|
|
2026
|
+
};
|
|
2027
|
+
readonly extension: {
|
|
2028
|
+
readonly platform: "all";
|
|
2029
|
+
readonly channel: "stable";
|
|
2030
|
+
readonly manifestVersions: [2, 3];
|
|
2031
|
+
readonly requiresPolicy: false;
|
|
2032
|
+
readonly foregroundOnly: false;
|
|
2033
|
+
readonly contexts: ["all"];
|
|
2034
|
+
readonly namespace: "extension";
|
|
2035
|
+
};
|
|
2036
|
+
readonly extensionTypes: {
|
|
2037
|
+
readonly platform: "all";
|
|
2038
|
+
readonly channel: "stable";
|
|
2039
|
+
readonly manifestVersions: [2, 3];
|
|
2040
|
+
readonly requiresPolicy: false;
|
|
2041
|
+
readonly foregroundOnly: false;
|
|
2042
|
+
readonly contexts: ["all"];
|
|
2043
|
+
readonly namespace: "extensionTypes";
|
|
2044
|
+
};
|
|
2045
|
+
readonly fileBrowserHandler: {
|
|
2046
|
+
readonly platform: "chromeos";
|
|
2047
|
+
readonly channel: "stable";
|
|
2048
|
+
readonly manifestVersions: [2, 3];
|
|
2049
|
+
readonly requiresPolicy: false;
|
|
2050
|
+
readonly foregroundOnly: true;
|
|
2051
|
+
readonly contexts: ["background"];
|
|
2052
|
+
readonly namespace: "fileBrowserHandler";
|
|
2053
|
+
};
|
|
2054
|
+
readonly fileSystemProvider: {
|
|
2055
|
+
readonly platform: "chromeos";
|
|
2056
|
+
readonly channel: "stable";
|
|
2057
|
+
readonly manifestVersions: [2, 3];
|
|
2058
|
+
readonly requiresPolicy: false;
|
|
2059
|
+
readonly foregroundOnly: false;
|
|
2060
|
+
readonly contexts: ["background"];
|
|
2061
|
+
readonly namespace: "fileSystemProvider";
|
|
2062
|
+
};
|
|
2063
|
+
readonly fontSettings: {
|
|
2064
|
+
readonly platform: "all";
|
|
2065
|
+
readonly channel: "stable";
|
|
2066
|
+
readonly manifestVersions: [2, 3];
|
|
2067
|
+
readonly requiresPolicy: false;
|
|
2068
|
+
readonly foregroundOnly: false;
|
|
2069
|
+
readonly contexts: ["background"];
|
|
2070
|
+
readonly namespace: "fontSettings";
|
|
2071
|
+
};
|
|
2072
|
+
readonly gcm: {
|
|
2073
|
+
readonly platform: "all";
|
|
2074
|
+
readonly channel: "stable";
|
|
2075
|
+
readonly manifestVersions: [2, 3];
|
|
2076
|
+
readonly requiresPolicy: false;
|
|
2077
|
+
readonly foregroundOnly: false;
|
|
2078
|
+
readonly contexts: ["background"];
|
|
2079
|
+
readonly namespace: "gcm";
|
|
2080
|
+
};
|
|
2081
|
+
readonly history: {
|
|
2082
|
+
readonly platform: "all";
|
|
2083
|
+
readonly channel: "stable";
|
|
2084
|
+
readonly manifestVersions: [2, 3];
|
|
2085
|
+
readonly requiresPolicy: false;
|
|
2086
|
+
readonly foregroundOnly: false;
|
|
2087
|
+
readonly contexts: ["background", "content"];
|
|
2088
|
+
readonly namespace: "history";
|
|
2089
|
+
};
|
|
2090
|
+
readonly i18n: {
|
|
2091
|
+
readonly platform: "all";
|
|
2092
|
+
readonly channel: "stable";
|
|
2093
|
+
readonly manifestVersions: [2, 3];
|
|
2094
|
+
readonly requiresPolicy: false;
|
|
2095
|
+
readonly foregroundOnly: false;
|
|
2096
|
+
readonly contexts: ["all"];
|
|
2097
|
+
readonly namespace: "i18n";
|
|
2098
|
+
};
|
|
2099
|
+
readonly identity: {
|
|
2100
|
+
readonly platform: "all";
|
|
2101
|
+
readonly channel: "stable";
|
|
2102
|
+
readonly manifestVersions: [2, 3];
|
|
2103
|
+
readonly requiresPolicy: false;
|
|
2104
|
+
readonly foregroundOnly: false;
|
|
2105
|
+
readonly contexts: ["background"];
|
|
2106
|
+
readonly namespace: "identity";
|
|
2107
|
+
};
|
|
2108
|
+
readonly idle: {
|
|
2109
|
+
readonly platform: "all";
|
|
2110
|
+
readonly channel: "stable";
|
|
2111
|
+
readonly manifestVersions: [2, 3];
|
|
2112
|
+
readonly requiresPolicy: false;
|
|
2113
|
+
readonly foregroundOnly: false;
|
|
2114
|
+
readonly contexts: ["background"];
|
|
2115
|
+
readonly namespace: "idle";
|
|
2116
|
+
};
|
|
2117
|
+
readonly "input.ime": {
|
|
2118
|
+
readonly platform: "chromeos";
|
|
2119
|
+
readonly channel: "stable";
|
|
2120
|
+
readonly manifestVersions: [2, 3];
|
|
2121
|
+
readonly requiresPolicy: false;
|
|
2122
|
+
readonly foregroundOnly: false;
|
|
2123
|
+
readonly contexts: ["background"];
|
|
2124
|
+
readonly namespace: "input.ime";
|
|
2125
|
+
};
|
|
2126
|
+
readonly instanceID: {
|
|
2127
|
+
readonly minChromeVersion: 44;
|
|
2128
|
+
readonly platform: "all";
|
|
2129
|
+
readonly channel: "stable";
|
|
2130
|
+
readonly manifestVersions: [2, 3];
|
|
2131
|
+
readonly requiresPolicy: false;
|
|
2132
|
+
readonly foregroundOnly: false;
|
|
2133
|
+
readonly contexts: ["background"];
|
|
2134
|
+
readonly namespace: "instanceID";
|
|
2135
|
+
};
|
|
2136
|
+
readonly loginState: {
|
|
2137
|
+
readonly minChromeVersion: 78;
|
|
2138
|
+
readonly platform: "chromeos";
|
|
2139
|
+
readonly channel: "stable";
|
|
2140
|
+
readonly manifestVersions: [2, 3];
|
|
2141
|
+
readonly requiresPolicy: false;
|
|
2142
|
+
readonly foregroundOnly: false;
|
|
2143
|
+
readonly contexts: ["background"];
|
|
2144
|
+
readonly namespace: "loginState";
|
|
2145
|
+
};
|
|
2146
|
+
readonly management: {
|
|
2147
|
+
readonly platform: "all";
|
|
2148
|
+
readonly channel: "stable";
|
|
2149
|
+
readonly manifestVersions: [2, 3];
|
|
2150
|
+
readonly requiresPolicy: false;
|
|
2151
|
+
readonly foregroundOnly: false;
|
|
2152
|
+
readonly contexts: ["background"];
|
|
2153
|
+
readonly namespace: "management";
|
|
2154
|
+
};
|
|
2155
|
+
readonly notifications: {
|
|
2156
|
+
readonly platform: "all";
|
|
2157
|
+
readonly channel: "stable";
|
|
2158
|
+
readonly manifestVersions: [2, 3];
|
|
2159
|
+
readonly requiresPolicy: false;
|
|
2160
|
+
readonly foregroundOnly: false;
|
|
2161
|
+
readonly contexts: ["background"];
|
|
2162
|
+
readonly namespace: "notifications";
|
|
2163
|
+
};
|
|
2164
|
+
readonly offscreen: {
|
|
2165
|
+
readonly minChromeVersion: 109;
|
|
2166
|
+
readonly platform: "all";
|
|
2167
|
+
readonly channel: "stable";
|
|
2168
|
+
readonly manifestVersions: [3];
|
|
2169
|
+
readonly requiresPolicy: false;
|
|
2170
|
+
readonly foregroundOnly: false;
|
|
2171
|
+
readonly contexts: ["background"];
|
|
2172
|
+
readonly namespace: "offscreen";
|
|
2173
|
+
};
|
|
2174
|
+
readonly omnibox: {
|
|
2175
|
+
readonly platform: "all";
|
|
2176
|
+
readonly channel: "stable";
|
|
2177
|
+
readonly manifestVersions: [2, 3];
|
|
2178
|
+
readonly requiresPolicy: false;
|
|
2179
|
+
readonly foregroundOnly: false;
|
|
2180
|
+
readonly contexts: ["background"];
|
|
2181
|
+
readonly namespace: "omnibox";
|
|
2182
|
+
};
|
|
2183
|
+
readonly pageCapture: {
|
|
2184
|
+
readonly platform: "all";
|
|
2185
|
+
readonly channel: "stable";
|
|
2186
|
+
readonly manifestVersions: [2, 3];
|
|
2187
|
+
readonly requiresPolicy: false;
|
|
2188
|
+
readonly foregroundOnly: false;
|
|
2189
|
+
readonly contexts: ["background"];
|
|
2190
|
+
readonly namespace: "pageCapture";
|
|
2191
|
+
};
|
|
2192
|
+
readonly permissions: {
|
|
2193
|
+
readonly platform: "all";
|
|
2194
|
+
readonly channel: "stable";
|
|
2195
|
+
readonly manifestVersions: [2, 3];
|
|
2196
|
+
readonly requiresPolicy: false;
|
|
2197
|
+
readonly foregroundOnly: false;
|
|
2198
|
+
readonly contexts: ["background", "content"];
|
|
2199
|
+
readonly namespace: "permissions";
|
|
2200
|
+
};
|
|
2201
|
+
readonly platformKeys: {
|
|
2202
|
+
readonly minChromeVersion: 45;
|
|
2203
|
+
readonly platform: "chromeos";
|
|
2204
|
+
readonly channel: "stable";
|
|
2205
|
+
readonly manifestVersions: [2, 3];
|
|
2206
|
+
readonly requiresPolicy: false;
|
|
2207
|
+
readonly foregroundOnly: false;
|
|
2208
|
+
readonly contexts: ["background"];
|
|
2209
|
+
readonly namespace: "platformKeys";
|
|
2210
|
+
};
|
|
2211
|
+
readonly power: {
|
|
2212
|
+
readonly platform: "all";
|
|
2213
|
+
readonly channel: "stable";
|
|
2214
|
+
readonly manifestVersions: [2, 3];
|
|
2215
|
+
readonly requiresPolicy: false;
|
|
2216
|
+
readonly foregroundOnly: false;
|
|
2217
|
+
readonly contexts: ["background"];
|
|
2218
|
+
readonly namespace: "power";
|
|
2219
|
+
};
|
|
2220
|
+
readonly printerProvider: {
|
|
2221
|
+
readonly minChromeVersion: 44;
|
|
2222
|
+
readonly platform: "all";
|
|
2223
|
+
readonly channel: "stable";
|
|
2224
|
+
readonly manifestVersions: [2, 3];
|
|
2225
|
+
readonly requiresPolicy: false;
|
|
2226
|
+
readonly foregroundOnly: false;
|
|
2227
|
+
readonly contexts: ["background"];
|
|
2228
|
+
readonly namespace: "printerProvider";
|
|
2229
|
+
};
|
|
2230
|
+
readonly printing: {
|
|
2231
|
+
readonly minChromeVersion: 81;
|
|
2232
|
+
readonly platform: "chromeos";
|
|
2233
|
+
readonly channel: "stable";
|
|
2234
|
+
readonly manifestVersions: [2, 3];
|
|
2235
|
+
readonly requiresPolicy: false;
|
|
2236
|
+
readonly foregroundOnly: false;
|
|
2237
|
+
readonly contexts: ["background"];
|
|
2238
|
+
readonly namespace: "printing";
|
|
2239
|
+
};
|
|
2240
|
+
readonly printingMetrics: {
|
|
2241
|
+
readonly minChromeVersion: 79;
|
|
2242
|
+
readonly platform: "chromeos";
|
|
2243
|
+
readonly channel: "stable";
|
|
2244
|
+
readonly manifestVersions: [2, 3];
|
|
2245
|
+
readonly requiresPolicy: true;
|
|
2246
|
+
readonly foregroundOnly: false;
|
|
2247
|
+
readonly contexts: ["background"];
|
|
2248
|
+
readonly namespace: "printingMetrics";
|
|
2249
|
+
};
|
|
2250
|
+
readonly privacy: {
|
|
2251
|
+
readonly platform: "all";
|
|
2252
|
+
readonly channel: "stable";
|
|
2253
|
+
readonly manifestVersions: [2, 3];
|
|
2254
|
+
readonly requiresPolicy: false;
|
|
2255
|
+
readonly foregroundOnly: false;
|
|
2256
|
+
readonly contexts: ["background"];
|
|
2257
|
+
readonly namespace: "privacy";
|
|
2258
|
+
};
|
|
2259
|
+
readonly processes: {
|
|
2260
|
+
readonly platform: "all";
|
|
2261
|
+
readonly channel: "dev";
|
|
2262
|
+
readonly manifestVersions: [2, 3];
|
|
2263
|
+
readonly requiresPolicy: false;
|
|
2264
|
+
readonly foregroundOnly: false;
|
|
2265
|
+
readonly contexts: ["background"];
|
|
2266
|
+
readonly namespace: "processes";
|
|
2267
|
+
};
|
|
2268
|
+
readonly proxy: {
|
|
2269
|
+
readonly platform: "all";
|
|
2270
|
+
readonly channel: "stable";
|
|
2271
|
+
readonly manifestVersions: [2, 3];
|
|
2272
|
+
readonly requiresPolicy: false;
|
|
2273
|
+
readonly foregroundOnly: false;
|
|
2274
|
+
readonly contexts: ["background"];
|
|
2275
|
+
readonly namespace: "proxy";
|
|
2276
|
+
};
|
|
2277
|
+
readonly readingList: {
|
|
2278
|
+
readonly minChromeVersion: 120;
|
|
2279
|
+
readonly platform: "all";
|
|
2280
|
+
readonly channel: "stable";
|
|
2281
|
+
readonly manifestVersions: [3];
|
|
2282
|
+
readonly requiresPolicy: false;
|
|
2283
|
+
readonly foregroundOnly: false;
|
|
2284
|
+
readonly contexts: ["background"];
|
|
2285
|
+
readonly namespace: "readingList";
|
|
2286
|
+
};
|
|
2287
|
+
readonly runtime: {
|
|
2288
|
+
readonly platform: "all";
|
|
2289
|
+
readonly channel: "stable";
|
|
2290
|
+
readonly manifestVersions: [2, 3];
|
|
2291
|
+
readonly requiresPolicy: false;
|
|
2292
|
+
readonly foregroundOnly: false;
|
|
2293
|
+
readonly contexts: ["all"];
|
|
2294
|
+
readonly namespace: "runtime";
|
|
2295
|
+
};
|
|
2296
|
+
readonly scripting: {
|
|
2297
|
+
readonly minChromeVersion: 88;
|
|
2298
|
+
readonly platform: "all";
|
|
2299
|
+
readonly channel: "stable";
|
|
2300
|
+
readonly manifestVersions: [3];
|
|
2301
|
+
readonly requiresPolicy: false;
|
|
2302
|
+
readonly foregroundOnly: false;
|
|
2303
|
+
readonly contexts: ["background"];
|
|
2304
|
+
readonly namespace: "scripting";
|
|
2305
|
+
};
|
|
2306
|
+
readonly search: {
|
|
2307
|
+
readonly minChromeVersion: 87;
|
|
2308
|
+
readonly platform: "all";
|
|
2309
|
+
readonly channel: "stable";
|
|
2310
|
+
readonly manifestVersions: [2, 3];
|
|
2311
|
+
readonly requiresPolicy: false;
|
|
2312
|
+
readonly foregroundOnly: false;
|
|
2313
|
+
readonly contexts: ["background"];
|
|
2314
|
+
readonly namespace: "search";
|
|
2315
|
+
};
|
|
2316
|
+
readonly smartDomReader: {
|
|
2317
|
+
readonly minChromeVersion: 88;
|
|
2318
|
+
readonly platform: "all";
|
|
2319
|
+
readonly channel: "stable";
|
|
2320
|
+
readonly manifestVersions: [3];
|
|
2321
|
+
readonly requiresPolicy: false;
|
|
2322
|
+
readonly foregroundOnly: false;
|
|
2323
|
+
readonly contexts: ["background"];
|
|
2324
|
+
readonly namespace: "smartDomReader";
|
|
2325
|
+
};
|
|
2326
|
+
readonly sessions: {
|
|
2327
|
+
readonly platform: "all";
|
|
2328
|
+
readonly channel: "stable";
|
|
2329
|
+
readonly manifestVersions: [2, 3];
|
|
2330
|
+
readonly requiresPolicy: false;
|
|
2331
|
+
readonly foregroundOnly: false;
|
|
2332
|
+
readonly contexts: ["background"];
|
|
2333
|
+
readonly namespace: "sessions";
|
|
2334
|
+
};
|
|
2335
|
+
readonly sidePanel: {
|
|
2336
|
+
readonly minChromeVersion: 114;
|
|
2337
|
+
readonly platform: "all";
|
|
2338
|
+
readonly channel: "stable";
|
|
2339
|
+
readonly manifestVersions: [3];
|
|
2340
|
+
readonly requiresPolicy: false;
|
|
2341
|
+
readonly foregroundOnly: false;
|
|
2342
|
+
readonly contexts: ["background"];
|
|
2343
|
+
readonly namespace: "sidePanel";
|
|
2344
|
+
};
|
|
2345
|
+
readonly storage: {
|
|
2346
|
+
readonly platform: "all";
|
|
2347
|
+
readonly channel: "stable";
|
|
2348
|
+
readonly manifestVersions: [2, 3];
|
|
2349
|
+
readonly requiresPolicy: false;
|
|
2350
|
+
readonly foregroundOnly: false;
|
|
2351
|
+
readonly contexts: ["all"];
|
|
2352
|
+
readonly namespace: "storage";
|
|
2353
|
+
};
|
|
2354
|
+
readonly "system.cpu": {
|
|
2355
|
+
readonly platform: "all";
|
|
2356
|
+
readonly channel: "stable";
|
|
2357
|
+
readonly manifestVersions: [2, 3];
|
|
2358
|
+
readonly requiresPolicy: false;
|
|
2359
|
+
readonly foregroundOnly: false;
|
|
2360
|
+
readonly contexts: ["background"];
|
|
2361
|
+
readonly namespace: "system.cpu";
|
|
2362
|
+
};
|
|
2363
|
+
readonly "system.display": {
|
|
2364
|
+
readonly platform: "all";
|
|
2365
|
+
readonly channel: "stable";
|
|
2366
|
+
readonly manifestVersions: [2, 3];
|
|
2367
|
+
readonly requiresPolicy: false;
|
|
2368
|
+
readonly foregroundOnly: false;
|
|
2369
|
+
readonly contexts: ["background"];
|
|
2370
|
+
readonly namespace: "system.display";
|
|
2371
|
+
};
|
|
2372
|
+
readonly "system.memory": {
|
|
2373
|
+
readonly platform: "all";
|
|
2374
|
+
readonly channel: "stable";
|
|
2375
|
+
readonly manifestVersions: [2, 3];
|
|
2376
|
+
readonly requiresPolicy: false;
|
|
2377
|
+
readonly foregroundOnly: false;
|
|
2378
|
+
readonly contexts: ["background"];
|
|
2379
|
+
readonly namespace: "system.memory";
|
|
2380
|
+
};
|
|
2381
|
+
readonly "system.storage": {
|
|
2382
|
+
readonly platform: "all";
|
|
2383
|
+
readonly channel: "stable";
|
|
2384
|
+
readonly manifestVersions: [2, 3];
|
|
2385
|
+
readonly requiresPolicy: false;
|
|
2386
|
+
readonly foregroundOnly: false;
|
|
2387
|
+
readonly contexts: ["background"];
|
|
2388
|
+
readonly namespace: "system.storage";
|
|
2389
|
+
};
|
|
2390
|
+
readonly systemLog: {
|
|
2391
|
+
readonly minChromeVersion: 125;
|
|
2392
|
+
readonly platform: "chromeos";
|
|
2393
|
+
readonly channel: "stable";
|
|
2394
|
+
readonly manifestVersions: [2, 3];
|
|
2395
|
+
readonly requiresPolicy: true;
|
|
2396
|
+
readonly foregroundOnly: false;
|
|
2397
|
+
readonly contexts: ["background"];
|
|
2398
|
+
readonly namespace: "systemLog";
|
|
2399
|
+
};
|
|
2400
|
+
readonly tabCapture: {
|
|
2401
|
+
readonly platform: "all";
|
|
2402
|
+
readonly channel: "stable";
|
|
2403
|
+
readonly manifestVersions: [2, 3];
|
|
2404
|
+
readonly requiresPolicy: false;
|
|
2405
|
+
readonly foregroundOnly: false;
|
|
2406
|
+
readonly contexts: ["background"];
|
|
2407
|
+
readonly namespace: "tabCapture";
|
|
2408
|
+
};
|
|
2409
|
+
readonly tabGroups: {
|
|
2410
|
+
readonly minChromeVersion: 89;
|
|
2411
|
+
readonly platform: "all";
|
|
2412
|
+
readonly channel: "stable";
|
|
2413
|
+
readonly manifestVersions: [3];
|
|
2414
|
+
readonly requiresPolicy: false;
|
|
2415
|
+
readonly foregroundOnly: false;
|
|
2416
|
+
readonly contexts: ["background"];
|
|
2417
|
+
readonly namespace: "tabGroups";
|
|
2418
|
+
};
|
|
2419
|
+
readonly tabs: {
|
|
2420
|
+
readonly platform: "all";
|
|
2421
|
+
readonly channel: "stable";
|
|
2422
|
+
readonly manifestVersions: [2, 3];
|
|
2423
|
+
readonly requiresPolicy: false;
|
|
2424
|
+
readonly foregroundOnly: false;
|
|
2425
|
+
readonly contexts: ["background", "content"];
|
|
2426
|
+
readonly namespace: "tabs";
|
|
2427
|
+
};
|
|
2428
|
+
readonly topSites: {
|
|
2429
|
+
readonly platform: "all";
|
|
2430
|
+
readonly channel: "stable";
|
|
2431
|
+
readonly manifestVersions: [2, 3];
|
|
2432
|
+
readonly requiresPolicy: false;
|
|
2433
|
+
readonly foregroundOnly: false;
|
|
2434
|
+
readonly contexts: ["background"];
|
|
2435
|
+
readonly namespace: "topSites";
|
|
2436
|
+
};
|
|
2437
|
+
readonly tts: {
|
|
2438
|
+
readonly platform: "all";
|
|
2439
|
+
readonly channel: "stable";
|
|
2440
|
+
readonly manifestVersions: [2, 3];
|
|
2441
|
+
readonly requiresPolicy: false;
|
|
2442
|
+
readonly foregroundOnly: false;
|
|
2443
|
+
readonly contexts: ["background"];
|
|
2444
|
+
readonly namespace: "tts";
|
|
2445
|
+
};
|
|
2446
|
+
readonly ttsEngine: {
|
|
2447
|
+
readonly platform: "all";
|
|
2448
|
+
readonly channel: "stable";
|
|
2449
|
+
readonly manifestVersions: [2, 3];
|
|
2450
|
+
readonly requiresPolicy: false;
|
|
2451
|
+
readonly foregroundOnly: false;
|
|
2452
|
+
readonly contexts: ["background"];
|
|
2453
|
+
readonly namespace: "ttsEngine";
|
|
2454
|
+
};
|
|
2455
|
+
readonly types: {
|
|
2456
|
+
readonly platform: "all";
|
|
2457
|
+
readonly channel: "stable";
|
|
2458
|
+
readonly manifestVersions: [2, 3];
|
|
2459
|
+
readonly requiresPolicy: false;
|
|
2460
|
+
readonly foregroundOnly: false;
|
|
2461
|
+
readonly contexts: ["all"];
|
|
2462
|
+
readonly namespace: "types";
|
|
2463
|
+
};
|
|
2464
|
+
readonly userScripts: {
|
|
2465
|
+
readonly minChromeVersion: 120;
|
|
2466
|
+
readonly platform: "all";
|
|
2467
|
+
readonly channel: "stable";
|
|
2468
|
+
readonly manifestVersions: [3];
|
|
2469
|
+
readonly requiresPolicy: false;
|
|
2470
|
+
readonly foregroundOnly: false;
|
|
2471
|
+
readonly contexts: ["background"];
|
|
2472
|
+
readonly namespace: "userScripts";
|
|
2473
|
+
};
|
|
2474
|
+
readonly vpnProvider: {
|
|
2475
|
+
readonly minChromeVersion: 43;
|
|
2476
|
+
readonly platform: "chromeos";
|
|
2477
|
+
readonly channel: "stable";
|
|
2478
|
+
readonly manifestVersions: [2, 3];
|
|
2479
|
+
readonly requiresPolicy: false;
|
|
2480
|
+
readonly foregroundOnly: false;
|
|
2481
|
+
readonly contexts: ["background"];
|
|
2482
|
+
readonly namespace: "vpnProvider";
|
|
2483
|
+
};
|
|
2484
|
+
readonly wallpaper: {
|
|
2485
|
+
readonly minChromeVersion: 43;
|
|
2486
|
+
readonly platform: "chromeos";
|
|
2487
|
+
readonly channel: "stable";
|
|
2488
|
+
readonly manifestVersions: [2, 3];
|
|
2489
|
+
readonly requiresPolicy: false;
|
|
2490
|
+
readonly foregroundOnly: false;
|
|
2491
|
+
readonly contexts: ["background"];
|
|
2492
|
+
readonly namespace: "wallpaper";
|
|
2493
|
+
};
|
|
2494
|
+
readonly webAuthenticationProxy: {
|
|
2495
|
+
readonly minChromeVersion: 115;
|
|
2496
|
+
readonly platform: "all";
|
|
2497
|
+
readonly channel: "stable";
|
|
2498
|
+
readonly manifestVersions: [3];
|
|
2499
|
+
readonly requiresPolicy: false;
|
|
2500
|
+
readonly foregroundOnly: false;
|
|
2501
|
+
readonly contexts: ["background"];
|
|
2502
|
+
readonly namespace: "webAuthenticationProxy";
|
|
2503
|
+
};
|
|
2504
|
+
readonly webNavigation: {
|
|
2505
|
+
readonly platform: "all";
|
|
2506
|
+
readonly channel: "stable";
|
|
2507
|
+
readonly manifestVersions: [2, 3];
|
|
2508
|
+
readonly requiresPolicy: false;
|
|
2509
|
+
readonly foregroundOnly: false;
|
|
2510
|
+
readonly contexts: ["background"];
|
|
2511
|
+
readonly namespace: "webNavigation";
|
|
2512
|
+
};
|
|
2513
|
+
readonly webRequest: {
|
|
2514
|
+
readonly platform: "all";
|
|
2515
|
+
readonly channel: "stable";
|
|
2516
|
+
readonly manifestVersions: [2, 3];
|
|
2517
|
+
readonly requiresPolicy: false;
|
|
2518
|
+
readonly foregroundOnly: false;
|
|
2519
|
+
readonly contexts: ["background"];
|
|
2520
|
+
readonly namespace: "webRequest";
|
|
2521
|
+
};
|
|
2522
|
+
readonly windows: {
|
|
2523
|
+
readonly platform: "all";
|
|
2524
|
+
readonly channel: "stable";
|
|
2525
|
+
readonly manifestVersions: [2, 3];
|
|
2526
|
+
readonly requiresPolicy: false;
|
|
2527
|
+
readonly foregroundOnly: false;
|
|
2528
|
+
readonly contexts: ["background"];
|
|
2529
|
+
readonly namespace: "windows";
|
|
2530
|
+
};
|
|
2448
2531
|
};
|
|
2449
2532
|
/**
|
|
2450
2533
|
* Helper function to check if an API is available in the current context
|
|
@@ -2453,10 +2536,51 @@ declare function isApiAvailable(api: ChromeApi, context: ChromeContext, manifest
|
|
|
2453
2536
|
/**
|
|
2454
2537
|
* Get the Chrome API object reference by API enum
|
|
2455
2538
|
*/
|
|
2456
|
-
declare function getChromeApiReference(api: ChromeApi):
|
|
2539
|
+
declare function getChromeApiReference(api: ChromeApi): unknown;
|
|
2457
2540
|
/**
|
|
2458
2541
|
* Get all available APIs for a given context and manifest version
|
|
2459
2542
|
*/
|
|
2460
2543
|
declare function getAvailableApis(context: ChromeContext, manifestVersion: 2 | 3, platform?: ChromePlatform, chromeVersion?: number): ChromeApi[];
|
|
2461
|
-
|
|
2462
|
-
|
|
2544
|
+
//#endregion
|
|
2545
|
+
//#region src/DomExtractionTools.d.ts
|
|
2546
|
+
interface DomExtractionToolsOptions {
|
|
2547
|
+
extractStructure?: boolean;
|
|
2548
|
+
extractRegion?: boolean;
|
|
2549
|
+
extractContent?: boolean;
|
|
2550
|
+
}
|
|
2551
|
+
/**
|
|
2552
|
+
* DOM Extraction Tools for AI Browser Agents
|
|
2553
|
+
*
|
|
2554
|
+
* Provides step-by-step DOM extraction optimized for token efficiency.
|
|
2555
|
+
* Designed for AI agents to progressively understand and interact with web pages.
|
|
2556
|
+
*
|
|
2557
|
+
* Workflow:
|
|
2558
|
+
* 1. extractStructure - Get high-level page overview (minimal tokens)
|
|
2559
|
+
* 2. extractRegion - Extract details from specific region based on structure
|
|
2560
|
+
* 3. extractContent - Get readable content from a region
|
|
2561
|
+
*
|
|
2562
|
+
* Uses chrome.userScripts.execute to dynamically import the Smart DOM Reader
|
|
2563
|
+
* module inside the page context and immediately return structured data without
|
|
2564
|
+
* mutating window scope.
|
|
2565
|
+
*/
|
|
2566
|
+
declare class DomExtractionTools extends BaseApiTools<DomExtractionToolsOptions> {
|
|
2567
|
+
protected apiName: string;
|
|
2568
|
+
private bundleScript;
|
|
2569
|
+
private userScriptsSupport;
|
|
2570
|
+
constructor(server: McpServer, options?: DomExtractionToolsOptions);
|
|
2571
|
+
private getBundleScript;
|
|
2572
|
+
private resolveTabId;
|
|
2573
|
+
private canUseUserScripts;
|
|
2574
|
+
private isExtractionError;
|
|
2575
|
+
private ensureUserScriptsEnabled;
|
|
2576
|
+
private serializeArgs;
|
|
2577
|
+
private executeExtraction;
|
|
2578
|
+
checkAvailability(): ApiAvailability;
|
|
2579
|
+
registerTools(): void;
|
|
2580
|
+
private registerExtractStructure;
|
|
2581
|
+
private registerExtractRegion;
|
|
2582
|
+
private registerExtractContent;
|
|
2583
|
+
}
|
|
2584
|
+
//#endregion
|
|
2585
|
+
export { AlarmsApiTools, AlarmsApiToolsOptions, ApiAvailability, AudioApiTools, AudioApiToolsOptions, BOOKMARK_ACTIONS, BaseApiTools, BookmarksApiTools, BookmarksApiToolsOptions, BrowsingDataApiTools, BrowsingDataApiToolsOptions, CHROME_API_REGISTRY, CertificateProviderApiTools, CertificateProviderApiToolsOptions, ChromeApi, ChromeApiMetadata, ChromeApiMetadataSchema, ChromeChannel, ChromeChannelSchema, ChromeContext, ChromeContextSchema, ChromePlatform, ChromePlatformSchema, CommandsApiTools, CommandsApiToolsOptions, ContentSettingsApiTools, ContentSettingsApiToolsOptions, ContextMenusApiTools, ContextMenusApiToolsOptions, CookiesApiTools, CookiesApiToolsOptions, DebuggerApiTools, DebuggerApiToolsOptions, DeclarativeContentApiTools, DeclarativeContentApiToolsOptions, DeclarativeNetRequestApiTools, DeclarativeNetRequestApiToolsOptions, DesktopCaptureApiTools, DesktopCaptureApiToolsOptions, DevtoolsInspectedWindowApiTools, DevtoolsInspectedWindowApiToolsOptions, DevtoolsNetworkApiTools, DevtoolsNetworkApiToolsOptions, DevtoolsPanelsApiTools, DevtoolsPanelsApiToolsOptions, DocumentScanApiTools, DocumentScanApiToolsOptions, DomApiTools, DomApiToolsOptions, DomExtractionTools, DomExtractionToolsOptions, DownloadsApiTools, DownloadsApiToolsOptions, EnterpriseDeviceAttributesApiTools, EnterpriseDeviceAttributesApiToolsOptions, EnterpriseHardwarePlatformApiTools, EnterpriseHardwarePlatformApiToolsOptions, EnterpriseNetworkingAttributesApiTools, EnterpriseNetworkingAttributesApiToolsOptions, EnterprisePlatformKeysApiTools, EnterprisePlatformKeysApiToolsOptions, ExtensionApiTools, ExtensionApiToolsOptions, FileBrowserHandlerApiTools, FileBrowserHandlerApiToolsOptions, FileSystemProviderApiTools, FileSystemProviderApiToolsOptions, FontSettingsApiTools, FontSettingsApiToolsOptions, GcmApiTools, GcmApiToolsOptions, HISTORY_ACTIONS, HistoryApiTools, HistoryApiToolsOptions, I18nApiTools, I18nApiToolsOptions, IdentityApiTools, IdentityApiToolsOptions, IdleApiTools, IdleApiToolsOptions, InputImeApiTools, InputImeApiToolsOptions, InstanceIDApiTools, InstanceIDApiToolsOptions, LoginStateApiTools, LoginStateApiToolsOptions, ManagementApiTools, ManagementApiToolsOptions, NotificationsApiTools, NotificationsApiToolsOptions, OffscreenApiTools, OffscreenApiToolsOptions, OmniboxApiTools, OmniboxApiToolsOptions, PageCaptureApiTools, PageCaptureApiToolsOptions, PermissionsApiTools, PermissionsApiToolsOptions, PlatformKeysApiTools, PlatformKeysApiToolsOptions, PowerApiTools, PowerApiToolsOptions, PrintingApiTools, PrintingApiToolsOptions, PrintingMetricsApiTools, PrintingMetricsApiToolsOptions, ProxyApiTools, ProxyApiToolsOptions, ReadingListApiTools, ReadingListApiToolsOptions, RuntimeApiTools, RuntimeApiToolsOptions, STORAGE_ACTIONS, ScriptingApiTools, ScriptingApiToolsOptions, SearchApiTools, SearchApiToolsOptions, SessionsApiTools, SessionsApiToolsOptions, SidePanelApiTools, SidePanelApiToolsOptions, StorageApiTools, StorageApiToolsOptions, SystemCpuApiTools, SystemCpuApiToolsOptions, SystemLogApiTools, SystemLogApiToolsOptions, SystemMemoryApiTools, SystemMemoryApiToolsOptions, SystemStorageApiTools, SystemStorageApiToolsOptions, TAB_ACTIONS, TAB_GROUP_ACTIONS, TabCaptureApiTools, TabCaptureApiToolsOptions, TabGroupsApiTools, TabGroupsApiToolsOptions, TabsApiTools, TabsApiToolsOptions, TopSitesApiTools, TopSitesApiToolsOptions, TtsApiTools, TtsApiToolsOptions, TtsEngineApiTools, TtsEngineApiToolsOptions, UserScriptsApiTools, UserScriptsApiToolsOptions, VpnProviderApiTools, VpnProviderApiToolsOptions, WINDOW_ACTIONS, WallpaperApiTools, WallpaperApiToolsOptions, WebAuthenticationProxyApiTools, WebAuthenticationProxyApiToolsOptions, WebNavigationApiTools, WebNavigationApiToolsOptions, WebRequestApiTools, WebRequestApiToolsOptions, WindowsApiTools, WindowsApiToolsOptions, getAvailableApis, getChromeApiReference, isApiAvailable };
|
|
2586
|
+
//# sourceMappingURL=index.d.ts.map
|