refactor: unwrap ExperimentalHttpApiServer namespace + self-reexport (#22979)

This commit is contained in:
Kit Langton
2026-04-17 01:01:24 +00:00
committed by GitHub
parent 54046e0b98
commit 5022895e2b
@@ -25,7 +25,6 @@ const Headers = Schema.Struct({
"x-opencode-directory": Schema.optional(Schema.String),
})
export namespace ExperimentalHttpApiServer {
function decode(input: string) {
try {
return decodeURIComponent(input)
@@ -127,4 +126,5 @@ export namespace ExperimentalHttpApiServer {
memoMap,
}),
)
}
export * as ExperimentalHttpApiServer from "./server"