agent-web-interface 4.2.0 → 4.3.0
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/src/index.js +19 -7
- package/dist/src/index.js.map +1 -1
- package/dist/src/server/mcp-server.d.ts.map +1 -1
- package/dist/src/server/mcp-server.js +29 -1
- package/dist/src/server/mcp-server.js.map +1 -1
- package/dist/src/snapshot/element-resolver.d.ts +35 -14
- package/dist/src/snapshot/element-resolver.d.ts.map +1 -1
- package/dist/src/snapshot/element-resolver.js +109 -60
- package/dist/src/snapshot/element-resolver.js.map +1 -1
- package/dist/src/snapshot/index.d.ts +1 -1
- package/dist/src/snapshot/index.d.ts.map +1 -1
- package/dist/src/snapshot/index.js +1 -1
- package/dist/src/snapshot/index.js.map +1 -1
- package/dist/src/snapshot/snapshot-compiler.d.ts.map +1 -1
- package/dist/src/snapshot/snapshot-compiler.js +31 -1
- package/dist/src/snapshot/snapshot-compiler.js.map +1 -1
- package/dist/src/snapshot/snapshot.types.d.ts +1 -1
- package/dist/src/snapshot/snapshot.types.d.ts.map +1 -1
- package/dist/src/snapshot/snapshot.types.js +1 -0
- package/dist/src/snapshot/snapshot.types.js.map +1 -1
- package/dist/src/state/actionables-filter.d.ts.map +1 -1
- package/dist/src/state/actionables-filter.js +1 -0
- package/dist/src/state/actionables-filter.js.map +1 -1
- package/dist/src/state/state-renderer.d.ts.map +1 -1
- package/dist/src/state/state-renderer.js +2 -0
- package/dist/src/state/state-renderer.js.map +1 -1
- package/dist/src/tools/browser-tools.d.ts +29 -8
- package/dist/src/tools/browser-tools.d.ts.map +1 -1
- package/dist/src/tools/browser-tools.js +93 -131
- package/dist/src/tools/browser-tools.js.map +1 -1
- package/dist/src/tools/canvas-tools.d.ts +32 -0
- package/dist/src/tools/canvas-tools.d.ts.map +1 -0
- package/dist/src/tools/canvas-tools.js +370 -0
- package/dist/src/tools/canvas-tools.js.map +1 -0
- package/dist/src/tools/form-tools.d.ts +2 -4
- package/dist/src/tools/form-tools.d.ts.map +1 -1
- package/dist/src/tools/form-tools.js +6 -38
- package/dist/src/tools/form-tools.js.map +1 -1
- package/dist/src/tools/index.d.ts +6 -4
- package/dist/src/tools/index.d.ts.map +1 -1
- package/dist/src/tools/index.js +13 -4
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/tool-context.d.ts +53 -0
- package/dist/src/tools/tool-context.d.ts.map +1 -0
- package/dist/src/tools/tool-context.js +119 -0
- package/dist/src/tools/tool-context.js.map +1 -0
- package/dist/src/tools/tool-result.types.d.ts +16 -1
- package/dist/src/tools/tool-result.types.d.ts.map +1 -1
- package/dist/src/tools/tool-result.types.js +11 -0
- package/dist/src/tools/tool-result.types.js.map +1 -1
- package/dist/src/tools/tool-schemas.d.ts +255 -128
- package/dist/src/tools/tool-schemas.d.ts.map +1 -1
- package/dist/src/tools/tool-schemas.js +85 -3
- package/dist/src/tools/tool-schemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -50,14 +50,14 @@ export declare const SnapshotCaptureHealthSchema: z.ZodObject<{
|
|
|
50
50
|
code: "HEALTHY" | "PENDING_DOM" | "AX_EMPTY" | "DOM_EMPTY" | "CDP_SESSION_DEAD" | "UNKNOWN";
|
|
51
51
|
ok: boolean;
|
|
52
52
|
message?: string | undefined;
|
|
53
|
-
recovered?: boolean | undefined;
|
|
54
53
|
attempts?: number | undefined;
|
|
54
|
+
recovered?: boolean | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
code: "HEALTHY" | "PENDING_DOM" | "AX_EMPTY" | "DOM_EMPTY" | "CDP_SESSION_DEAD" | "UNKNOWN";
|
|
57
57
|
ok: boolean;
|
|
58
58
|
message?: string | undefined;
|
|
59
|
-
recovered?: boolean | undefined;
|
|
60
59
|
attempts?: number | undefined;
|
|
60
|
+
recovered?: boolean | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
/**
|
|
63
63
|
* Runtime health info included in tool responses.
|
|
@@ -101,14 +101,14 @@ export declare const RuntimeHealthSchema: z.ZodObject<{
|
|
|
101
101
|
code: "HEALTHY" | "PENDING_DOM" | "AX_EMPTY" | "DOM_EMPTY" | "CDP_SESSION_DEAD" | "UNKNOWN";
|
|
102
102
|
ok: boolean;
|
|
103
103
|
message?: string | undefined;
|
|
104
|
-
recovered?: boolean | undefined;
|
|
105
104
|
attempts?: number | undefined;
|
|
105
|
+
recovered?: boolean | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
code: "HEALTHY" | "PENDING_DOM" | "AX_EMPTY" | "DOM_EMPTY" | "CDP_SESSION_DEAD" | "UNKNOWN";
|
|
108
108
|
ok: boolean;
|
|
109
109
|
message?: string | undefined;
|
|
110
|
-
recovered?: boolean | undefined;
|
|
111
110
|
attempts?: number | undefined;
|
|
111
|
+
recovered?: boolean | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
cdp: {
|
|
@@ -121,8 +121,8 @@ export declare const RuntimeHealthSchema: z.ZodObject<{
|
|
|
121
121
|
code: "HEALTHY" | "PENDING_DOM" | "AX_EMPTY" | "DOM_EMPTY" | "CDP_SESSION_DEAD" | "UNKNOWN";
|
|
122
122
|
ok: boolean;
|
|
123
123
|
message?: string | undefined;
|
|
124
|
-
recovered?: boolean | undefined;
|
|
125
124
|
attempts?: number | undefined;
|
|
125
|
+
recovered?: boolean | undefined;
|
|
126
126
|
};
|
|
127
127
|
}, {
|
|
128
128
|
cdp: {
|
|
@@ -135,8 +135,8 @@ export declare const RuntimeHealthSchema: z.ZodObject<{
|
|
|
135
135
|
code: "HEALTHY" | "PENDING_DOM" | "AX_EMPTY" | "DOM_EMPTY" | "CDP_SESSION_DEAD" | "UNKNOWN";
|
|
136
136
|
ok: boolean;
|
|
137
137
|
message?: string | undefined;
|
|
138
|
-
recovered?: boolean | undefined;
|
|
139
138
|
attempts?: number | undefined;
|
|
139
|
+
recovered?: boolean | undefined;
|
|
140
140
|
};
|
|
141
141
|
}>;
|
|
142
142
|
export type RuntimeHealth = z.infer<typeof RuntimeHealthSchema>;
|
|
@@ -300,8 +300,8 @@ export declare const NodeDetailsSchema: z.ZodObject<{
|
|
|
300
300
|
screen_zone?: string | undefined;
|
|
301
301
|
};
|
|
302
302
|
eid: string;
|
|
303
|
-
kind: string;
|
|
304
303
|
label: string;
|
|
304
|
+
kind: string;
|
|
305
305
|
where: {
|
|
306
306
|
region: string;
|
|
307
307
|
group_id?: string | undefined;
|
|
@@ -349,8 +349,8 @@ export declare const NodeDetailsSchema: z.ZodObject<{
|
|
|
349
349
|
screen_zone?: string | undefined;
|
|
350
350
|
};
|
|
351
351
|
eid: string;
|
|
352
|
-
kind: string;
|
|
353
352
|
label: string;
|
|
353
|
+
kind: string;
|
|
354
354
|
where: {
|
|
355
355
|
region: string;
|
|
356
356
|
group_id?: string | undefined;
|
|
@@ -535,9 +535,9 @@ export declare const ActionableInfoSchema: z.ZodObject<{
|
|
|
535
535
|
name: string;
|
|
536
536
|
role: string;
|
|
537
537
|
eid: string;
|
|
538
|
-
kind: string;
|
|
539
538
|
vis: boolean;
|
|
540
539
|
ena: boolean;
|
|
540
|
+
kind: string;
|
|
541
541
|
ref: {
|
|
542
542
|
snapshot_id: string;
|
|
543
543
|
backend_node_id: number;
|
|
@@ -571,9 +571,9 @@ export declare const ActionableInfoSchema: z.ZodObject<{
|
|
|
571
571
|
name: string;
|
|
572
572
|
role: string;
|
|
573
573
|
eid: string;
|
|
574
|
-
kind: string;
|
|
575
574
|
vis: boolean;
|
|
576
575
|
ena: boolean;
|
|
576
|
+
kind: string;
|
|
577
577
|
ref: {
|
|
578
578
|
snapshot_id: string;
|
|
579
579
|
backend_node_id: number;
|
|
@@ -621,15 +621,15 @@ export declare const StateHandleSchema: z.ZodObject<{
|
|
|
621
621
|
url: string;
|
|
622
622
|
title: string;
|
|
623
623
|
origin: string;
|
|
624
|
-
doc_id: string;
|
|
625
624
|
nav_type: "soft" | "hard";
|
|
625
|
+
doc_id: string;
|
|
626
626
|
history_idx: number;
|
|
627
627
|
}, {
|
|
628
628
|
url: string;
|
|
629
629
|
title: string;
|
|
630
630
|
origin: string;
|
|
631
|
-
doc_id: string;
|
|
632
631
|
nav_type: "soft" | "hard";
|
|
632
|
+
doc_id: string;
|
|
633
633
|
history_idx: number;
|
|
634
634
|
}>;
|
|
635
635
|
layer: z.ZodObject<{
|
|
@@ -653,13 +653,13 @@ export declare const StateHandleSchema: z.ZodObject<{
|
|
|
653
653
|
dom_ready: z.ZodBoolean;
|
|
654
654
|
network_busy: z.ZodBoolean;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
network_busy: boolean;
|
|
656
657
|
ts: string;
|
|
657
658
|
dom_ready: boolean;
|
|
658
|
-
network_busy: boolean;
|
|
659
659
|
}, {
|
|
660
|
+
network_busy: boolean;
|
|
660
661
|
ts: string;
|
|
661
662
|
dom_ready: boolean;
|
|
662
|
-
network_busy: boolean;
|
|
663
663
|
}>;
|
|
664
664
|
hash: z.ZodObject<{
|
|
665
665
|
ui: z.ZodString;
|
|
@@ -672,6 +672,14 @@ export declare const StateHandleSchema: z.ZodObject<{
|
|
|
672
672
|
ui: string;
|
|
673
673
|
}>;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
+
doc: {
|
|
676
|
+
url: string;
|
|
677
|
+
title: string;
|
|
678
|
+
origin: string;
|
|
679
|
+
nav_type: "soft" | "hard";
|
|
680
|
+
doc_id: string;
|
|
681
|
+
history_idx: number;
|
|
682
|
+
};
|
|
675
683
|
layer: {
|
|
676
684
|
stack: string[];
|
|
677
685
|
active: "main" | "modal" | "drawer" | "popover";
|
|
@@ -680,24 +688,24 @@ export declare const StateHandleSchema: z.ZodObject<{
|
|
|
680
688
|
};
|
|
681
689
|
sid: string;
|
|
682
690
|
step: number;
|
|
683
|
-
doc: {
|
|
684
|
-
url: string;
|
|
685
|
-
title: string;
|
|
686
|
-
origin: string;
|
|
687
|
-
doc_id: string;
|
|
688
|
-
nav_type: "soft" | "hard";
|
|
689
|
-
history_idx: number;
|
|
690
|
-
};
|
|
691
691
|
timing: {
|
|
692
|
+
network_busy: boolean;
|
|
692
693
|
ts: string;
|
|
693
694
|
dom_ready: boolean;
|
|
694
|
-
network_busy: boolean;
|
|
695
695
|
};
|
|
696
696
|
hash: {
|
|
697
697
|
layer: string;
|
|
698
698
|
ui: string;
|
|
699
699
|
};
|
|
700
700
|
}, {
|
|
701
|
+
doc: {
|
|
702
|
+
url: string;
|
|
703
|
+
title: string;
|
|
704
|
+
origin: string;
|
|
705
|
+
nav_type: "soft" | "hard";
|
|
706
|
+
doc_id: string;
|
|
707
|
+
history_idx: number;
|
|
708
|
+
};
|
|
701
709
|
layer: {
|
|
702
710
|
stack: string[];
|
|
703
711
|
active: "main" | "modal" | "drawer" | "popover";
|
|
@@ -706,18 +714,10 @@ export declare const StateHandleSchema: z.ZodObject<{
|
|
|
706
714
|
};
|
|
707
715
|
sid: string;
|
|
708
716
|
step: number;
|
|
709
|
-
doc: {
|
|
710
|
-
url: string;
|
|
711
|
-
title: string;
|
|
712
|
-
origin: string;
|
|
713
|
-
doc_id: string;
|
|
714
|
-
nav_type: "soft" | "hard";
|
|
715
|
-
history_idx: number;
|
|
716
|
-
};
|
|
717
717
|
timing: {
|
|
718
|
+
network_busy: boolean;
|
|
718
719
|
ts: string;
|
|
719
720
|
dom_ready: boolean;
|
|
720
|
-
network_busy: boolean;
|
|
721
721
|
};
|
|
722
722
|
hash: {
|
|
723
723
|
layer: string;
|
|
@@ -906,10 +906,6 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
906
906
|
from?: unknown;
|
|
907
907
|
to?: unknown;
|
|
908
908
|
}[];
|
|
909
|
-
layer?: {
|
|
910
|
-
stack_from: string[];
|
|
911
|
-
stack_to: string[];
|
|
912
|
-
} | undefined;
|
|
913
909
|
doc?: {
|
|
914
910
|
nav_type: "soft" | "hard";
|
|
915
911
|
from: {
|
|
@@ -921,6 +917,10 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
921
917
|
title: string;
|
|
922
918
|
};
|
|
923
919
|
} | undefined;
|
|
920
|
+
layer?: {
|
|
921
|
+
stack_from: string[];
|
|
922
|
+
stack_to: string[];
|
|
923
|
+
} | undefined;
|
|
924
924
|
}, {
|
|
925
925
|
actionables: {
|
|
926
926
|
added: string[];
|
|
@@ -937,10 +937,6 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
937
937
|
from?: unknown;
|
|
938
938
|
to?: unknown;
|
|
939
939
|
}[];
|
|
940
|
-
layer?: {
|
|
941
|
-
stack_from: string[];
|
|
942
|
-
stack_to: string[];
|
|
943
|
-
} | undefined;
|
|
944
940
|
doc?: {
|
|
945
941
|
nav_type: "soft" | "hard";
|
|
946
942
|
from: {
|
|
@@ -952,6 +948,10 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
952
948
|
title: string;
|
|
953
949
|
};
|
|
954
950
|
} | undefined;
|
|
951
|
+
layer?: {
|
|
952
|
+
stack_from: string[];
|
|
953
|
+
stack_to: string[];
|
|
954
|
+
} | undefined;
|
|
955
955
|
}>;
|
|
956
956
|
}, "strip", z.ZodTypeAny, {
|
|
957
957
|
diff: {
|
|
@@ -970,10 +970,6 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
970
970
|
from?: unknown;
|
|
971
971
|
to?: unknown;
|
|
972
972
|
}[];
|
|
973
|
-
layer?: {
|
|
974
|
-
stack_from: string[];
|
|
975
|
-
stack_to: string[];
|
|
976
|
-
} | undefined;
|
|
977
973
|
doc?: {
|
|
978
974
|
nav_type: "soft" | "hard";
|
|
979
975
|
from: {
|
|
@@ -985,6 +981,10 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
985
981
|
title: string;
|
|
986
982
|
};
|
|
987
983
|
} | undefined;
|
|
984
|
+
layer?: {
|
|
985
|
+
stack_from: string[];
|
|
986
|
+
stack_to: string[];
|
|
987
|
+
} | undefined;
|
|
988
988
|
};
|
|
989
989
|
mode: "diff";
|
|
990
990
|
}, {
|
|
@@ -1004,10 +1004,6 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
1004
1004
|
from?: unknown;
|
|
1005
1005
|
to?: unknown;
|
|
1006
1006
|
}[];
|
|
1007
|
-
layer?: {
|
|
1008
|
-
stack_from: string[];
|
|
1009
|
-
stack_to: string[];
|
|
1010
|
-
} | undefined;
|
|
1011
1007
|
doc?: {
|
|
1012
1008
|
nav_type: "soft" | "hard";
|
|
1013
1009
|
from: {
|
|
@@ -1019,6 +1015,10 @@ export declare const DiffResponseSchema: z.ZodObject<{
|
|
|
1019
1015
|
title: string;
|
|
1020
1016
|
};
|
|
1021
1017
|
} | undefined;
|
|
1018
|
+
layer?: {
|
|
1019
|
+
stack_from: string[];
|
|
1020
|
+
stack_to: string[];
|
|
1021
|
+
} | undefined;
|
|
1022
1022
|
};
|
|
1023
1023
|
mode: "diff";
|
|
1024
1024
|
}>;
|
|
@@ -1153,15 +1153,15 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1153
1153
|
url: string;
|
|
1154
1154
|
title: string;
|
|
1155
1155
|
origin: string;
|
|
1156
|
-
doc_id: string;
|
|
1157
1156
|
nav_type: "soft" | "hard";
|
|
1157
|
+
doc_id: string;
|
|
1158
1158
|
history_idx: number;
|
|
1159
1159
|
}, {
|
|
1160
1160
|
url: string;
|
|
1161
1161
|
title: string;
|
|
1162
1162
|
origin: string;
|
|
1163
|
-
doc_id: string;
|
|
1164
1163
|
nav_type: "soft" | "hard";
|
|
1164
|
+
doc_id: string;
|
|
1165
1165
|
history_idx: number;
|
|
1166
1166
|
}>;
|
|
1167
1167
|
layer: z.ZodObject<{
|
|
@@ -1185,13 +1185,13 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1185
1185
|
dom_ready: z.ZodBoolean;
|
|
1186
1186
|
network_busy: z.ZodBoolean;
|
|
1187
1187
|
}, "strip", z.ZodTypeAny, {
|
|
1188
|
+
network_busy: boolean;
|
|
1188
1189
|
ts: string;
|
|
1189
1190
|
dom_ready: boolean;
|
|
1190
|
-
network_busy: boolean;
|
|
1191
1191
|
}, {
|
|
1192
|
+
network_busy: boolean;
|
|
1192
1193
|
ts: string;
|
|
1193
1194
|
dom_ready: boolean;
|
|
1194
|
-
network_busy: boolean;
|
|
1195
1195
|
}>;
|
|
1196
1196
|
hash: z.ZodObject<{
|
|
1197
1197
|
ui: z.ZodString;
|
|
@@ -1204,6 +1204,14 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1204
1204
|
ui: string;
|
|
1205
1205
|
}>;
|
|
1206
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1207
|
+
doc: {
|
|
1208
|
+
url: string;
|
|
1209
|
+
title: string;
|
|
1210
|
+
origin: string;
|
|
1211
|
+
nav_type: "soft" | "hard";
|
|
1212
|
+
doc_id: string;
|
|
1213
|
+
history_idx: number;
|
|
1214
|
+
};
|
|
1207
1215
|
layer: {
|
|
1208
1216
|
stack: string[];
|
|
1209
1217
|
active: "main" | "modal" | "drawer" | "popover";
|
|
@@ -1212,24 +1220,24 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1212
1220
|
};
|
|
1213
1221
|
sid: string;
|
|
1214
1222
|
step: number;
|
|
1215
|
-
doc: {
|
|
1216
|
-
url: string;
|
|
1217
|
-
title: string;
|
|
1218
|
-
origin: string;
|
|
1219
|
-
doc_id: string;
|
|
1220
|
-
nav_type: "soft" | "hard";
|
|
1221
|
-
history_idx: number;
|
|
1222
|
-
};
|
|
1223
1223
|
timing: {
|
|
1224
|
+
network_busy: boolean;
|
|
1224
1225
|
ts: string;
|
|
1225
1226
|
dom_ready: boolean;
|
|
1226
|
-
network_busy: boolean;
|
|
1227
1227
|
};
|
|
1228
1228
|
hash: {
|
|
1229
1229
|
layer: string;
|
|
1230
1230
|
ui: string;
|
|
1231
1231
|
};
|
|
1232
1232
|
}, {
|
|
1233
|
+
doc: {
|
|
1234
|
+
url: string;
|
|
1235
|
+
title: string;
|
|
1236
|
+
origin: string;
|
|
1237
|
+
nav_type: "soft" | "hard";
|
|
1238
|
+
doc_id: string;
|
|
1239
|
+
history_idx: number;
|
|
1240
|
+
};
|
|
1233
1241
|
layer: {
|
|
1234
1242
|
stack: string[];
|
|
1235
1243
|
active: "main" | "modal" | "drawer" | "popover";
|
|
@@ -1238,18 +1246,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1238
1246
|
};
|
|
1239
1247
|
sid: string;
|
|
1240
1248
|
step: number;
|
|
1241
|
-
doc: {
|
|
1242
|
-
url: string;
|
|
1243
|
-
title: string;
|
|
1244
|
-
origin: string;
|
|
1245
|
-
doc_id: string;
|
|
1246
|
-
nav_type: "soft" | "hard";
|
|
1247
|
-
history_idx: number;
|
|
1248
|
-
};
|
|
1249
1249
|
timing: {
|
|
1250
|
+
network_busy: boolean;
|
|
1250
1251
|
ts: string;
|
|
1251
1252
|
dom_ready: boolean;
|
|
1252
|
-
network_busy: boolean;
|
|
1253
1253
|
};
|
|
1254
1254
|
hash: {
|
|
1255
1255
|
layer: string;
|
|
@@ -1391,10 +1391,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1391
1391
|
from?: unknown;
|
|
1392
1392
|
to?: unknown;
|
|
1393
1393
|
}[];
|
|
1394
|
-
layer?: {
|
|
1395
|
-
stack_from: string[];
|
|
1396
|
-
stack_to: string[];
|
|
1397
|
-
} | undefined;
|
|
1398
1394
|
doc?: {
|
|
1399
1395
|
nav_type: "soft" | "hard";
|
|
1400
1396
|
from: {
|
|
@@ -1406,6 +1402,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1406
1402
|
title: string;
|
|
1407
1403
|
};
|
|
1408
1404
|
} | undefined;
|
|
1405
|
+
layer?: {
|
|
1406
|
+
stack_from: string[];
|
|
1407
|
+
stack_to: string[];
|
|
1408
|
+
} | undefined;
|
|
1409
1409
|
}, {
|
|
1410
1410
|
actionables: {
|
|
1411
1411
|
added: string[];
|
|
@@ -1422,10 +1422,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1422
1422
|
from?: unknown;
|
|
1423
1423
|
to?: unknown;
|
|
1424
1424
|
}[];
|
|
1425
|
-
layer?: {
|
|
1426
|
-
stack_from: string[];
|
|
1427
|
-
stack_to: string[];
|
|
1428
|
-
} | undefined;
|
|
1429
1425
|
doc?: {
|
|
1430
1426
|
nav_type: "soft" | "hard";
|
|
1431
1427
|
from: {
|
|
@@ -1437,6 +1433,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1437
1433
|
title: string;
|
|
1438
1434
|
};
|
|
1439
1435
|
} | undefined;
|
|
1436
|
+
layer?: {
|
|
1437
|
+
stack_from: string[];
|
|
1438
|
+
stack_to: string[];
|
|
1439
|
+
} | undefined;
|
|
1440
1440
|
}>;
|
|
1441
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1442
|
diff: {
|
|
@@ -1455,10 +1455,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1455
1455
|
from?: unknown;
|
|
1456
1456
|
to?: unknown;
|
|
1457
1457
|
}[];
|
|
1458
|
-
layer?: {
|
|
1459
|
-
stack_from: string[];
|
|
1460
|
-
stack_to: string[];
|
|
1461
|
-
} | undefined;
|
|
1462
1458
|
doc?: {
|
|
1463
1459
|
nav_type: "soft" | "hard";
|
|
1464
1460
|
from: {
|
|
@@ -1470,6 +1466,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1470
1466
|
title: string;
|
|
1471
1467
|
};
|
|
1472
1468
|
} | undefined;
|
|
1469
|
+
layer?: {
|
|
1470
|
+
stack_from: string[];
|
|
1471
|
+
stack_to: string[];
|
|
1472
|
+
} | undefined;
|
|
1473
1473
|
};
|
|
1474
1474
|
mode: "diff";
|
|
1475
1475
|
}, {
|
|
@@ -1489,10 +1489,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1489
1489
|
from?: unknown;
|
|
1490
1490
|
to?: unknown;
|
|
1491
1491
|
}[];
|
|
1492
|
-
layer?: {
|
|
1493
|
-
stack_from: string[];
|
|
1494
|
-
stack_to: string[];
|
|
1495
|
-
} | undefined;
|
|
1496
1492
|
doc?: {
|
|
1497
1493
|
nav_type: "soft" | "hard";
|
|
1498
1494
|
from: {
|
|
@@ -1504,6 +1500,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1504
1500
|
title: string;
|
|
1505
1501
|
};
|
|
1506
1502
|
} | undefined;
|
|
1503
|
+
layer?: {
|
|
1504
|
+
stack_from: string[];
|
|
1505
|
+
stack_to: string[];
|
|
1506
|
+
} | undefined;
|
|
1507
1507
|
};
|
|
1508
1508
|
mode: "diff";
|
|
1509
1509
|
}>]>;
|
|
@@ -1590,9 +1590,9 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1590
1590
|
name: string;
|
|
1591
1591
|
role: string;
|
|
1592
1592
|
eid: string;
|
|
1593
|
-
kind: string;
|
|
1594
1593
|
vis: boolean;
|
|
1595
1594
|
ena: boolean;
|
|
1595
|
+
kind: string;
|
|
1596
1596
|
ref: {
|
|
1597
1597
|
snapshot_id: string;
|
|
1598
1598
|
backend_node_id: number;
|
|
@@ -1626,9 +1626,9 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1626
1626
|
name: string;
|
|
1627
1627
|
role: string;
|
|
1628
1628
|
eid: string;
|
|
1629
|
-
kind: string;
|
|
1630
1629
|
vis: boolean;
|
|
1631
1630
|
ena: boolean;
|
|
1631
|
+
kind: string;
|
|
1632
1632
|
ref: {
|
|
1633
1633
|
snapshot_id: string;
|
|
1634
1634
|
backend_node_id: number;
|
|
@@ -1811,10 +1811,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1811
1811
|
from?: unknown;
|
|
1812
1812
|
to?: unknown;
|
|
1813
1813
|
}[];
|
|
1814
|
-
layer?: {
|
|
1815
|
-
stack_from: string[];
|
|
1816
|
-
stack_to: string[];
|
|
1817
|
-
} | undefined;
|
|
1818
1814
|
doc?: {
|
|
1819
1815
|
nav_type: "soft" | "hard";
|
|
1820
1816
|
from: {
|
|
@@ -1826,10 +1822,22 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1826
1822
|
title: string;
|
|
1827
1823
|
};
|
|
1828
1824
|
} | undefined;
|
|
1825
|
+
layer?: {
|
|
1826
|
+
stack_from: string[];
|
|
1827
|
+
stack_to: string[];
|
|
1828
|
+
} | undefined;
|
|
1829
1829
|
};
|
|
1830
1830
|
mode: "diff";
|
|
1831
1831
|
};
|
|
1832
1832
|
state: {
|
|
1833
|
+
doc: {
|
|
1834
|
+
url: string;
|
|
1835
|
+
title: string;
|
|
1836
|
+
origin: string;
|
|
1837
|
+
nav_type: "soft" | "hard";
|
|
1838
|
+
doc_id: string;
|
|
1839
|
+
history_idx: number;
|
|
1840
|
+
};
|
|
1833
1841
|
layer: {
|
|
1834
1842
|
stack: string[];
|
|
1835
1843
|
active: "main" | "modal" | "drawer" | "popover";
|
|
@@ -1838,18 +1846,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1838
1846
|
};
|
|
1839
1847
|
sid: string;
|
|
1840
1848
|
step: number;
|
|
1841
|
-
doc: {
|
|
1842
|
-
url: string;
|
|
1843
|
-
title: string;
|
|
1844
|
-
origin: string;
|
|
1845
|
-
doc_id: string;
|
|
1846
|
-
nav_type: "soft" | "hard";
|
|
1847
|
-
history_idx: number;
|
|
1848
|
-
};
|
|
1849
1849
|
timing: {
|
|
1850
|
+
network_busy: boolean;
|
|
1850
1851
|
ts: string;
|
|
1851
1852
|
dom_ready: boolean;
|
|
1852
|
-
network_busy: boolean;
|
|
1853
1853
|
};
|
|
1854
1854
|
hash: {
|
|
1855
1855
|
layer: string;
|
|
@@ -1860,9 +1860,9 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1860
1860
|
name: string;
|
|
1861
1861
|
role: string;
|
|
1862
1862
|
eid: string;
|
|
1863
|
-
kind: string;
|
|
1864
1863
|
vis: boolean;
|
|
1865
1864
|
ena: boolean;
|
|
1865
|
+
kind: string;
|
|
1866
1866
|
ref: {
|
|
1867
1867
|
snapshot_id: string;
|
|
1868
1868
|
backend_node_id: number;
|
|
@@ -1918,6 +1918,7 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1918
1918
|
focused_field?: string | undefined;
|
|
1919
1919
|
} | undefined;
|
|
1920
1920
|
};
|
|
1921
|
+
tokens: number;
|
|
1921
1922
|
counts: {
|
|
1922
1923
|
shown: number;
|
|
1923
1924
|
total_in_layer: number;
|
|
@@ -1926,7 +1927,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1926
1927
|
max_actionables: number;
|
|
1927
1928
|
actionables_capped: boolean;
|
|
1928
1929
|
};
|
|
1929
|
-
tokens: number;
|
|
1930
1930
|
}, {
|
|
1931
1931
|
diff: {
|
|
1932
1932
|
reason: "error" | "navigation" | "first";
|
|
@@ -1949,10 +1949,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1949
1949
|
from?: unknown;
|
|
1950
1950
|
to?: unknown;
|
|
1951
1951
|
}[];
|
|
1952
|
-
layer?: {
|
|
1953
|
-
stack_from: string[];
|
|
1954
|
-
stack_to: string[];
|
|
1955
|
-
} | undefined;
|
|
1956
1952
|
doc?: {
|
|
1957
1953
|
nav_type: "soft" | "hard";
|
|
1958
1954
|
from: {
|
|
@@ -1964,10 +1960,22 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1964
1960
|
title: string;
|
|
1965
1961
|
};
|
|
1966
1962
|
} | undefined;
|
|
1963
|
+
layer?: {
|
|
1964
|
+
stack_from: string[];
|
|
1965
|
+
stack_to: string[];
|
|
1966
|
+
} | undefined;
|
|
1967
1967
|
};
|
|
1968
1968
|
mode: "diff";
|
|
1969
1969
|
};
|
|
1970
1970
|
state: {
|
|
1971
|
+
doc: {
|
|
1972
|
+
url: string;
|
|
1973
|
+
title: string;
|
|
1974
|
+
origin: string;
|
|
1975
|
+
nav_type: "soft" | "hard";
|
|
1976
|
+
doc_id: string;
|
|
1977
|
+
history_idx: number;
|
|
1978
|
+
};
|
|
1971
1979
|
layer: {
|
|
1972
1980
|
stack: string[];
|
|
1973
1981
|
active: "main" | "modal" | "drawer" | "popover";
|
|
@@ -1976,18 +1984,10 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1976
1984
|
};
|
|
1977
1985
|
sid: string;
|
|
1978
1986
|
step: number;
|
|
1979
|
-
doc: {
|
|
1980
|
-
url: string;
|
|
1981
|
-
title: string;
|
|
1982
|
-
origin: string;
|
|
1983
|
-
doc_id: string;
|
|
1984
|
-
nav_type: "soft" | "hard";
|
|
1985
|
-
history_idx: number;
|
|
1986
|
-
};
|
|
1987
1987
|
timing: {
|
|
1988
|
+
network_busy: boolean;
|
|
1988
1989
|
ts: string;
|
|
1989
1990
|
dom_ready: boolean;
|
|
1990
|
-
network_busy: boolean;
|
|
1991
1991
|
};
|
|
1992
1992
|
hash: {
|
|
1993
1993
|
layer: string;
|
|
@@ -1998,9 +1998,9 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
1998
1998
|
name: string;
|
|
1999
1999
|
role: string;
|
|
2000
2000
|
eid: string;
|
|
2001
|
-
kind: string;
|
|
2002
2001
|
vis: boolean;
|
|
2003
2002
|
ena: boolean;
|
|
2003
|
+
kind: string;
|
|
2004
2004
|
ref: {
|
|
2005
2005
|
snapshot_id: string;
|
|
2006
2006
|
backend_node_id: number;
|
|
@@ -2056,6 +2056,7 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
2056
2056
|
focused_field?: string | undefined;
|
|
2057
2057
|
} | undefined;
|
|
2058
2058
|
};
|
|
2059
|
+
tokens: number;
|
|
2059
2060
|
counts: {
|
|
2060
2061
|
shown: number;
|
|
2061
2062
|
total_in_layer: number;
|
|
@@ -2064,7 +2065,6 @@ export declare const StateResponseObjectSchema: z.ZodObject<{
|
|
|
2064
2065
|
max_actionables: number;
|
|
2065
2066
|
actionables_capped: boolean;
|
|
2066
2067
|
};
|
|
2067
|
-
tokens: number;
|
|
2068
2068
|
}>;
|
|
2069
2069
|
export type StateResponseObject = z.infer<typeof StateResponseObjectSchema>;
|
|
2070
2070
|
/**
|
|
@@ -2224,7 +2224,7 @@ export declare const FindElementsInputSchema: z.ZodObject<{
|
|
|
2224
2224
|
/** Page ID. If omitted, operates on the most recently used page */
|
|
2225
2225
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2226
2226
|
/** Filter by element type. */
|
|
2227
|
-
kind: z.ZodOptional<z.ZodEnum<["button", "link", "radio", "checkbox", "textbox", "combobox", "image", "heading"]>>;
|
|
2227
|
+
kind: z.ZodOptional<z.ZodEnum<["button", "link", "radio", "checkbox", "textbox", "combobox", "image", "heading", "canvas"]>>;
|
|
2228
2228
|
/** Search text to match against element labels. */
|
|
2229
2229
|
label: z.ZodOptional<z.ZodString>;
|
|
2230
2230
|
/** Restrict search to a specific area. */
|
|
@@ -2237,15 +2237,15 @@ export declare const FindElementsInputSchema: z.ZodObject<{
|
|
|
2237
2237
|
limit: number;
|
|
2238
2238
|
page_id?: string | undefined;
|
|
2239
2239
|
region?: "header" | "nav" | "main" | "footer" | undefined;
|
|
2240
|
-
kind?: "image" | "link" | "button" | "combobox" | "checkbox" | "radio" | "heading" | "textbox" | undefined;
|
|
2241
2240
|
label?: string | undefined;
|
|
2241
|
+
kind?: "image" | "link" | "button" | "combobox" | "checkbox" | "radio" | "heading" | "canvas" | "textbox" | undefined;
|
|
2242
2242
|
include_readable?: boolean | undefined;
|
|
2243
2243
|
}, {
|
|
2244
2244
|
page_id?: string | undefined;
|
|
2245
2245
|
region?: "header" | "nav" | "main" | "footer" | undefined;
|
|
2246
|
-
kind?: "image" | "link" | "button" | "combobox" | "checkbox" | "radio" | "heading" | "textbox" | undefined;
|
|
2247
2246
|
label?: string | undefined;
|
|
2248
2247
|
limit?: number | undefined;
|
|
2248
|
+
kind?: "image" | "link" | "button" | "combobox" | "checkbox" | "radio" | "heading" | "canvas" | "textbox" | undefined;
|
|
2249
2249
|
include_readable?: boolean | undefined;
|
|
2250
2250
|
}>;
|
|
2251
2251
|
/** Returns XML result string */
|
|
@@ -2305,8 +2305,8 @@ export declare const ScrollPageInputSchema: z.ZodObject<{
|
|
|
2305
2305
|
/** Page ID. If omitted, operates on the most recently used page */
|
|
2306
2306
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2307
2307
|
}, "strip", z.ZodTypeAny, {
|
|
2308
|
-
direction: "up" | "down";
|
|
2309
2308
|
amount: number;
|
|
2309
|
+
direction: "up" | "down";
|
|
2310
2310
|
page_id?: string | undefined;
|
|
2311
2311
|
}, {
|
|
2312
2312
|
direction: "up" | "down";
|
|
@@ -2323,25 +2323,41 @@ declare const ClickInputSchemaBase: z.ZodObject<{
|
|
|
2323
2323
|
/** Page ID. If omitted, operates on the most recently used page */
|
|
2324
2324
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2325
2325
|
/** Stable element ID from find_elements or snapshot */
|
|
2326
|
-
eid: z.ZodString
|
|
2326
|
+
eid: z.ZodOptional<z.ZodString>;
|
|
2327
|
+
/** X coordinate. If eid is also provided, relative to element top-left. Otherwise absolute viewport coordinate. */
|
|
2328
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
2329
|
+
/** Y coordinate. If eid is also provided, relative to element top-left. Otherwise absolute viewport coordinate. */
|
|
2330
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
2327
2331
|
}, "strip", z.ZodTypeAny, {
|
|
2328
|
-
eid: string;
|
|
2329
2332
|
page_id?: string | undefined;
|
|
2333
|
+
x?: number | undefined;
|
|
2334
|
+
y?: number | undefined;
|
|
2335
|
+
eid?: string | undefined;
|
|
2330
2336
|
}, {
|
|
2331
|
-
eid: string;
|
|
2332
2337
|
page_id?: string | undefined;
|
|
2338
|
+
x?: number | undefined;
|
|
2339
|
+
y?: number | undefined;
|
|
2340
|
+
eid?: string | undefined;
|
|
2333
2341
|
}>;
|
|
2334
2342
|
export declare const ClickInputSchema: z.ZodObject<{
|
|
2335
2343
|
/** Page ID. If omitted, operates on the most recently used page */
|
|
2336
2344
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2337
2345
|
/** Stable element ID from find_elements or snapshot */
|
|
2338
|
-
eid: z.ZodString
|
|
2346
|
+
eid: z.ZodOptional<z.ZodString>;
|
|
2347
|
+
/** X coordinate. If eid is also provided, relative to element top-left. Otherwise absolute viewport coordinate. */
|
|
2348
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
2349
|
+
/** Y coordinate. If eid is also provided, relative to element top-left. Otherwise absolute viewport coordinate. */
|
|
2350
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
2339
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2340
|
-
eid: string;
|
|
2341
2352
|
page_id?: string | undefined;
|
|
2353
|
+
x?: number | undefined;
|
|
2354
|
+
y?: number | undefined;
|
|
2355
|
+
eid?: string | undefined;
|
|
2342
2356
|
}, {
|
|
2343
|
-
eid: string;
|
|
2344
2357
|
page_id?: string | undefined;
|
|
2358
|
+
x?: number | undefined;
|
|
2359
|
+
y?: number | undefined;
|
|
2360
|
+
eid?: string | undefined;
|
|
2345
2361
|
}>;
|
|
2346
2362
|
export { ClickInputSchemaBase };
|
|
2347
2363
|
/** Returns XML state response string directly */
|
|
@@ -2562,4 +2578,115 @@ export declare const TakeScreenshotOutputSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
2562
2578
|
sizeBytes: number;
|
|
2563
2579
|
}>]>;
|
|
2564
2580
|
export type TakeScreenshotOutput = z.infer<typeof TakeScreenshotOutputSchema>;
|
|
2581
|
+
declare const DragInputSchemaBase: z.ZodObject<{
|
|
2582
|
+
/** Source X coordinate */
|
|
2583
|
+
source_x: z.ZodNumber;
|
|
2584
|
+
/** Source Y coordinate */
|
|
2585
|
+
source_y: z.ZodNumber;
|
|
2586
|
+
/** Target X coordinate */
|
|
2587
|
+
target_x: z.ZodNumber;
|
|
2588
|
+
/** Target Y coordinate */
|
|
2589
|
+
target_y: z.ZodNumber;
|
|
2590
|
+
/** Optional element ID. When provided, all coordinates are relative to element top-left. */
|
|
2591
|
+
eid: z.ZodOptional<z.ZodString>;
|
|
2592
|
+
/** Page ID. If omitted, operates on the most recently used page */
|
|
2593
|
+
page_id: z.ZodOptional<z.ZodString>;
|
|
2594
|
+
}, "strip", z.ZodTypeAny, {
|
|
2595
|
+
source_x: number;
|
|
2596
|
+
source_y: number;
|
|
2597
|
+
target_x: number;
|
|
2598
|
+
target_y: number;
|
|
2599
|
+
page_id?: string | undefined;
|
|
2600
|
+
eid?: string | undefined;
|
|
2601
|
+
}, {
|
|
2602
|
+
source_x: number;
|
|
2603
|
+
source_y: number;
|
|
2604
|
+
target_x: number;
|
|
2605
|
+
target_y: number;
|
|
2606
|
+
page_id?: string | undefined;
|
|
2607
|
+
eid?: string | undefined;
|
|
2608
|
+
}>;
|
|
2609
|
+
export declare const DragInputSchema: z.ZodObject<{
|
|
2610
|
+
/** Source X coordinate */
|
|
2611
|
+
source_x: z.ZodNumber;
|
|
2612
|
+
/** Source Y coordinate */
|
|
2613
|
+
source_y: z.ZodNumber;
|
|
2614
|
+
/** Target X coordinate */
|
|
2615
|
+
target_x: z.ZodNumber;
|
|
2616
|
+
/** Target Y coordinate */
|
|
2617
|
+
target_y: z.ZodNumber;
|
|
2618
|
+
/** Optional element ID. When provided, all coordinates are relative to element top-left. */
|
|
2619
|
+
eid: z.ZodOptional<z.ZodString>;
|
|
2620
|
+
/** Page ID. If omitted, operates on the most recently used page */
|
|
2621
|
+
page_id: z.ZodOptional<z.ZodString>;
|
|
2622
|
+
}, "strip", z.ZodTypeAny, {
|
|
2623
|
+
source_x: number;
|
|
2624
|
+
source_y: number;
|
|
2625
|
+
target_x: number;
|
|
2626
|
+
target_y: number;
|
|
2627
|
+
page_id?: string | undefined;
|
|
2628
|
+
eid?: string | undefined;
|
|
2629
|
+
}, {
|
|
2630
|
+
source_x: number;
|
|
2631
|
+
source_y: number;
|
|
2632
|
+
target_x: number;
|
|
2633
|
+
target_y: number;
|
|
2634
|
+
page_id?: string | undefined;
|
|
2635
|
+
eid?: string | undefined;
|
|
2636
|
+
}>;
|
|
2637
|
+
export { DragInputSchemaBase };
|
|
2638
|
+
/** Returns XML state response string directly */
|
|
2639
|
+
export declare const DragOutputSchema: z.ZodString;
|
|
2640
|
+
export type DragInput = z.infer<typeof DragInputSchema>;
|
|
2641
|
+
export type DragOutput = z.infer<typeof DragOutputSchema>;
|
|
2642
|
+
declare const InspectCanvasInputSchemaBase: z.ZodObject<{
|
|
2643
|
+
/** Stable element ID of the canvas element */
|
|
2644
|
+
eid: z.ZodString;
|
|
2645
|
+
/** Grid line spacing in pixels (default: 50) */
|
|
2646
|
+
grid_spacing: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
2647
|
+
/** Image format (default: png) */
|
|
2648
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["png", "jpeg"]>>>;
|
|
2649
|
+
/** JPEG quality 0-100 (ignored for PNG) */
|
|
2650
|
+
quality: z.ZodOptional<z.ZodNumber>;
|
|
2651
|
+
/** Page ID. If omitted, operates on the most recently used page */
|
|
2652
|
+
page_id: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
}, "strip", z.ZodTypeAny, {
|
|
2654
|
+
eid: string;
|
|
2655
|
+
format: "jpeg" | "png";
|
|
2656
|
+
page_id?: string | undefined;
|
|
2657
|
+
quality?: number | undefined;
|
|
2658
|
+
grid_spacing?: number | undefined;
|
|
2659
|
+
}, {
|
|
2660
|
+
eid: string;
|
|
2661
|
+
page_id?: string | undefined;
|
|
2662
|
+
format?: "jpeg" | "png" | undefined;
|
|
2663
|
+
quality?: number | undefined;
|
|
2664
|
+
grid_spacing?: number | undefined;
|
|
2665
|
+
}>;
|
|
2666
|
+
export declare const InspectCanvasInputSchema: z.ZodObject<{
|
|
2667
|
+
/** Stable element ID of the canvas element */
|
|
2668
|
+
eid: z.ZodString;
|
|
2669
|
+
/** Grid line spacing in pixels (default: 50) */
|
|
2670
|
+
grid_spacing: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
2671
|
+
/** Image format (default: png) */
|
|
2672
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["png", "jpeg"]>>>;
|
|
2673
|
+
/** JPEG quality 0-100 (ignored for PNG) */
|
|
2674
|
+
quality: z.ZodOptional<z.ZodNumber>;
|
|
2675
|
+
/** Page ID. If omitted, operates on the most recently used page */
|
|
2676
|
+
page_id: z.ZodOptional<z.ZodString>;
|
|
2677
|
+
}, "strip", z.ZodTypeAny, {
|
|
2678
|
+
eid: string;
|
|
2679
|
+
format: "jpeg" | "png";
|
|
2680
|
+
page_id?: string | undefined;
|
|
2681
|
+
quality?: number | undefined;
|
|
2682
|
+
grid_spacing?: number | undefined;
|
|
2683
|
+
}, {
|
|
2684
|
+
eid: string;
|
|
2685
|
+
page_id?: string | undefined;
|
|
2686
|
+
format?: "jpeg" | "png" | undefined;
|
|
2687
|
+
quality?: number | undefined;
|
|
2688
|
+
grid_spacing?: number | undefined;
|
|
2689
|
+
}>;
|
|
2690
|
+
export { InspectCanvasInputSchemaBase };
|
|
2691
|
+
export type InspectCanvasInput = z.infer<typeof InspectCanvasInputSchema>;
|
|
2565
2692
|
//# sourceMappingURL=tool-schemas.d.ts.map
|