mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-05 23:14:33 +00:00
refactor(browser): mark control group experimental
This commit is contained in:
parent
0926215723
commit
4f0fb9e4a5
2 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,6 @@ import { Schema } from "effect"
|
|||
import { HttpApiEndpoint, HttpApiGroup, OpenApi } from "effect/unstable/httpapi"
|
||||
import { BrowserControlProtocol } from "../browser-control.js"
|
||||
|
||||
export const BrowserGroup = HttpApiGroup.make("server.browser")
|
||||
export const BrowserGroup = HttpApiGroup.make("server.experimental.browser")
|
||||
.add(HttpApiEndpoint.get("browser.control.connect", BrowserControlProtocol.Path, { success: Schema.Boolean }))
|
||||
.annotate(OpenApi.Exclude, true)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import { Api } from "../api"
|
|||
import { BrowserControlConnection } from "../browser-control-connection"
|
||||
import { CorsConfig, isAllowedRequestOrigin } from "../cors"
|
||||
|
||||
export const BrowserHandler = HttpApiBuilder.group(Api, "server.browser", (handlers) =>
|
||||
export const BrowserHandler = HttpApiBuilder.group(Api, "server.experimental.browser", (handlers) =>
|
||||
Effect.gen(function* () {
|
||||
const sessions = yield* Session.Service
|
||||
const instances = yield* Instance.Service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue