We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c78734 commit a7e1f20Copy full SHA for a7e1f20
1 file changed
src/tools/ToolDefinition.ts
@@ -168,10 +168,6 @@ export type Context = Readonly<{
168
data: Uint8Array<ArrayBufferLike>,
169
filename: string,
170
): Promise<{filename: string}>;
171
- waitForEventsAfterAction(
172
- action: () => Promise<unknown>,
173
- options?: {timeout?: number},
174
- ): Promise<void>;
175
waitForTextOnPage(
176
text: string[],
177
timeout?: number,
@@ -208,6 +204,10 @@ export type ContextPage = Readonly<{
208
204
209
205
getDialog(): Dialog | undefined;
210
206
clearDialog(): void;
207
+ waitForEventsAfterAction(
+ action: () => Promise<unknown>,
+ options?: {timeout?: number},
+ ): Promise<void>;
211
}>;
212
213
export function defineTool<Schema extends zod.ZodRawShape>(
0 commit comments