We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f46a298 + 1dc5659 commit 6f28579Copy full SHA for 6f28579
1 file changed
typescript/acp.ts
@@ -262,12 +262,12 @@ export class ClientSideConnection implements Agent {
262
input: WritableStream<Uint8Array>,
263
output: ReadableStream<Uint8Array>,
264
) {
265
+ const client = toClient(this);
266
+
267
const handler = async (
268
method: string,
269
params: unknown,
270
): Promise<unknown> => {
- const client = toClient(this);
-
271
switch (method) {
272
case schema.CLIENT_METHODS.fs_write_text_file: {
273
const validatedParams =
0 commit comments