The best way to control Claude Code, Codex and more from any computer or phone

main
ts 10 lines 352 Bytes
Raw
1 import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api"
2
3 // Top level groups are added to the root of the derived HttpApiClient.
4 //
5 // `client.health()`
6 export class SystemApi extends HttpApiGroup.make("system", { topLevel: true }).add(
7 HttpApiEndpoint.get("health", "/health", {
8 success: HttpApiSchema.NoContent
9 })
10 ) {}