fix: preserve workspace adapter context

This commit is contained in:
Kit Langton
2026-05-01 17:49:57 -04:00
parent 478156456e
commit 34e332c139
13 changed files with 283 additions and 127 deletions
@@ -2,9 +2,9 @@ import { afterEach, describe, expect } from "bun:test"
import { mkdir } from "node:fs/promises"
import path from "node:path"
import { Effect } from "effect"
import type { WorkspaceAdapter } from "@opencode-ai/plugin"
import { Flag } from "@opencode-ai/core/flag/flag"
import { registerAdapter } from "../../src/control-plane/adapters"
import type { WorkspaceAdapter } from "../../src/control-plane/types"
import { Workspace } from "../../src/control-plane/workspace"
import { PermissionID } from "../../src/permission/schema"
import { ModelID, ProviderID } from "../../src/provider/schema"