fix: preserve workspace adapter context

This commit is contained in:
Kit Langton 2026-05-01 17:49:57 -04:00
commit 34e332c139
13 changed files with 281 additions and 125 deletions

View file

@ -1,4 +1,5 @@
import { NodeHttpServer, NodeServices } from "@effect/platform-node"
import type { WorkspaceAdapter } from "@opencode-ai/plugin"
import { Flag } from "@opencode-ai/core/flag/flag"
import { describe, expect } from "bun:test"
import { Context, Effect, Layer, Queue } from "effect"
@ -17,7 +18,6 @@ import { mkdir } from "node:fs/promises"
import path from "node:path"
import { registerAdapter } from "../../src/control-plane/adapters"
import { WorkspaceID } from "../../src/control-plane/schema"
import type { WorkspaceAdapter } from "../../src/control-plane/types"
import { Workspace } from "../../src/control-plane/workspace"
import { WorkspaceTable } from "../../src/control-plane/workspace.sql"
import { Project } from "../../src/project/project"