Browse Source

chore: generate

opencode-agent[bot] 5 months ago
parent
commit
02b19bc3d7

+ 1 - 0
packages/opencode/specs/effect-migration.md

@@ -277,6 +277,7 @@ Some services are effectified but still use raw `Filesystem.*` or `Process.spawn
 Similarly, **28 files** still import raw `fs` or `fs/promises` directly. These should migrate to `AppFileSystem` or `Filesystem.*` as they're touched.
 Similarly, **28 files** still import raw `fs` or `fs/promises` directly. These should migrate to `AppFileSystem` or `Filesystem.*` as they're touched.
 
 
 Current raw fs users that will convert during tool migration:
 Current raw fs users that will convert during tool migration:
+
 - `tool/read.ts` — fs.createReadStream, readline
 - `tool/read.ts` — fs.createReadStream, readline
 - `tool/apply_patch.ts` — fs/promises
 - `tool/apply_patch.ts` — fs/promises
 - `tool/bash.ts` — fs/promises
 - `tool/bash.ts` — fs/promises

+ 4 - 1
packages/opencode/src/format/index.ts

@@ -178,7 +178,10 @@ export namespace Format {
     }),
     }),
   )
   )
 
 
-  export const defaultLayer = layer.pipe(Layer.provide(Config.defaultLayer), Layer.provide(CrossSpawnSpawner.defaultLayer))
+  export const defaultLayer = layer.pipe(
+    Layer.provide(Config.defaultLayer),
+    Layer.provide(CrossSpawnSpawner.defaultLayer),
+  )
 
 
   const { runPromise } = makeRuntime(Service, defaultLayer)
   const { runPromise } = makeRuntime(Service, defaultLayer)