refactor: unwrap ExperimentalHttpApiServer namespace + self-reexport (#22979)
This commit is contained in:
@@ -25,7 +25,6 @@ const Headers = Schema.Struct({
|
|||||||
"x-opencode-directory": Schema.optional(Schema.String),
|
"x-opencode-directory": Schema.optional(Schema.String),
|
||||||
})
|
})
|
||||||
|
|
||||||
export namespace ExperimentalHttpApiServer {
|
|
||||||
function decode(input: string) {
|
function decode(input: string) {
|
||||||
try {
|
try {
|
||||||
return decodeURIComponent(input)
|
return decodeURIComponent(input)
|
||||||
@@ -127,4 +126,5 @@ export namespace ExperimentalHttpApiServer {
|
|||||||
memoMap,
|
memoMap,
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
}
|
|
||||||
|
export * as ExperimentalHttpApiServer from "./server"
|
||||||
|
|||||||
Reference in New Issue
Block a user