Move instance loading into Effect service (#25277)

This commit is contained in:
Kit Langton
2026-05-01 22:18:06 -04:00
committed by GitHub
parent 51e310c9ce
commit cec9c6122a
9 changed files with 502 additions and 169 deletions

View File

@@ -0,0 +1,10 @@
import { LocalContext } from "@/util/local-context"
import type * as Project from "./project"
export interface InstanceContext {
directory: string
worktree: string
project: Project.Info
}
export const context = LocalContext.create<InstanceContext>("instance")