refactor(core): add full http proxy and change workspace adaptor interface (#21239)

This commit is contained in:
James Long
2026-04-06 23:19:55 -04:00
committed by GitHub
parent 5b92e6e76b
commit ef54e6f5b2
5 changed files with 182 additions and 20 deletions
@@ -32,7 +32,11 @@ export const WorktreeAdaptor: Adaptor = {
const config = Config.parse(info)
await Worktree.remove({ directory: config.directory })
},
async fetch(_info, _input: RequestInfo | URL, _init?: RequestInit) {
throw new Error("fetch not implemented")
target(info) {
const config = Config.parse(info)
return {
type: "local",
directory: config.directory,
}
},
}