mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-25 15:24:58 +00:00
15 lines
393 B
TypeScript
15 lines
393 B
TypeScript
import { ServiceMap } from "effect"
|
|
import type { Project } from "@/project/project"
|
|
|
|
export declare namespace InstanceContext {
|
|
export interface Shape {
|
|
readonly directory: string
|
|
readonly worktree: string
|
|
readonly project: Project.Info
|
|
}
|
|
}
|
|
|
|
export class InstanceContext extends ServiceMap.Service<InstanceContext, InstanceContext.Shape>()(
|
|
"opencode/InstanceContext",
|
|
) {}
|