11 lines
360 B
TypeScript
11 lines
360 B
TypeScript
import { Context } from "effect"
|
|
import type { InstanceContext } from "@/project/instance"
|
|
|
|
export const InstanceRef = Context.Reference<InstanceContext | undefined>("~opencode/InstanceRef", {
|
|
defaultValue: () => undefined,
|
|
})
|
|
|
|
export const WorkspaceRef = Context.Reference<string | undefined>("~opencode/WorkspaceRef", {
|
|
defaultValue: () => undefined,
|
|
})
|