mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 22:14:37 +00:00
wip
This commit is contained in:
parent
b22add292c
commit
ba499fb405
28 changed files with 2845 additions and 421 deletions
23
debugWorkspacePlugin.ts
Normal file
23
debugWorkspacePlugin.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import type { Plugin } from "@opencode-ai/plugin"
|
||||
|
||||
export const DebugWorkspacePlugin: Plugin = async ({ experimental_workspace }) => {
|
||||
experimental_workspace.register("debug", {
|
||||
name: "Debug",
|
||||
description: "Create a debugging server",
|
||||
configure(config) {
|
||||
return config
|
||||
},
|
||||
async create(_config) {},
|
||||
async remove(_config) {},
|
||||
target(_config) {
|
||||
return {
|
||||
type: "remote",
|
||||
url: "http://localhost:5096/",
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
return {}
|
||||
}
|
||||
|
||||
export default DebugWorkspacePlugin
|
||||
Loading…
Add table
Add a link
Reference in a new issue