Files
opencode/debugWorkspacePlugin.ts
James Long ba499fb405 wip
2026-04-14 11:24:34 -04:00

24 lines
528 B
TypeScript

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