From c81cd3202c2990398245004515785fa53058c837 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Sun, 14 Jun 2026 11:19:10 +0000 Subject: [PATCH] chore: generate --- packages/opencode/test/server/httpapi-v2-pty.test.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/opencode/test/server/httpapi-v2-pty.test.ts b/packages/opencode/test/server/httpapi-v2-pty.test.ts index 3146e05134..ef05dfe1ea 100644 --- a/packages/opencode/test/server/httpapi-v2-pty.test.ts +++ b/packages/opencode/test/server/httpapi-v2-pty.test.ts @@ -174,7 +174,6 @@ describe("v2 pty HttpApi", () => { expect(removed.status).toBe(204) }), ) - ;(process.platform === "win32" ? effectIt.live.skip : effectIt.live)( "applies plugin shell environment before forced PTY values", () => @@ -210,10 +209,7 @@ describe("v2 pty HttpApi", () => { directoryHeader(dir), HttpClientRequest.bodyJson({ command: "/bin/sh", - args: [ - "-c", - 'printf "%s|%s|%s|%s|%s\\n" "$CALLER" "$SHARED" "$PLUGIN" "$TERM" "$HOOK_CWD"; sleep 5', - ], + args: ["-c", 'printf "%s|%s|%s|%s|%s\\n" "$CALLER" "$SHARED" "$PLUGIN" "$TERM" "$HOOK_CWD"; sleep 5'], cwd, env: { CALLER: "caller", SHARED: "caller", TERM: "caller" }, }), @@ -231,7 +227,10 @@ describe("v2 pty HttpApi", () => { .runRaw((message) => Queue.offer(messages, typeof message === "string" ? message : new TextDecoder().decode(message)), ) - .pipe(Effect.catch(() => Effect.void), Effect.forkScoped) + .pipe( + Effect.catch(() => Effect.void), + Effect.forkScoped, + ) const write = yield* socket.writer const takeUntil = (expected: string, seen = ""): Effect.Effect =>