mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 06:33:01 -04:00
11 lines
331 B
TypeScript
11 lines
331 B
TypeScript
import { Project } from "@opencode-ai/core/project"
|
|
import { Effect, Layer } from "effect"
|
|
|
|
export const globalProjectLayer = Layer.succeed(
|
|
Project.Service,
|
|
Project.Service.of({
|
|
list: () => Effect.succeed([]),
|
|
resolve: (directory) => Effect.succeed({ id: Project.ID.global, directory, canonical: directory }),
|
|
}),
|
|
)
|