@pi-oxide/extension-js 0.13.0 → 0.13.2
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/content-script.js +3 -3
- package/extension_js.d.ts +51 -48
- package/extension_js.js +104019 -26171
- package/index.js +1067 -949
- package/package.json +2 -5
- package/worker.js +367 -359
- package/content-script/action-result.d.ts +0 -4
- package/content-script/dom-tree.d.ts +0 -28
- package/content-script/dom-utils.d.ts +0 -37
- package/content-script/file-resolution.d.ts +0 -22
- package/content-script/form-validation.d.ts +0 -12
- package/content-script/handlers.d.ts +0 -3
- package/content-script/index.d.ts +0 -6
- package/content-script/listbox.d.ts +0 -7
- package/content-script/logger.d.ts +0 -12
- package/content-script/message-router.d.ts +0 -1
- package/content-script/observation-lease.d.ts +0 -55
- package/content-script/registry.d.ts +0 -24
- package/content-script/schemas.d.ts +0 -5
- package/content-script/snapshot.d.ts +0 -3
- package/main/index.d.ts +0 -8
- package/main/runner/chrome/internals.d.ts +0 -9
- package/main/runner/chrome/native.d.ts +0 -6
- package/main/runner/command.d.ts +0 -3
- package/main/runner/dom/snapshot.d.ts +0 -8
- package/main/runner/fetch.d.ts +0 -4
- package/main/runner/host.d.ts +0 -3
- package/main/runner/index.d.ts +0 -2
- package/main/runner/lib/constants.d.ts +0 -14
- package/main/runner/lib/host-registry.d.ts +0 -6
- package/main/runner/lib/network-tracker.d.ts +0 -16
- package/main/runner/lib/params-helpers.d.ts +0 -2
- package/main/runner/lib/params.d.ts +0 -5
- package/main/runner/lib/types.d.ts +0 -116
- package/main/runner/runtime.d.ts +0 -15
- package/main/runner/sidepanel/dom.d.ts +0 -6
- package/main/runner/snapshot-merge.d.ts +0 -8
- package/main/runner/tab/execute.d.ts +0 -24
- package/main/runner/tools/aliases.d.ts +0 -1
- package/main/runner/tools/chrome/action.d.ts +0 -1
- package/main/runner/tools/chrome/alarms.d.ts +0 -1
- package/main/runner/tools/chrome/bookmarks.d.ts +0 -1
- package/main/runner/tools/chrome/browsing-data.d.ts +0 -1
- package/main/runner/tools/chrome/capability.d.ts +0 -30
- package/main/runner/tools/chrome/context-menus.d.ts +0 -1
- package/main/runner/tools/chrome/cookies.d.ts +0 -1
- package/main/runner/tools/chrome/declarative-net-request.d.ts +0 -1
- package/main/runner/tools/chrome/desktop-capture.d.ts +0 -1
- package/main/runner/tools/chrome/downloads.d.ts +0 -1
- package/main/runner/tools/chrome/history.d.ts +0 -1
- package/main/runner/tools/chrome/identity.d.ts +0 -1
- package/main/runner/tools/chrome/idle.d.ts +0 -1
- package/main/runner/tools/chrome/index.d.ts +0 -1
- package/main/runner/tools/chrome/management.d.ts +0 -1
- package/main/runner/tools/chrome/notifications.d.ts +0 -1
- package/main/runner/tools/chrome/offscreen.d.ts +0 -1
- package/main/runner/tools/chrome/page-capture.d.ts +0 -1
- package/main/runner/tools/chrome/permissions.d.ts +0 -1
- package/main/runner/tools/chrome/register-helpers.d.ts +0 -9
- package/main/runner/tools/chrome/runtime.d.ts +0 -1
- package/main/runner/tools/chrome/scripting.d.ts +0 -1
- package/main/runner/tools/chrome/sessions.d.ts +0 -1
- package/main/runner/tools/chrome/side-panel.d.ts +0 -1
- package/main/runner/tools/chrome/system.d.ts +0 -1
- package/main/runner/tools/chrome/tab-groups.d.ts +0 -1
- package/main/runner/tools/chrome/tabs.d.ts +0 -1
- package/main/runner/tools/chrome/top-sites.d.ts +0 -1
- package/main/runner/tools/chrome/windows.d.ts +0 -1
- package/main/runner/tools/chrome-storage.d.ts +0 -1
- package/main/runner/tools/clipboard.d.ts +0 -1
- package/main/runner/tools/dom.d.ts +0 -1
- package/main/runner/tools/host-call.d.ts +0 -1
- package/main/runner/tools/network.d.ts +0 -1
- package/main/runner/tools/page.d.ts +0 -1
- package/main/runner/tools/sidepanel.d.ts +0 -1
- package/main/runner/tools/storage.d.ts +0 -1
- package/main/runner/tools/tab.d.ts +0 -1
- package/main/session/extension-session.d.ts +0 -106
- package/main/tab-context.d.ts +0 -12
- package/shared/array-buffer.d.ts +0 -4
- package/shared/collect-inline-snapshot.d.ts +0 -50
- package/shared/cross/agent-errors.d.ts +0 -28
- package/shared/cross/array-buffer.d.ts +0 -4
- package/shared/cross/collect-inline-snapshot.d.ts +0 -58
- package/shared/cross/content-script-actions.d.ts +0 -7
- package/shared/cross/content-script-tools.d.ts +0 -3
- package/shared/cross/dispatch.d.ts +0 -5
- package/shared/cross/fetch-response.d.ts +0 -12
- package/shared/cross/format-types.d.ts +0 -43
- package/shared/cross/fs-types.d.ts +0 -81
- package/shared/cross/generated.d.ts +0 -328
- package/shared/cross/manifest.d.ts +0 -130
- package/shared/cross/normalize-agent-error.d.ts +0 -17
- package/shared/cross/page-specs.d.ts +0 -7
- package/shared/cross/schemas/chrome.d.ts +0 -56
- package/shared/cross/schemas/clipboard.d.ts +0 -19
- package/shared/cross/schemas/fs.d.ts +0 -65
- package/shared/cross/schemas/helpers.d.ts +0 -71
- package/shared/cross/schemas/host.d.ts +0 -15
- package/shared/cross/schemas/network.d.ts +0 -34
- package/shared/cross/schemas/page.d.ts +0 -494
- package/shared/cross/schemas/returns.d.ts +0 -8791
- package/shared/cross/schemas/sidepanel.d.ts +0 -284
- package/shared/cross/schemas/snapshot.d.ts +0 -272
- package/shared/cross/schemas/storage.d.ts +0 -60
- package/shared/cross/schemas/tab.d.ts +0 -597
- package/shared/cross/schemas.d.ts +0 -12
- package/shared/cross/snapshot-filter.d.ts +0 -15
- package/shared/cross/tab-specs.d.ts +0 -3
- package/shared/cross/types.d.ts +0 -12
- package/shared/cross/zod-to-docs.d.ts +0 -28
- package/shared/cs/ref-id.d.ts +0 -5
- package/shared/cs/snapshot-dom.d.ts +0 -47
- package/shared/fetch-response.d.ts +0 -12
- package/shared/fs-types.d.ts +0 -81
- package/shared/generated.d.ts +0 -241
- package/shared/log-levels.d.ts +0 -5
- package/shared/logger.d.ts +0 -18
- package/shared/main/content-script-response.d.ts +0 -5
- package/shared/main/define-content-script-tool.d.ts +0 -7
- package/shared/main/log-levels.d.ts +0 -5
- package/shared/main/logger.d.ts +0 -18
- package/shared/main/routes.d.ts +0 -14
- package/shared/main/tool-registry.d.ts +0 -19
- package/shared/ref-id.d.ts +0 -5
- package/shared/registry/agent-errors.d.ts +0 -27
- package/shared/registry/content-script-actions.d.ts +0 -7
- package/shared/registry/content-script-response.d.ts +0 -5
- package/shared/registry/content-script-tools.d.ts +0 -13
- package/shared/registry/define-content-script-tool.d.ts +0 -7
- package/shared/registry/dispatch.d.ts +0 -5
- package/shared/registry/manifest.d.ts +0 -130
- package/shared/registry/normalize-agent-error.d.ts +0 -17
- package/shared/registry/routes.d.ts +0 -14
- package/shared/registry/types.d.ts +0 -12
- package/shared/registry/zod-to-docs.d.ts +0 -28
- package/shared/schemas.d.ts +0 -10663
- package/shared/snapshot-dom.d.ts +0 -47
- package/shared/snapshot-filter.d.ts +0 -15
- package/shared/tool-registry.d.ts +0 -19
- package/worker/binary-blob-store.d.ts +0 -12
- package/worker/fetch-store.d.ts +0 -1
- package/worker/resolve-set-files.d.ts +0 -22
- package/worker/vfs-write-cache.d.ts +0 -3
- package/worker/worker.d.ts +0 -84
|
@@ -1,597 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export declare const TabQueryParamsSchema: z.ZodObject<{
|
|
4
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
-
currentWindow: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
-
url: z.ZodOptional<z.ZodString>;
|
|
7
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
-
currentWindow: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
url: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
currentWindow: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
url: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
16
|
-
export declare const TabCreateParamsSchema: z.ZodEffects<z.ZodObject<{
|
|
17
|
-
url: z.ZodOptional<z.ZodString>;
|
|
18
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
url?: string | undefined;
|
|
21
|
-
active?: boolean | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
url?: string | undefined;
|
|
24
|
-
active?: boolean | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
url?: string | undefined;
|
|
27
|
-
active?: boolean | undefined;
|
|
28
|
-
}, unknown>;
|
|
29
|
-
export declare const TabActivateParamsSchema: z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodObject<{
|
|
30
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
31
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
32
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
34
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
38
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
41
|
-
}, z.ZodTypeAny, "passthrough">>, "many">, z.ZodObject<{
|
|
42
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
44
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
45
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
46
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
49
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
50
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
52
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
}, z.ZodTypeAny, "passthrough">>]>;
|
|
54
|
-
export declare const TabCloseParamsSchema: z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodObject<{
|
|
55
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
56
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
59
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
60
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
61
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
62
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
63
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
64
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
65
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
66
|
-
}, z.ZodTypeAny, "passthrough">>, "many">, z.ZodObject<{
|
|
67
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
68
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
69
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
70
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
71
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
73
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
74
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
75
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
76
|
-
tabId: z.ZodOptional<z.ZodNumber>;
|
|
77
|
-
tab_id: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
}, z.ZodTypeAny, "passthrough">>]>;
|
|
79
|
-
export declare const TabClickParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
80
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
81
|
-
label: z.ZodOptional<z.ZodString>;
|
|
82
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
83
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
84
|
-
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
tabId?: number | bigint | undefined;
|
|
86
|
-
refId?: string | undefined;
|
|
87
|
-
label?: string | undefined;
|
|
88
|
-
__invalidPositional?: string | number | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
tabId?: number | bigint | undefined;
|
|
91
|
-
refId?: string | undefined;
|
|
92
|
-
label?: string | undefined;
|
|
93
|
-
__invalidPositional?: string | number | undefined;
|
|
94
|
-
}>, {
|
|
95
|
-
tabId?: number | bigint | undefined;
|
|
96
|
-
refId?: string | undefined;
|
|
97
|
-
label?: string | undefined;
|
|
98
|
-
__invalidPositional?: string | number | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
tabId?: number | bigint | undefined;
|
|
101
|
-
refId?: string | undefined;
|
|
102
|
-
label?: string | undefined;
|
|
103
|
-
__invalidPositional?: string | number | undefined;
|
|
104
|
-
}>, {
|
|
105
|
-
tabId?: number | bigint | undefined;
|
|
106
|
-
refId?: string | undefined;
|
|
107
|
-
label?: string | undefined;
|
|
108
|
-
__invalidPositional?: string | number | undefined;
|
|
109
|
-
}, unknown>;
|
|
110
|
-
export declare const TabFillParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
111
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
112
|
-
label: z.ZodOptional<z.ZodString>;
|
|
113
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
114
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
115
|
-
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
tabId?: number | bigint | undefined;
|
|
117
|
-
refId?: string | undefined;
|
|
118
|
-
label?: string | undefined;
|
|
119
|
-
__invalidPositional?: string | number | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
tabId?: number | bigint | undefined;
|
|
122
|
-
refId?: string | undefined;
|
|
123
|
-
label?: string | undefined;
|
|
124
|
-
__invalidPositional?: string | number | undefined;
|
|
125
|
-
}>, {
|
|
126
|
-
tabId?: number | bigint | undefined;
|
|
127
|
-
refId?: string | undefined;
|
|
128
|
-
label?: string | undefined;
|
|
129
|
-
__invalidPositional?: string | number | undefined;
|
|
130
|
-
}, {
|
|
131
|
-
tabId?: number | bigint | undefined;
|
|
132
|
-
refId?: string | undefined;
|
|
133
|
-
label?: string | undefined;
|
|
134
|
-
__invalidPositional?: string | number | undefined;
|
|
135
|
-
}>, {
|
|
136
|
-
tabId?: number | bigint | undefined;
|
|
137
|
-
refId?: string | undefined;
|
|
138
|
-
label?: string | undefined;
|
|
139
|
-
__invalidPositional?: string | number | undefined;
|
|
140
|
-
}, unknown>;
|
|
141
|
-
export declare const TabSetFilesParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
142
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
143
|
-
label: z.ZodOptional<z.ZodString>;
|
|
144
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
145
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
tabId?: number | bigint | undefined;
|
|
148
|
-
refId?: string | undefined;
|
|
149
|
-
label?: string | undefined;
|
|
150
|
-
__invalidPositional?: string | number | undefined;
|
|
151
|
-
}, {
|
|
152
|
-
tabId?: number | bigint | undefined;
|
|
153
|
-
refId?: string | undefined;
|
|
154
|
-
label?: string | undefined;
|
|
155
|
-
__invalidPositional?: string | number | undefined;
|
|
156
|
-
}>, {
|
|
157
|
-
tabId?: number | bigint | undefined;
|
|
158
|
-
refId?: string | undefined;
|
|
159
|
-
label?: string | undefined;
|
|
160
|
-
__invalidPositional?: string | number | undefined;
|
|
161
|
-
}, {
|
|
162
|
-
tabId?: number | bigint | undefined;
|
|
163
|
-
refId?: string | undefined;
|
|
164
|
-
label?: string | undefined;
|
|
165
|
-
__invalidPositional?: string | number | undefined;
|
|
166
|
-
}>, {
|
|
167
|
-
tabId?: number | bigint | undefined;
|
|
168
|
-
refId?: string | undefined;
|
|
169
|
-
label?: string | undefined;
|
|
170
|
-
__invalidPositional?: string | number | undefined;
|
|
171
|
-
}, unknown>;
|
|
172
|
-
export declare const TabResolvedSetFilesParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
173
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
174
|
-
label: z.ZodOptional<z.ZodString>;
|
|
175
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
176
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
tabId?: number | bigint | undefined;
|
|
179
|
-
refId?: string | undefined;
|
|
180
|
-
label?: string | undefined;
|
|
181
|
-
__invalidPositional?: string | number | undefined;
|
|
182
|
-
}, {
|
|
183
|
-
tabId?: number | bigint | undefined;
|
|
184
|
-
refId?: string | undefined;
|
|
185
|
-
label?: string | undefined;
|
|
186
|
-
__invalidPositional?: string | number | undefined;
|
|
187
|
-
}>, {
|
|
188
|
-
tabId?: number | bigint | undefined;
|
|
189
|
-
refId?: string | undefined;
|
|
190
|
-
label?: string | undefined;
|
|
191
|
-
__invalidPositional?: string | number | undefined;
|
|
192
|
-
}, {
|
|
193
|
-
tabId?: number | bigint | undefined;
|
|
194
|
-
refId?: string | undefined;
|
|
195
|
-
label?: string | undefined;
|
|
196
|
-
__invalidPositional?: string | number | undefined;
|
|
197
|
-
}>, {
|
|
198
|
-
tabId?: number | bigint | undefined;
|
|
199
|
-
refId?: string | undefined;
|
|
200
|
-
label?: string | undefined;
|
|
201
|
-
__invalidPositional?: string | number | undefined;
|
|
202
|
-
}, unknown>;
|
|
203
|
-
export declare const TabScrollToParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
204
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
205
|
-
label: z.ZodOptional<z.ZodString>;
|
|
206
|
-
x: z.ZodOptional<z.ZodNumber>;
|
|
207
|
-
y: z.ZodOptional<z.ZodNumber>;
|
|
208
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
209
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
210
|
-
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
tabId?: number | bigint | undefined;
|
|
212
|
-
refId?: string | undefined;
|
|
213
|
-
label?: string | undefined;
|
|
214
|
-
__invalidPositional?: string | number | undefined;
|
|
215
|
-
x?: number | undefined;
|
|
216
|
-
y?: number | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
tabId?: number | bigint | undefined;
|
|
219
|
-
refId?: string | undefined;
|
|
220
|
-
label?: string | undefined;
|
|
221
|
-
__invalidPositional?: string | number | undefined;
|
|
222
|
-
x?: number | undefined;
|
|
223
|
-
y?: number | undefined;
|
|
224
|
-
}>, {
|
|
225
|
-
tabId?: number | bigint | undefined;
|
|
226
|
-
refId?: string | undefined;
|
|
227
|
-
label?: string | undefined;
|
|
228
|
-
__invalidPositional?: string | number | undefined;
|
|
229
|
-
x?: number | undefined;
|
|
230
|
-
y?: number | undefined;
|
|
231
|
-
}, {
|
|
232
|
-
tabId?: number | bigint | undefined;
|
|
233
|
-
refId?: string | undefined;
|
|
234
|
-
label?: string | undefined;
|
|
235
|
-
__invalidPositional?: string | number | undefined;
|
|
236
|
-
x?: number | undefined;
|
|
237
|
-
y?: number | undefined;
|
|
238
|
-
}>, {
|
|
239
|
-
tabId?: number | bigint | undefined;
|
|
240
|
-
refId?: string | undefined;
|
|
241
|
-
label?: string | undefined;
|
|
242
|
-
__invalidPositional?: string | number | undefined;
|
|
243
|
-
x?: number | undefined;
|
|
244
|
-
y?: number | undefined;
|
|
245
|
-
}, unknown>;
|
|
246
|
-
export declare const TabTypeParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
247
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
248
|
-
label: z.ZodOptional<z.ZodString>;
|
|
249
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
250
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
tabId?: number | bigint | undefined;
|
|
253
|
-
refId?: string | undefined;
|
|
254
|
-
label?: string | undefined;
|
|
255
|
-
__invalidPositional?: string | number | undefined;
|
|
256
|
-
}, {
|
|
257
|
-
tabId?: number | bigint | undefined;
|
|
258
|
-
refId?: string | undefined;
|
|
259
|
-
label?: string | undefined;
|
|
260
|
-
__invalidPositional?: string | number | undefined;
|
|
261
|
-
}>, {
|
|
262
|
-
tabId?: number | bigint | undefined;
|
|
263
|
-
refId?: string | undefined;
|
|
264
|
-
label?: string | undefined;
|
|
265
|
-
__invalidPositional?: string | number | undefined;
|
|
266
|
-
}, {
|
|
267
|
-
tabId?: number | bigint | undefined;
|
|
268
|
-
refId?: string | undefined;
|
|
269
|
-
label?: string | undefined;
|
|
270
|
-
__invalidPositional?: string | number | undefined;
|
|
271
|
-
}>, {
|
|
272
|
-
tabId?: number | bigint | undefined;
|
|
273
|
-
refId?: string | undefined;
|
|
274
|
-
label?: string | undefined;
|
|
275
|
-
__invalidPositional?: string | number | undefined;
|
|
276
|
-
}, unknown>;
|
|
277
|
-
export declare const TabPressParamsSchema: z.ZodObject<{
|
|
278
|
-
key: z.ZodString;
|
|
279
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
280
|
-
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
key: string;
|
|
282
|
-
tabId?: number | bigint | undefined;
|
|
283
|
-
}, {
|
|
284
|
-
key: string;
|
|
285
|
-
tabId?: number | bigint | undefined;
|
|
286
|
-
}>;
|
|
287
|
-
export declare const TabSelectParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
288
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
289
|
-
label: z.ZodOptional<z.ZodString>;
|
|
290
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
291
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
tabId?: number | bigint | undefined;
|
|
294
|
-
refId?: string | undefined;
|
|
295
|
-
label?: string | undefined;
|
|
296
|
-
__invalidPositional?: string | number | undefined;
|
|
297
|
-
}, {
|
|
298
|
-
tabId?: number | bigint | undefined;
|
|
299
|
-
refId?: string | undefined;
|
|
300
|
-
label?: string | undefined;
|
|
301
|
-
__invalidPositional?: string | number | undefined;
|
|
302
|
-
}>, {
|
|
303
|
-
tabId?: number | bigint | undefined;
|
|
304
|
-
refId?: string | undefined;
|
|
305
|
-
label?: string | undefined;
|
|
306
|
-
__invalidPositional?: string | number | undefined;
|
|
307
|
-
}, {
|
|
308
|
-
tabId?: number | bigint | undefined;
|
|
309
|
-
refId?: string | undefined;
|
|
310
|
-
label?: string | undefined;
|
|
311
|
-
__invalidPositional?: string | number | undefined;
|
|
312
|
-
}>, {
|
|
313
|
-
tabId?: number | bigint | undefined;
|
|
314
|
-
refId?: string | undefined;
|
|
315
|
-
label?: string | undefined;
|
|
316
|
-
__invalidPositional?: string | number | undefined;
|
|
317
|
-
}, unknown>;
|
|
318
|
-
export declare const TabSelectOptionParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
319
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
320
|
-
label: z.ZodOptional<z.ZodString>;
|
|
321
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
322
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
323
|
-
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
tabId?: number | bigint | undefined;
|
|
325
|
-
refId?: string | undefined;
|
|
326
|
-
label?: string | undefined;
|
|
327
|
-
__invalidPositional?: string | number | undefined;
|
|
328
|
-
}, {
|
|
329
|
-
tabId?: number | bigint | undefined;
|
|
330
|
-
refId?: string | undefined;
|
|
331
|
-
label?: string | undefined;
|
|
332
|
-
__invalidPositional?: string | number | undefined;
|
|
333
|
-
}>, {
|
|
334
|
-
tabId?: number | bigint | undefined;
|
|
335
|
-
refId?: string | undefined;
|
|
336
|
-
label?: string | undefined;
|
|
337
|
-
__invalidPositional?: string | number | undefined;
|
|
338
|
-
}, {
|
|
339
|
-
tabId?: number | bigint | undefined;
|
|
340
|
-
refId?: string | undefined;
|
|
341
|
-
label?: string | undefined;
|
|
342
|
-
__invalidPositional?: string | number | undefined;
|
|
343
|
-
}>, {
|
|
344
|
-
tabId?: number | bigint | undefined;
|
|
345
|
-
refId?: string | undefined;
|
|
346
|
-
label?: string | undefined;
|
|
347
|
-
__invalidPositional?: string | number | undefined;
|
|
348
|
-
}, unknown>;
|
|
349
|
-
export declare const TabCheckParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
350
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
351
|
-
label: z.ZodOptional<z.ZodString>;
|
|
352
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
353
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
tabId?: number | bigint | undefined;
|
|
356
|
-
refId?: string | undefined;
|
|
357
|
-
label?: string | undefined;
|
|
358
|
-
__invalidPositional?: string | number | undefined;
|
|
359
|
-
}, {
|
|
360
|
-
tabId?: number | bigint | undefined;
|
|
361
|
-
refId?: string | undefined;
|
|
362
|
-
label?: string | undefined;
|
|
363
|
-
__invalidPositional?: string | number | undefined;
|
|
364
|
-
}>, {
|
|
365
|
-
tabId?: number | bigint | undefined;
|
|
366
|
-
refId?: string | undefined;
|
|
367
|
-
label?: string | undefined;
|
|
368
|
-
__invalidPositional?: string | number | undefined;
|
|
369
|
-
}, {
|
|
370
|
-
tabId?: number | bigint | undefined;
|
|
371
|
-
refId?: string | undefined;
|
|
372
|
-
label?: string | undefined;
|
|
373
|
-
__invalidPositional?: string | number | undefined;
|
|
374
|
-
}>, {
|
|
375
|
-
tabId?: number | bigint | undefined;
|
|
376
|
-
refId?: string | undefined;
|
|
377
|
-
label?: string | undefined;
|
|
378
|
-
__invalidPositional?: string | number | undefined;
|
|
379
|
-
}, unknown>;
|
|
380
|
-
export declare const TabHoverParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
381
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
382
|
-
label: z.ZodOptional<z.ZodString>;
|
|
383
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
384
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
385
|
-
}, "strip", z.ZodTypeAny, {
|
|
386
|
-
tabId?: number | bigint | undefined;
|
|
387
|
-
refId?: string | undefined;
|
|
388
|
-
label?: string | undefined;
|
|
389
|
-
__invalidPositional?: string | number | undefined;
|
|
390
|
-
}, {
|
|
391
|
-
tabId?: number | bigint | undefined;
|
|
392
|
-
refId?: string | undefined;
|
|
393
|
-
label?: string | undefined;
|
|
394
|
-
__invalidPositional?: string | number | undefined;
|
|
395
|
-
}>, {
|
|
396
|
-
tabId?: number | bigint | undefined;
|
|
397
|
-
refId?: string | undefined;
|
|
398
|
-
label?: string | undefined;
|
|
399
|
-
__invalidPositional?: string | number | undefined;
|
|
400
|
-
}, {
|
|
401
|
-
tabId?: number | bigint | undefined;
|
|
402
|
-
refId?: string | undefined;
|
|
403
|
-
label?: string | undefined;
|
|
404
|
-
__invalidPositional?: string | number | undefined;
|
|
405
|
-
}>, {
|
|
406
|
-
tabId?: number | bigint | undefined;
|
|
407
|
-
refId?: string | undefined;
|
|
408
|
-
label?: string | undefined;
|
|
409
|
-
__invalidPositional?: string | number | undefined;
|
|
410
|
-
}, unknown>;
|
|
411
|
-
export declare const TabSubmitParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
412
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
413
|
-
label: z.ZodOptional<z.ZodString>;
|
|
414
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
415
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
416
|
-
}, "strip", z.ZodTypeAny, {
|
|
417
|
-
tabId?: number | bigint | undefined;
|
|
418
|
-
refId?: string | undefined;
|
|
419
|
-
label?: string | undefined;
|
|
420
|
-
__invalidPositional?: string | number | undefined;
|
|
421
|
-
}, {
|
|
422
|
-
tabId?: number | bigint | undefined;
|
|
423
|
-
refId?: string | undefined;
|
|
424
|
-
label?: string | undefined;
|
|
425
|
-
__invalidPositional?: string | number | undefined;
|
|
426
|
-
}>, {
|
|
427
|
-
tabId?: number | bigint | undefined;
|
|
428
|
-
refId?: string | undefined;
|
|
429
|
-
label?: string | undefined;
|
|
430
|
-
__invalidPositional?: string | number | undefined;
|
|
431
|
-
}, {
|
|
432
|
-
tabId?: number | bigint | undefined;
|
|
433
|
-
refId?: string | undefined;
|
|
434
|
-
label?: string | undefined;
|
|
435
|
-
__invalidPositional?: string | number | undefined;
|
|
436
|
-
}>, {
|
|
437
|
-
tabId?: number | bigint | undefined;
|
|
438
|
-
refId?: string | undefined;
|
|
439
|
-
label?: string | undefined;
|
|
440
|
-
__invalidPositional?: string | number | undefined;
|
|
441
|
-
}, unknown>;
|
|
442
|
-
export declare const TabCheckRadioParamsSchema: z.ZodObject<{
|
|
443
|
-
name: z.ZodString;
|
|
444
|
-
value: z.ZodString;
|
|
445
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
446
|
-
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
value: string;
|
|
448
|
-
name: string;
|
|
449
|
-
tabId?: number | bigint | undefined;
|
|
450
|
-
}, {
|
|
451
|
-
value: string;
|
|
452
|
-
name: string;
|
|
453
|
-
tabId?: number | bigint | undefined;
|
|
454
|
-
}>;
|
|
455
|
-
export declare const TabUnhoverParamsSchema: z.ZodObject<{
|
|
456
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
457
|
-
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
tabId?: number | bigint | undefined;
|
|
459
|
-
}, {
|
|
460
|
-
tabId?: number | bigint | undefined;
|
|
461
|
-
}>;
|
|
462
|
-
export declare const TabScrollParamsSchema: z.ZodObject<{
|
|
463
|
-
direction: z.ZodDefault<z.ZodString>;
|
|
464
|
-
amount: z.ZodDefault<z.ZodNumber>;
|
|
465
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
466
|
-
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
direction: string;
|
|
468
|
-
amount: number;
|
|
469
|
-
tabId?: number | bigint | undefined;
|
|
470
|
-
}, {
|
|
471
|
-
tabId?: number | bigint | undefined;
|
|
472
|
-
direction?: string | undefined;
|
|
473
|
-
amount?: number | undefined;
|
|
474
|
-
}>;
|
|
475
|
-
export declare const TabDblClickParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
476
|
-
refId: z.ZodOptional<z.ZodString>;
|
|
477
|
-
label: z.ZodOptional<z.ZodString>;
|
|
478
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
479
|
-
__invalidPositional: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
480
|
-
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
tabId?: number | bigint | undefined;
|
|
482
|
-
refId?: string | undefined;
|
|
483
|
-
label?: string | undefined;
|
|
484
|
-
__invalidPositional?: string | number | undefined;
|
|
485
|
-
}, {
|
|
486
|
-
tabId?: number | bigint | undefined;
|
|
487
|
-
refId?: string | undefined;
|
|
488
|
-
label?: string | undefined;
|
|
489
|
-
__invalidPositional?: string | number | undefined;
|
|
490
|
-
}>, {
|
|
491
|
-
tabId?: number | bigint | undefined;
|
|
492
|
-
refId?: string | undefined;
|
|
493
|
-
label?: string | undefined;
|
|
494
|
-
__invalidPositional?: string | number | undefined;
|
|
495
|
-
}, {
|
|
496
|
-
tabId?: number | bigint | undefined;
|
|
497
|
-
refId?: string | undefined;
|
|
498
|
-
label?: string | undefined;
|
|
499
|
-
__invalidPositional?: string | number | undefined;
|
|
500
|
-
}>, {
|
|
501
|
-
tabId?: number | bigint | undefined;
|
|
502
|
-
refId?: string | undefined;
|
|
503
|
-
label?: string | undefined;
|
|
504
|
-
__invalidPositional?: string | number | undefined;
|
|
505
|
-
}, unknown>;
|
|
506
|
-
export declare const TabEvaluateParamsSchema: z.ZodObject<{
|
|
507
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
508
|
-
script: z.ZodOptional<z.ZodString>;
|
|
509
|
-
code: z.ZodOptional<z.ZodString>;
|
|
510
|
-
js: z.ZodOptional<z.ZodString>;
|
|
511
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
512
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
513
|
-
script: z.ZodOptional<z.ZodString>;
|
|
514
|
-
code: z.ZodOptional<z.ZodString>;
|
|
515
|
-
js: z.ZodOptional<z.ZodString>;
|
|
516
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
517
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
518
|
-
script: z.ZodOptional<z.ZodString>;
|
|
519
|
-
code: z.ZodOptional<z.ZodString>;
|
|
520
|
-
js: z.ZodOptional<z.ZodString>;
|
|
521
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
522
|
-
export declare const TabBackParamsSchema: z.ZodObject<{
|
|
523
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
524
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
525
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
526
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
527
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
528
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
529
|
-
export declare const TabForwardParamsSchema: z.ZodObject<{
|
|
530
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
531
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
532
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
533
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
534
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
535
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
536
|
-
export declare const TabWaitForLoadParamsSchema: z.ZodObject<{
|
|
537
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
538
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
539
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
540
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
541
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
542
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
543
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
544
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
545
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
546
|
-
export declare const TabFetchParamsSchema: z.ZodObject<{
|
|
547
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
548
|
-
url: z.ZodOptional<z.ZodString>;
|
|
549
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
550
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
551
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
552
|
-
url: z.ZodOptional<z.ZodString>;
|
|
553
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
554
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
555
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
556
|
-
url: z.ZodOptional<z.ZodString>;
|
|
557
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
558
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
559
|
-
export declare const TabSnapshotParamsSchema: z.ZodObject<{
|
|
560
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
561
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
562
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
563
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
564
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
565
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
566
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
567
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
568
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
569
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
570
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
571
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
572
|
-
export declare const TabSnapshotTextParamsSchema: z.ZodObject<{
|
|
573
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
574
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
575
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
576
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
577
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
578
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
579
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
580
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
581
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
582
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
583
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
584
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
585
|
-
export declare const TabSnapshotDataParamsSchema: z.ZodObject<{
|
|
586
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
587
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
588
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
589
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
590
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
591
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
592
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
593
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
594
|
-
tabId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>>;
|
|
595
|
-
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
596
|
-
options: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
597
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './schemas/chrome.js';
|
|
2
|
-
export * from './schemas/clipboard.js';
|
|
3
|
-
export * from './schemas/fs.js';
|
|
4
|
-
export * from './schemas/helpers.js';
|
|
5
|
-
export * from './schemas/host.js';
|
|
6
|
-
export * from './schemas/network.js';
|
|
7
|
-
export * from './schemas/page.js';
|
|
8
|
-
export * from './schemas/returns.js';
|
|
9
|
-
export * from './schemas/sidepanel.js';
|
|
10
|
-
export * from './schemas/snapshot.js';
|
|
11
|
-
export * from './schemas/storage.js';
|
|
12
|
-
export * from './schemas/tab.js';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InlineSnapshotNode } from './collect-inline-snapshot.js';
|
|
2
|
-
|
|
3
|
-
export type SnapshotRole = "button" | "link" | "textbox" | "checkbox" | "radio" | "combobox" | "img" | "heading" | "listitem" | "list" | "table" | "row" | "cell" | "navigation" | "main" | "article" | "region" | "complementary" | "form" | "dialog" | "figure" | "caption" | "generic";
|
|
4
|
-
export type SnapshotTag = "a" | "button" | "input" | "textarea" | "select" | "img" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "ul" | "ol" | "li" | "table" | "tr" | "td" | "th" | "nav" | "main" | "article" | "section" | "aside" | "form" | "dialog" | "figure" | "figcaption" | "div" | "span" | "p" | "label" | "details" | "summary" | "svg" | "iframe";
|
|
5
|
-
export type SnapshotFilter = {
|
|
6
|
-
role?: SnapshotRole | SnapshotRole[];
|
|
7
|
-
tag?: SnapshotTag | SnapshotTag[];
|
|
8
|
-
text?: string | RegExp;
|
|
9
|
-
name?: string | RegExp;
|
|
10
|
-
interactiveOnly?: boolean;
|
|
11
|
-
href?: string | RegExp;
|
|
12
|
-
src?: string | RegExp;
|
|
13
|
-
limit?: number;
|
|
14
|
-
};
|
|
15
|
-
export declare function filterNodes(nodes: InlineSnapshotNode[], filter: SnapshotFilter): InlineSnapshotNode[];
|
package/shared/cross/types.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type TabPolicy = "active" | "required" | "optional";
|
|
2
|
-
export type RouteEndpoint = "main-thread" | "content-script" | `worker:${string}`;
|
|
3
|
-
export type Route = {
|
|
4
|
-
endpoint: RouteEndpoint;
|
|
5
|
-
tabPolicy: TabPolicy;
|
|
6
|
-
};
|
|
7
|
-
export type DispatchContext = {
|
|
8
|
-
action: string;
|
|
9
|
-
callId?: number;
|
|
10
|
-
runId?: string;
|
|
11
|
-
signal?: AbortSignal;
|
|
12
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ToolDocParam } from './manifest.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Produce a human-readable type description for a Zod schema.
|
|
6
|
-
*
|
|
7
|
-
* @param schema – the Zod schema to describe
|
|
8
|
-
* @param depth – current recursion depth (used internally)
|
|
9
|
-
* @param maxDepth – maximum depth before truncating nested objects with "...";
|
|
10
|
-
* default 2 is used for validation-error messages, 3 for docs
|
|
11
|
-
*/
|
|
12
|
-
export declare function describeSchema(schema: z.ZodTypeAny, depth?: number, maxDepth?: number): string;
|
|
13
|
-
/**
|
|
14
|
-
* Derive parameter documentation from a ZodObject schema.
|
|
15
|
-
*
|
|
16
|
-
* Transparent wrappers (ZodEffects, ZodDefault, ZodPipeline) are unwrapped
|
|
17
|
-
* before inspecting the shape. Keys starting with `__` are filtered out as
|
|
18
|
-
* internal convention. ZodDefault fields are treated as optional because the
|
|
19
|
-
* default value means agents don't need to provide them.
|
|
20
|
-
*/
|
|
21
|
-
export declare function zodToParamDocs(schema: z.ZodTypeAny): ToolDocParam[];
|
|
22
|
-
/**
|
|
23
|
-
* Derive a rich return-type string from a Zod schema.
|
|
24
|
-
*
|
|
25
|
-
* Uses describeSchema with maxDepth=3 so nested objects are expanded one level
|
|
26
|
-
* deeper than validation-error messages.
|
|
27
|
-
*/
|
|
28
|
-
export declare function zodToReturnType(schema: z.ZodTypeAny): string;
|
package/shared/cs/ref-id.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Monotonic refId allocator synced from existing DOM data-ref-id attributes. */
|
|
2
|
-
export declare function syncRefIdCounterFromDom(): void;
|
|
3
|
-
export declare function allocateRefId(el: Element): string;
|
|
4
|
-
/** @deprecated Use allocateRefId after syncRefIdCounterFromDom */
|
|
5
|
-
export declare function getNextRefId(): string;
|