2026-04-11 03:52:12 +00:00
|
|
|
import { Layer, ManagedRuntime } from "effect"
|
|
|
|
|
import { memoMap } from "./run-service"
|
|
|
|
|
|
2026-04-12 01:19:12 +00:00
|
|
|
import { FileWatcher } from "@/file/watcher"
|
2026-04-11 03:52:12 +00:00
|
|
|
import { Format } from "@/format"
|
|
|
|
|
import { ShareNext } from "@/share/share-next"
|
|
|
|
|
|
2026-04-12 01:19:12 +00:00
|
|
|
export const BootstrapLayer = Layer.mergeAll(Format.defaultLayer, ShareNext.defaultLayer, FileWatcher.defaultLayer)
|
2026-04-11 03:52:12 +00:00
|
|
|
|
|
|
|
|
export const BootstrapRuntime = ManagedRuntime.make(BootstrapLayer, { memoMap })
|