summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-05-01 07:36:52 -0400
committerGitHub <[email protected]>2026-05-01 07:36:52 -0400
commit8c79c58c4d6330016331b698717f50aa21523058 (patch)
treeaaf5804bdd6c71aaca74477bb70c94808ed181e9 /packages/plugin/src
parent97ed9ba624e72842bc9487c7d3b8e9a39d07ff75 (diff)
downloadopencode-8c79c58c4d6330016331b698717f50aa21523058.tar.gz
opencode-8c79c58c4d6330016331b698717f50aa21523058.zip
refactor: rename workspace adapters (#25272)
Diffstat (limited to 'packages/plugin/src')
-rw-r--r--packages/plugin/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts
index 71a3278cb..2e96dd980 100644
--- a/packages/plugin/src/index.ts
+++ b/packages/plugin/src/index.ts
@@ -45,7 +45,7 @@ export type WorkspaceTarget =
headers?: HeadersInit
}
-export type WorkspaceAdaptor = {
+export type WorkspaceAdapter = {
name: string
description: string
configure(config: WorkspaceInfo): WorkspaceInfo | Promise<WorkspaceInfo>
@@ -60,7 +60,7 @@ export type PluginInput = {
directory: string
worktree: string
experimental_workspace: {
- register(type: string, adaptor: WorkspaceAdaptor): void
+ register(type: string, adapter: WorkspaceAdapter): void
}
serverUrl: URL
$: BunShell