mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-30 20:44:31 +00:00
refactor: rename workspace adapters
This commit is contained in:
parent
61dfae31e7
commit
76e2ff4522
22 changed files with 163 additions and 163 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue