Browse Source

acp: fix type error

Frank 4 months ago
parent
commit
4caa458232
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/cli/cmd/acp.ts

+ 1 - 1
packages/opencode/src/cli/cmd/acp.ts

@@ -29,7 +29,7 @@ export const AcpCommand = cmd({
       const input = new WritableStream<Uint8Array>({
         write(chunk) {
           return new Promise<void>((resolve, reject) => {
-            process.stdout.write(Buffer.from(chunk), (err) => {
+            process.stdout.write(chunk, (err) => {
               if (err) {
                 reject(err)
               } else {